1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-19 23:17:53 +01:00
Commit Graph

331 Commits

Author SHA1 Message Date
Felix Fietkau
6550fbe9b4 nuke some obsolete gcc versions
SVN-Revision: 14870
2009-03-14 03:21:56 +00:00
Felix Fietkau
dbd39f1a50 enable eabi support by default
SVN-Revision: 14869
2009-03-14 03:17:35 +00:00
Felix Fietkau
6c6e6f5827 switch to binutils 2.19.1 by default
SVN-Revision: 14868
2009-03-14 03:17:28 +00:00
Felix Fietkau
72faa09dff move cflags default setting to target makefiles
SVN-Revision: 14866
2009-03-14 03:17:06 +00:00
Felix Fietkau
4941100523 gcc: backport a patch from gcc trunk that fixes an internal compiler error on arm in version 4.3.3
SVN-Revision: 14865
2009-03-13 22:35:39 +00:00
Felix Fietkau
ec6b3bf2be fix stampfile variables for the toolchain build (fixes gcc compile error)
SVN-Revision: 14862
2009-03-13 12:50:23 +00:00
Ralph Hempel
bc1ff678dd fix powerpc build (works for 2.4 and 2.6)
SVN-Revision: 14707
2009-03-01 11:04:08 +00:00
Felix Fietkau
2b754c2487 upgrade the cross-gdb to 6.8 (patch from #4701)
SVN-Revision: 14697
2009-02-28 21:02:49 +00:00
Steven Barth
e805b29fdd Upstream fix for syscall() not setting errno on errors on MIPS
SVN-Revision: 14689
2009-02-28 01:29:00 +00:00
Nicolas Thill
e80fb36f39 gdb: use @GNU mirror facility, cleanup
SVN-Revision: 14650
2009-02-23 23:59:23 +00:00
Nicolas Thill
8a2030ff3d move common variables to a dedicated include file
SVN-Revision: 14648
2009-02-23 23:52:27 +00:00
Nicolas Thill
239c4aef18 kernel-headers: fix build error when run for the second time
SVN-Revision: 14641
2009-02-23 17:49:36 +00:00
Felix Fietkau
7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
2009-02-22 04:37:20 +00:00
Hauke Mehrtens
d0484c4cf6 uClibc: refresh patches for uClibc
SVN-Revision: 14588
2009-02-21 14:32:21 +00:00
Hauke Mehrtens
da99fcd35a binutils: refresh patches for binutils 2.17
SVN-Revision: 14587
2009-02-21 14:24:39 +00:00
Hauke Mehrtens
0fe95301c9 gcc: refresh patches for gcc 4.1.2
SVN-Revision: 14554
2009-02-18 18:11:04 +00:00
Felix Fietkau
152887e424 fix gcc 4.3.x segfault triggered by using -frename-registers (reproduced on arm, might be relevant for other platforms as well)
SVN-Revision: 14505
2009-02-14 00:09:27 +00:00
Nicolas Thill
33a0eb3613 cosmetic & coherency fixes
SVN-Revision: 14397
2009-02-03 21:25:48 +00:00
Nicolas Thill
22e91f881e binutils: add support for v2.19.1 (from #4492, thanks to dwrobel)
SVN-Revision: 14393
2009-02-03 16:23:01 +00:00
Florian Fainelli
565f1723f0 libssp should also be configured in binutils
SVN-Revision: 14376
2009-02-02 23:45:33 +00:00
Nicolas Thill
7d250fbc8d gcc: add a patch to allow 3.4.6 to build for x86 (closes: #4548)
SVN-Revision: 14370
2009-02-02 19:23:56 +00:00
Felix Fietkau
b377f32d3f default to binutils 2.18 on ppc* for manual selection as well
SVN-Revision: 14367
2009-02-02 18:18:47 +00:00
Felix Fietkau
8be1583b25 make binutils 2.18 default for ppc44x and ppc40x
SVN-Revision: 14358
2009-02-02 16:43:19 +00:00
Florian Fainelli
3bb609d433 allow building and installing java for gcc-4.1.2
SVN-Revision: 14348
2009-02-01 20:11:00 +00:00
Felix Fietkau
27a4c9f5ab gcc: add missing gcc 4.3.3 patches (copy of the 4.3.2 patches)
SVN-Revision: 14228
2009-01-27 21:11:51 +00:00
Felix Fietkau
af420c0c3c binutils 2.19 does not support avr32 yet
SVN-Revision: 14227
2009-01-27 20:09:22 +00:00
Felix Fietkau
158c3917e9 add gcc 4.3.3, clean up gcc version config symbols
SVN-Revision: 14226
2009-01-27 20:08:34 +00:00
Felix Fietkau
0232808d14 eglibc: replace the use of stpncpy with strncpy + manual termination (stpncpy is not available on darwin)
SVN-Revision: 14212
2009-01-26 19:49:26 +00:00
Felix Fietkau
15c76887b8 port the eglibc cross compiling fix to version 2.9
SVN-Revision: 14211
2009-01-26 19:47:27 +00:00
Felix Fietkau
8bf53faa44 fix eglibc 2.8 cross-compile under darwin / mac os x
SVN-Revision: 14209
2009-01-26 19:44:47 +00:00
Felix Fietkau
19f8937c77 install readelf to STAGING_DIR_HOST (eglibc requires it, not all systems have it)
SVN-Revision: 14196
2009-01-26 04:54:25 +00:00
Nicolas Thill
06f50d2116 fix uClibc fpu/soft-float selection
SVN-Revision: 14141
2009-01-21 22:56:26 +00:00
Nicolas Thill
edef5abd24 fix uClibc v0.9.30 build on x86_64
SVN-Revision: 14138
2009-01-21 16:56:57 +00:00
Nicolas Thill
591563a80a enable UCLIBC_SUSV3_LEGACY in uClibc v0.9.30 configs to have <sys/timeb.h> & ftime (needed for openssl and maybe others), thanks to Puchu!
SVN-Revision: 14133
2009-01-21 14:34:31 +00:00
Florian Fainelli
63426c5715 add missing config symbol in x86_64 configuration
SVN-Revision: 14132
2009-01-21 14:32:29 +00:00
Nicolas Thill
ec7b663c86 add support for gcc v4.3.1 & v4.3.2 (closes: #3479), thanks to Luigi Mantellini!
SVN-Revision: 14131
2009-01-21 11:58:17 +00:00
Nicolas Thill
a271aaa2db add support for uClibc v0.9.30 (closes: #4271), thanks to Luigi Mantellini & Puchu!
SVN-Revision: 14130
2009-01-21 11:45:32 +00:00
Nicolas Thill
ed4d79b529 more kernel headers fixes for cris
SVN-Revision: 14128
2009-01-21 01:53:05 +00:00
Nicolas Thill
8db368850c we have a minimal gcc target compiler since [13931], so use it in uClibc headers generation
SVN-Revision: 14123
2009-01-20 22:25:42 +00:00
Nicolas Thill
ce5b7766e6 move all arch fixups from Install to Prepare stage, so that fixed headers are available in $(BUILD_DIR_TOOLCHAIN)/linux-dev/
SVN-Revision: 14120
2009-01-20 17:05:14 +00:00
Felix Fietkau
dc6d881733 uClibc: compile fix for the new linuxthreads implementation on mips
SVN-Revision: 14118
2009-01-20 14:47:53 +00:00
Nicolas Thill
291e71f792 backport patch to allow building uClibc-0.9.28.2 on recent x86 kernels
SVN-Revision: 14105
2009-01-19 14:53:45 +00:00
Nicolas Thill
96756d7641 fix linux headers & source paths at uClibc config stage
SVN-Revision: 14080
2009-01-17 22:22:41 +00:00
Felix Fietkau
817ccebe70 add binutils 2.19 (patch from #4367)
SVN-Revision: 14075
2009-01-17 19:29:09 +00:00
Felix Fietkau
07a1106c91 uclibc: fix the new libpthread implementation on arm
SVN-Revision: 14074
2009-01-17 19:21:56 +00:00
Felix Fietkau
818e6e847c add uclibc eabi patches from #3988
SVN-Revision: 14073
2009-01-17 19:20:32 +00:00
Felix Fietkau
78fb5a1b98 add gcc eabi patches from #3988
SVN-Revision: 14072
2009-01-17 19:18:16 +00:00
Hamish Guthrie
b693945d4f Set default gcc for ps3 - gcc-3.4.6 and gcc-4.1.2 do not work at all
SVN-Revision: 14060
2009-01-16 17:51:19 +00:00
Gabor Juhos
65f21ce0d3 fix powerpc toolchain build failure on x86_64 hosts
SVN-Revision: 14036
2009-01-14 18:33:13 +00:00
Felix Fietkau
0faef985b7 work around problems with the libpthread onexit() handler
SVN-Revision: 14032
2009-01-14 00:52:51 +00:00
Felix Fietkau
0392f46b43 fix the new libpthread implementation - the function table init was broken
SVN-Revision: 14027
2009-01-13 20:44:29 +00:00
Felix Fietkau
cb41a3aa45 do not strip uclibc
SVN-Revision: 14019
2009-01-13 03:21:39 +00:00
Felix Fietkau
25aba0e356 use the new linuxthreads implementation on i386,i686
SVN-Revision: 14016
2009-01-13 02:15:52 +00:00
Felix Fietkau
b8aa79853d fix gdb compile
SVN-Revision: 14015
2009-01-13 02:15:43 +00:00
Felix Fietkau
ff55a79717 uclibc: add the trunc function
SVN-Revision: 14014
2009-01-13 02:15:31 +00:00
Felix Fietkau
087a2bc16c uclibc: add some libpthread fixes
SVN-Revision: 14013
2009-01-13 02:15:14 +00:00
Nicolas Thill
2c1d444866 fix missing ptrace.h needed to build final gcc
SVN-Revision: 13995
2009-01-12 19:03:39 +00:00
Nicolas Thill
bf618cf1fd add a fix preventing gcc build system from assuming that libc headers are always available
SVN-Revision: 13994
2009-01-12 19:01:25 +00:00
Nicolas Thill
c3f18bd112 use different optimizations for x86 & x86_64 on uml
SVN-Revision: 13984
2009-01-11 17:31:43 +00:00
Nicolas Thill
fe85715db9 gdb fixes: adjust --prefix & install in $(TOOLCHAIN_DIR)/usr/bin/ (like binutils & gcc)
SVN-Revision: 13983
2009-01-11 17:27:56 +00:00
Nicolas Thill
a455323221 fix wrong TARGET_SUFFIX when building a toolchain with uClibc & EABI (closes: #4437)
SVN-Revision: 13962
2009-01-10 19:50:43 +00:00
Nicolas Thill
a3edea1b91 add support for alternative C libraries (currently only glibc/eglibc) other (related) changes: - kernel headers are now installed using "make headers_install" on 2.6 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu) - build directory names now contain gcc/libc name/version - default cpu for x86 is now i486 (required to build glibc/eglibc)
SVN-Revision: 13931
2009-01-08 01:49:11 +00:00
Imre Kaloz
8c3a967fae general fixes for openwrt with kernel 2.6.28
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 13876
2009-01-05 14:46:18 +00:00
Florian Fainelli
a3ecf3d3dc Fix ssp enabling/disabling (#4388)
SVN-Revision: 13856
2009-01-04 12:56:31 +00:00
Jo-Philipp Wich
5649ff4093 enable netlink support
SVN-Revision: 13839
2009-01-03 17:28:58 +00:00
Jo-Philipp Wich
e0a77da8fb enable support for getifaddrs() - required by lldpd
SVN-Revision: 13834
2009-01-03 13:07:30 +00:00
Felix Fietkau
cf8362db3c remove the openat() patch, as it's breaking quite a few packages. the problem is in the AT_FDCWD define, which packages check for to see if fdopenat, openat, fstatat, etc. are supported, but the patch only adds openat() and not the other functions. this should probably be fixed upstream and not just in openwrt.
SVN-Revision: 13817
2009-01-02 04:16:30 +00:00
Felix Fietkau
d0c5a0d576 use binutils 2.18 for avr32, 2.17 is severely broken
SVN-Revision: 13804
2009-01-02 01:14:09 +00:00
Felix Fietkau
d55332989e fix avr32 build breakage
SVN-Revision: 13802
2009-01-02 01:10:22 +00:00
Nicolas Thill
a10dd02b34 fix gcc-4.2.4 when target != avr32
SVN-Revision: 13493
2008-12-03 00:20:00 +00:00
Imre Kaloz
7d78d5cad3 nuke old gcc 4.2 versions
SVN-Revision: 13483
2008-12-02 18:32:02 +00:00
Imre Kaloz
d7ed0b8c47 sync gcc's Config.in with Config.version
SVN-Revision: 13482
2008-12-02 18:26:10 +00:00
Imre Kaloz
da43f70063 nuke binutils 2.16.1 - old, unused, buggy
SVN-Revision: 13481
2008-12-02 18:23:25 +00:00
Imre Kaloz
95f2b6bb76 sync gcc patches with the Atmel 1.1.3 release
SVN-Revision: 13480
2008-12-02 18:10:03 +00:00
Imre Kaloz
9e54c8bf9e clean up patch
SVN-Revision: 13479
2008-12-02 18:06:29 +00:00
Imre Kaloz
b0f6f4e862 sync avr32 binutils patch with the Atmel 1.0.1 release
SVN-Revision: 13464
2008-12-02 10:35:44 +00:00
Imre Kaloz
5dceef5389 switch powerpc targets to gcc 4.2.4
SVN-Revision: 13359
2008-11-26 10:07:18 +00:00
Imre Kaloz
507b9818c0 switch to gcc 4.2.4 for avr32
SVN-Revision: 13353
2008-11-25 18:35:48 +00:00
Imre Kaloz
b154f4b4e3 add avr32 support to binutils 2.18
SVN-Revision: 13352
2008-11-25 18:34:48 +00:00
Florian Fainelli
25efcf15fe openat is not an implemented syscall on linux-2.4, so make it only available for linux-2.6
SVN-Revision: 13234
2008-11-16 17:03:16 +00:00
Hamish Guthrie
bb702980e5 Add support for openat system call - this must be extended for the rest of these system calls
SVN-Revision: 13200
2008-11-14 07:52:54 +00:00
Nicolas Thill
b3e5f06450 indent conditionnals in uClibc Makefile
SVN-Revision: 13144
2008-11-08 23:00:22 +00:00
Nicolas Thill
f1ceaae24a add md5sums for binutils & gcc and use the GNU mirror facility
SVN-Revision: 13143
2008-11-08 21:18:33 +00:00
Florian Fainelli
9dd37f3d12 Fix locations for the uClibc snapshot version (#4065)
SVN-Revision: 13067
2008-10-28 22:04:53 +00:00
Hamish Guthrie
34837ea2dd The merge of ppc (32-bit headers) and powerpc (previously 64-bit only headers) has now been completed, so it build breaks if asm-ppc headers directory does not exist - this should fix this problem without being invasive
SVN-Revision: 12933
2008-10-09 11:33:47 +00:00
Felix Fietkau
7bf353216c fix up the asm includes location for .27 when building kernel headers
SVN-Revision: 12802
2008-09-29 18:09:24 +00:00
Lars-Peter Clausen
387da72d9c Fix a segfault in uclibc ldso.
SVN-Revision: 12698
2008-09-25 13:06:43 +00:00
Lars-Peter Clausen
aa10aa313d Avoid endless recursion in uClibc pthreads.
SVN-Revision: 12652
2008-09-22 22:51:53 +00:00
Nicolas Thill
40f6992324 add patches to fixes gcc 4.2.x bugs: - fix gcc ICE when compiling package/ath9k (closes: #3816) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37014 - fix "undefined reference to `fmsub'" error on powerpc http://bugs.uclibc.org/view.php?id=1588
SVN-Revision: 12623
2008-09-18 12:24:32 +00:00
Felix Fietkau
799e7a8fa8 disable autorebuild for the toolchain, as it can easily lead to build breakages
SVN-Revision: 12492
2008-09-02 10:57:35 +00:00
Felix Fietkau
3cd35227ab make libc.so symlink relative instead of absolute (#3878)
SVN-Revision: 12333
2008-08-17 12:30:14 +00:00
Felix Fietkau
0f61e46c1a storm is ARMv4, not ARMv4T (thx, SeG)
SVN-Revision: 12046
2008-07-31 16:51:43 +00:00
Florian Fainelli
cc99e5b35d Disable smash stacking support by default, but allow to enable it as an experimental feature
SVN-Revision: 12010
2008-07-30 12:54:28 +00:00
Felix Fietkau
b559fb0c5f fix uClibc legacy version
SVN-Revision: 11993
2008-07-29 14:58:48 +00:00
Florian Fainelli
68f4ae4e94 Update uClibc config for x86_64
SVN-Revision: 11963
2008-07-27 16:56:34 +00:00
Gabor Juhos
f529a37420 surprise :p
SVN-Revision: 11894
2008-07-21 17:08:14 +00:00
Florian Fainelli
3d9c4c9073 uClibc for x86 targets and kernels >= 2.6.24 need to copy the right include files, remove this when there are no 2.6.23 left
SVN-Revision: 11893
2008-07-21 10:41:27 +00:00
Nicolas Thill
89eb716470 use qstrip macro to strip quoted CONFIG_* strings
SVN-Revision: 11832
2008-07-14 23:24:58 +00:00
Felix Fietkau
8b41afa584 add some sanity checking
SVN-Revision: 11473
2008-06-15 14:34:00 +00:00
John Crispin
f1ff3a410f finally fixes etrax toolchain problems, thanks nbd
SVN-Revision: 11383
2008-06-06 20:12:05 +00:00