Commit graph

579 commits

Author SHA1 Message Date
Felix Fietkau
b948f83ed8 gcc: disable mips non-PIC ABI calls in the codesourcery based version by default, as our binutils version does not support it
SVN-Revision: 18064
2009-10-19 04:26:28 +00:00
Felix Fietkau
0b077fa3a7 add a binutils variant based on a binutils snapshot and codesourcery g++ enhancements (compiles, but fails to link the kernel)
SVN-Revision: 18060
2009-10-19 02:09:59 +00:00
Felix Fietkau
f0f100551d add a gcc variant based on gcc 4.3.3 with codesourcery enhancements
SVN-Revision: 18059
2009-10-19 02:09:52 +00:00
Claudio Mignanti
3b048781ea cris: fix ICE PR26515 (#3723)
SVN-Revision: 18042
2009-10-12 13:38:52 +00:00
Nicolas Thill
3cf6975414 gcc: fix 4.1.2 ICE on mips (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33256)
SVN-Revision: 18029
2009-10-11 02:52:08 +00:00
Felix Fietkau
215ccb66e6 gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet, but gets close)
SVN-Revision: 18019
2009-10-10 19:25:48 +00:00
Felix Fietkau
e0645618a3 uClibc: add copysign, copysignf, copysignl for i386
SVN-Revision: 18017
2009-10-10 19:25:18 +00:00
Felix Fietkau
0e43efeae7 uClibc: fix strrchr on i386
SVN-Revision: 18016
2009-10-10 19:25:05 +00:00
Florian Fainelli
96d804c54f optimize binaries for the rm5200 cpu present on cobalt, do not use the mips32 isa
SVN-Revision: 17980
2009-10-07 13:05:14 +00:00
Claudio Mignanti
b88e08839a dump 2.6.25 support
SVN-Revision: 17816
2009-10-02 08:07:39 +00:00
Nicolas Thill
fd6e548d42 uClibc: remove absolute path linking to host libraries in libpthread.so (closes: #5601)
SVN-Revision: 17814
2009-10-02 00:18:16 +00:00
Nicolas Thill
737b4b4bcb move EABI config option out of GCC
SVN-Revision: 17753
2009-09-26 21:34:40 +00:00
Nicolas Thill
00eeac51a0 eglibc: use 'select' instead of 'depends' for configuration options, add dependencies for features avalaible in 2.8 or later
SVN-Revision: 17751
2009-09-26 21:22:51 +00:00
Nicolas Thill
f859299d85 eglibc: add support for 2.10 branch
SVN-Revision: 17748
2009-09-26 18:59:22 +00:00
Nicolas Thill
6f2afa8f29 and fix another typo, still in eglibc configuration file
SVN-Revision: 17747
2009-09-26 18:57:53 +00:00
Nicolas Thill
f288b5e102 fix typo in eglibc configuration file
SVN-Revision: 17746
2009-09-26 18:56:26 +00:00
Nicolas Thill
f3a3b1934b eglibc: update svn revisions
SVN-Revision: 17744
2009-09-26 18:28:37 +00:00
Florian Fainelli
2b59f3fc3f switch to gcc-4.4.1 and enabled octeon specific optimizations
SVN-Revision: 17743
2009-09-26 18:23:43 +00:00
Florian Fainelli
9e1759bfe6 Do not save variables in hi or lo across system calls, fixes issues with gcc-4.4 (#5351)
SVN-Revision: 17742
2009-09-26 18:08:02 +00:00
Felix Fietkau
49ec2321b7 gcc: fix a linker error in 4.3.3 and 4.3.4 that is triggered by including an object in a linking process which is already part of libbackend.a
SVN-Revision: 17718
2009-09-25 11:09:32 +00:00
Nicolas Thill
c9bc7c504c add external toolchain support, enhance native toolchain support (special thanks to Luigi Mantellini for his help... and patience ;)
SVN-Revision: 17682
2009-09-23 02:27:38 +00:00
Nicolas Thill
47ac8caa62 add comments & fix descriptions in toolchain config items
SVN-Revision: 17561
2009-09-10 14:32:36 +00:00
Nicolas Thill
de9bb2b998 prepare for upcoming external toolchain support: move config items not strictly toolchain related out of the toolchain submenu
SVN-Revision: 17560
2009-09-10 14:04:41 +00:00
Nicolas Thill
f69f5f0b38 fix wrong description for CONFIG_SSP
SVN-Revision: 17550
2009-09-09 23:42:06 +00:00
Felix Fietkau
91fe363562 uclibc: to rebuild libc.so.0, mklibs.py needs access to libc_so.a which was not exported by default. use it instead of libc_pic.a
SVN-Revision: 17438
2009-08-29 11:56:27 +00:00
Florian Fainelli
ffa2d292fe more cygwin build fixes
SVN-Revision: 17401
2009-08-26 07:25:24 +00:00
Felix Fietkau
aee9d6c31c add a heavily cleaned up version of ubicom32 toolchain support
SVN-Revision: 17346
2009-08-21 22:31:47 +00:00
Geoff Levand
d719b51871 pxcab: Replace TARGET_pxcab with feature powerpc64
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 17307
2009-08-18 23:09:50 +00:00
Geoff Levand
7581681466 powerpc: Create a powerpc64 config feature
The config symbol TARGET_ps3 is used in the build files where
special handling for the 64 bit PowerPC processors is needed.
Introduce a new config feature powerpc64, and replace the use
of TARGET_ps3 with powerpc64.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 17306
2009-08-18 23:07:45 +00:00
Imre Kaloz
5a8a22bdc2 add gcc 4.3.4
SVN-Revision: 17165
2009-08-07 12:00:25 +00:00
Florian Fainelli
46c7a003ca add support for gcc-4.4.1 (#5580)
SVN-Revision: 17161
2009-08-07 09:32:52 +00:00
Florian Fainelli
724307fca1 disable warnings as error in the gdb configuration (#5602)
SVN-Revision: 17064
2009-07-31 14:24:38 +00:00
Imre Kaloz
a5a0ef7ab7 use binutils 2.19.1 on ppc44x, too
SVN-Revision: 17035
2009-07-28 08:41:19 +00:00
Florian Fainelli
3eedb2a791 add the insight gdb frontend (#4701)
SVN-Revision: 17019
2009-07-26 17:55:50 +00:00
Gabor Juhos
c8f178d61a binutils: use 2.19.1 for ppc40x by default
SVN-Revision: 16916
2009-07-19 11:33:47 +00:00
Florian Fainelli
2ec0cba393 This patch adds a target for the IBM PowerXCell Accelerator Board. (aka mvXCell-8i from MatrixVision or GigaAccel 180 from Fixstars)
http://us.fixstars.com/products/gigaaccel/

This build will create zImage suitable for TFTP boot image.

* v2
- add axonram device driver
- switch to 2.6.30.1

Signed-off-by: Akinobu Mita <mita@fixstars.com>

SVN-Revision: 16860
2009-07-16 10:19:13 +00:00
Gabor Juhos
8324887aa1 binutils: fix build failure on powerpc target
SVN-Revision: 16848
2009-07-14 19:43:15 +00:00
Felix Fietkau
7dc435ea29 move the toolchain_install stampfile to the right place to fix spurious missing toolchain errors after cleaning stuff
SVN-Revision: 16776
2009-07-11 12:48:59 +00:00
Gabor Juhos
c8d103a660 uClibc: fix build error on ARM targets (closes #5473)
SVN-Revision: 16735
2009-07-07 15:09:10 +00:00
Nicolas Thill
4702698c68 add a config option to select the binary stripping method to use (between none, strip & sstrip)
SVN-Revision: 16728
2009-07-07 02:34:58 +00:00
Florian Fainelli
1e9cba3b82 add more gcc-4.4 patches from uclibc's mailing-list
SVN-Revision: 16720
2009-07-06 19:52:55 +00:00
Claudio Mignanti
f3822efd8e install headers, fix foxboard-utils
SVN-Revision: 16661
2009-07-03 12:49:50 +00:00
Florian Fainelli
18de35e660 enable software floating point emulation by default for mips and mipsel targets
SVN-Revision: 16604
2009-06-28 15:49:46 +00:00
Imre Kaloz
17276a575d add missing patch from the uclibc buildroot
SVN-Revision: 16541
2009-06-23 13:08:21 +00:00
Imre Kaloz
2004d4165a add preliminary coldfire v4e support
SVN-Revision: 16538
2009-06-21 18:34:07 +00:00
Lars-Peter Clausen
9fb98fc03c disable tls for stdlibc++. fixes c++ inside a gcc-4.4.0 toolchain.
SVN-Revision: 16345
2009-06-05 11:33:12 +00:00
Gabor Juhos
da4435f2e1 uClibc-0.9.30.1: fix possible NULL pointer dereference (closes #5242)
SVN-Revision: 16304
2009-06-03 09:45:00 +00:00
Imre Kaloz
7f9fd5033c now that the gemini target is working, get rid of the obsolete and buggy storm target
SVN-Revision: 16274
2009-06-01 18:15:30 +00:00
Felix Fietkau
2f94a08df9 uClibc: bsd supports the same floating point classification functions as c99, fixes inetd
SVN-Revision: 16172
2009-05-29 10:32:17 +00:00
Felix Fietkau
1c57770f28 uClibc: add a wrapper for the missing finite() function
SVN-Revision: 16170
2009-05-29 09:25:51 +00:00
Hamish Guthrie
0c592ec7b3 Add the missing 5th arg to the ppoll syscall. Fixes the uclibc error that ppoll returns -EINVAL. Thanks to Geoff Levand <geoffrey.levand@am.sony.com>
SVN-Revision: 16166
2009-05-29 07:40:29 +00:00
Felix Fietkau
23260054dc uClibc 0.9.30.1: fix extra/scripts/unifdef.c like in linux 2.6.28 - nptl does not need this fix, because the problem was fixed upstream already
SVN-Revision: 16140
2009-05-28 15:49:29 +00:00
Jo-Philipp Wich
00a0035fa8 enable UCLIBC_SUPPORT_AI_ADDRCONFIG in common uclibc 0.9.30.1 config, this will restore support for getifaddrs() and fix compilation of lldpd and possibly others
SVN-Revision: 16108
2009-05-27 13:28:33 +00:00
Florian Fainelli
f797b4293a add support for glibc-2.4 (#5213)
SVN-Revision: 16089
2009-05-26 14:58:32 +00:00
Imre Kaloz
cd649df858 make uclibc 0.9.30.1 the default
SVN-Revision: 16047
2009-05-25 11:17:01 +00:00
Felix Fietkau
cc7805ea27 upgrade uclibc-nptl to a recent version - seems to work on xscale with gcc 4.3.3
SVN-Revision: 16004
2009-05-22 23:59:23 +00:00
Imre Kaloz
267af10b33 disable EABI for gemini and storm -- our toolchain can't support EABI on plain armv4, yet
SVN-Revision: 15914
2009-05-18 13:36:58 +00:00
Imre Kaloz
f24a7c7a68 add preliminary support for the successor of the storm port
SVN-Revision: 15772
2009-05-11 18:27:33 +00:00
Claudio Mignanti
a866aa0226 Gcc 4.3.3 default for etrax
SVN-Revision: 15742
2009-05-09 11:38:41 +00:00
Jo-Philipp Wich
bc3538d2d2 Fix Image Builder building - added missing /bin dir to toolchain Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15681
2009-05-07 13:48:23 +00:00
Felix Fietkau
b3bb79cb72 uclibc 0.9.30.1: add c99 long double math fix from gentoo (thx, ralph) fixes compile error on powerpc
SVN-Revision: 15670
2009-05-07 13:20:47 +00:00
Felix Fietkau
3bea3bc8b1 uClibc 0.9.30*: add a separate config file for brcm-2.4, since linux 2.4 module loading support is optional in this version
SVN-Revision: 15644
2009-05-06 22:12:02 +00:00
Felix Fietkau
90826d83c9 remove binutils 2.17 and 2.19
SVN-Revision: 15619
2009-05-05 11:01:35 +00:00
Felix Fietkau
141925202e fix the uclibc rebuild issue which leads to unresolved symbols in libnl (and possibly other libraries)
SVN-Revision: 15599
2009-05-04 18:41:08 +00:00
Felix Fietkau
010c9c48e0 remove obsolete gcc version md5sums
SVN-Revision: 15598
2009-05-04 18:40:22 +00:00
Felix Fietkau
c633a16d80 uclibc 0.9.30: fix isnan declaration
SVN-Revision: 15589
2009-05-04 15:15:22 +00:00
Felix Fietkau
db8f5e9c5e uclibc 0.9.29: fix isinf, finite prototypes
SVN-Revision: 15588
2009-05-04 15:15:17 +00:00
Gabor Juhos
496aad1058 fix a small bug in binutils 2.19.1 * http://sourceware.org/bugzilla/show_bug.cgi?id=7093
SVN-Revision: 15538
2009-05-01 14:51:02 +00:00
Florian Fainelli
3e0e015a0d define libc_cv_slibdir, fixes mips64 compilation (#5011)
SVN-Revision: 15526
2009-04-30 20:21:57 +00:00
Hamish Guthrie
c146cbd79c Changed default gcc for ps3
SVN-Revision: 15504
2009-04-30 09:36:19 +00:00
Florian Fainelli
9f627dbf6e building uml on x86_64 w/ uClibc 0.9.29 is currently broken, select 0.9.30.1 which is working
SVN-Revision: 15450
2009-04-27 15:52:01 +00:00
Mirko Vogt
dcfa07d142 patch breaks wchar_t-support in libstdc++ since a needless autoconf was disabled (r15345)
SVN-Revision: 15445
2009-04-27 15:38:51 +00:00
Nicolas Thill
128b623ec8 gcc: fix 4.2.4 ICE on avr32 (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34762)
SVN-Revision: 15434
2009-04-27 11:20:36 +00:00
Nicolas Thill
8a38ccc1d1 gcc: symlink ./lib64 to ./lib for x86_64 as well
SVN-Revision: 15432
2009-04-27 10:14:30 +00:00
Felix Fietkau
8ce7b559d0 gcc: fix a segfault in the mbsd_multi patch for 4.4.0
SVN-Revision: 15394
2009-04-24 15:34:36 +00:00
Felix Fietkau
dcd9f20085 port the mbsd_multi patch to gcc 4.4.0, refresh the other patches
SVN-Revision: 15369
2009-04-24 02:23:11 +00:00
Nicolas Thill
222f37cbde uClibc cleanup: - use full version string (0.9.30.1), instead of base (0.9.30) + extra (.1) - remove support for 0.9.28 and snapshots (building from SVN to be added later)
SVN-Revision: 15368
2009-04-24 02:07:24 +00:00
Nicolas Thill
2783110a97 uClibc NPTL: remove the pthread daemon() fix and revert r15343
SVN-Revision: 15367
2009-04-24 01:28:48 +00:00
Florian Fainelli
e15ca56024 add preliminary support for gcc-4.4.0, need to forward port the fhonour-copt patch
SVN-Revision: 15345
2009-04-23 09:44:57 +00:00
Felix Fietkau
632f50b891 uclibc: add the pthread daemon() fix from #4809
SVN-Revision: 15344
2009-04-23 02:53:03 +00:00
Felix Fietkau
0d00b1cb59 uclibc: remove the sockets_throw patch from 0.9.30, as it does not apply to 0.9.30.1
SVN-Revision: 15343
2009-04-23 02:52:50 +00:00
Felix Fietkau
56164a5815 add a modified version of the mips64 patch from #4603
SVN-Revision: 15249
2009-04-18 17:03:55 +00:00
Hamish Guthrie
4f84a92c5d update compiler version defaults
SVN-Revision: 15230
2009-04-16 12:40:32 +00:00
Felix Fietkau
229035bad0 mark uclibc nptl and snapshot as broken
SVN-Revision: 15179
2009-04-09 20:01:28 +00:00
Claudio Mignanti
f692239c58 Fix kernel headers for cris (thanks hinkocevar)
SVN-Revision: 15153
2009-04-08 14:13:50 +00:00
Felix Fietkau
d0e357e729 fix uclibc subdir
SVN-Revision: 15010
2009-03-24 02:40:29 +00:00
Felix Fietkau
02739c116f append the correct extraversion to the toolchain's info.mk for uclibc-nptl
SVN-Revision: 15008
2009-03-24 02:30:49 +00:00
Felix Fietkau
fe601b3efd fix uclibc symlink for nptl
SVN-Revision: 15007
2009-03-24 02:19:59 +00:00
Felix Fietkau
f914fcf49f add uclibc-nptl
SVN-Revision: 15006
2009-03-24 02:06:12 +00:00
Felix Fietkau
16fa4d486d remove obsolete comment
SVN-Revision: 15005
2009-03-24 01:38:31 +00:00
Felix Fietkau
5bd40b0870 clean up uClibc config handling - use kconfig.pl to split configs similar to how it's done in the kernel
SVN-Revision: 15004
2009-03-24 01:34:51 +00:00
Felix Fietkau
746544db79 fix $(BUILD_DIR_TOOLCHAIN)/uClibc symlink
SVN-Revision: 15001
2009-03-23 21:23:46 +00:00
Felix Fietkau
566bdc37ad add uclibc 0.9.30.1
SVN-Revision: 15000
2009-03-23 21:04:30 +00:00
Felix Fietkau
03205ec740 clean up uclibc patch/config version handling a bit
SVN-Revision: 14994
2009-03-23 17:56:28 +00:00
Felix Fietkau
9cb02dd35c fix missing binutils default version change
SVN-Revision: 14926
2009-03-17 19:06:06 +00:00
Hamish Guthrie
9f456db3fd Added defaults for extra target architecture for ps3
SVN-Revision: 14897
2009-03-16 15:25:55 +00:00
Hamish Guthrie
bbc2161913 Bumped compiler version for PS3
SVN-Revision: 14894
2009-03-16 10:38:21 +00:00
Hamish Guthrie
bec47e86b7 Set default compiler for ps3
SVN-Revision: 14893
2009-03-16 10:06:40 +00:00
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
Imre Kaloz
6ca4659c4e * refresh storm patches * disable BX in uClibc config, add ethernet and watchdog support -- thanks to Zilvinas Valinskas
SVN-Revision: 11367
2008-06-05 17:10:39 +00:00
Imre Kaloz
04fd31f429 add patch to fix EABI compiles on ARMv4
SVN-Revision: 11365
2008-06-05 16:38:04 +00:00
Imre Kaloz
7bb65fb9d7 add preliminary Marvell Orion support
SVN-Revision: 11352
2008-06-04 13:51:17 +00:00
Imre Kaloz
3ab62e8a82 soft-float shouldn't be used on targets with FPU
SVN-Revision: 11338
2008-06-03 09:31:00 +00:00
Imre Kaloz
389c1186cf gcc 4.2.4 support
SVN-Revision: 11310
2008-05-31 18:45:07 +00:00
Matteo Croce
4a78320c11 refresh gcc-4.2.3 patches
SVN-Revision: 11232
2008-05-21 11:51:22 +00:00
Travis Kemen
d3e2ae4e58 fix avr32 compiling
SVN-Revision: 11147
2008-05-16 04:44:15 +00:00
Nicolas Thill
28a650e13a Fix a bug causing an infinite loop in getaddrinfo (closes: #3344)
SVN-Revision: 11106
2008-05-11 10:19:12 +00:00
John Crispin
c4f78ab795 remove ugly hack for etrax
SVN-Revision: 11026
2008-05-03 15:46:23 +00:00
John Crispin
895adb694f fix up uclibc support for etrax
SVN-Revision: 11025
2008-05-03 15:45:42 +00:00
John Crispin
bec6b5517a fix uclibc version selection
SVN-Revision: 11024
2008-05-03 15:45:34 +00:00
Imre Kaloz
a4dd1adf4a add preliminary support for Storm SL3512 based devices, not ready yet
SVN-Revision: 10956
2008-04-27 17:03:01 +00:00
Imre Kaloz
a5510c6b5b PXA has Xscale core as well, so optimize the same way as we do on IXP/IOP
SVN-Revision: 10948
2008-04-26 10:12:08 +00:00
Felix Fietkau
b672976e8e make sure the toolchain target dir really exists
SVN-Revision: 10913
2008-04-22 20:30:55 +00:00
Imre Kaloz
41cf84f819 do target dependent optimizations
SVN-Revision: 10834
2008-04-14 13:24:30 +00:00
Jeremy Kerr
077d84f543 provide a cleaner way to specify a biarch toolchain build
Currently, to build a biarch toolchain, we need to explicitly give
options to the binutils and gcc configure commands:

CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS="--enable-targets=powerpc64-linux-uclibc"
CONFIG_EXTRA_GCC_CONFIG_OPTIONS="--enable-biarch --enable-targets=powerpc64-linux-uclibc"

This change replaces the command line options with an 'extra arch'
configure option:

CONFIG_EXTRA_TARGET_ARCH=y
CONFIG_EXTRA_TARGET_ARCH_NAME="powerpc64"

And a way to invoke this extra arch on the compiler command-line:

CONFIG_EXTRA_TARGET_ARCH_OPTS="-m64"

In this case, this results in an extra compiler:
 'powerpc64-linux-uclibc-gcc', which invokes
 'powerpc-linux-uclibc-gcc -m64'

This is a more standard way of building biarch toolchains, and allows
the packages to not have to care about how to invoke the 64-bit
compiler.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 10802
2008-04-12 23:14:42 +00:00
Florian Fainelli
1d482e1d39 Do not disable tls yet, uclibc-ntpl will support it soon
SVN-Revision: 10785
2008-04-10 15:52:38 +00:00
Florian Fainelli
3630b457a5 Disable tls support, uClibc does not support it, and it could lead to linking failures with some braindead autoconf programs
SVN-Revision: 10782
2008-04-10 14:05:38 +00:00
Imre Kaloz
47e402733a fix typo
SVN-Revision: 10718
2008-04-03 13:44:38 +00:00
Travis Kemen
8edd4a509e Fix format of depends clause for avr32 Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
SVN-Revision: 10687
2008-03-29 19:56:46 +00:00
Felix Fietkau
d52a9c3bf7 fix uclibc build on osx
SVN-Revision: 10578
2008-03-09 21:22:31 +00:00
Felix Fietkau
6bce19599a remove the "depends BROKEN" for eabi
SVN-Revision: 10556
2008-03-07 10:16:37 +00:00
Nicolas Thill
f0c567d08c fix md5sum for v0.28.2 (closes: #3159)
SVN-Revision: 10498
2008-02-19 21:38:29 +00:00
Imre Kaloz
6443bc981a fixup ARM EABI on GCC 4.1.2
SVN-Revision: 10480
2008-02-17 15:37:58 +00:00
Felix Fietkau
44f1ad22c8 add missing config change for OABI
SVN-Revision: 10459
2008-02-14 19:41:33 +00:00
Felix Fietkau
82572cf767 revert ARM to oabi by default, add some eabi patches for fixing up the toolchain, which unfortunately break eabi userland, but are IMHO a necessary basis for further eabi fixes
SVN-Revision: 10458
2008-02-14 14:31:31 +00:00
Imre Kaloz
28a177fca3 use GCC 4.2.3 by default for AVR32
SVN-Revision: 10414
2008-02-07 20:21:18 +00:00
Imre Kaloz
614cc08a14 add GCC 4.2.3
SVN-Revision: 10413
2008-02-07 20:18:40 +00:00
Imre Kaloz
78ef7bbd69 sync AVR32 patches with upstream
SVN-Revision: 10411
2008-02-07 20:05:11 +00:00
Felix Fietkau
5f258e330d fix path to etrax patches (#3055)
SVN-Revision: 10376
2008-02-03 18:22:22 +00:00
Imre Kaloz
7d93d975a5 *sigh* :P
SVN-Revision: 10373
2008-02-03 17:36:04 +00:00
Felix Fietkau
fba7cecc09 Add binutils-2.18 patches for all arches but AVR32.
Re-diff the existing patches for binutils-2.17 for all architectures
but AVR32, and make the possible selection of binutils-2.18 dependent
on selecting any arch but that one for the time being.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

SVN-Revision: 10360
2008-02-02 18:06:32 +00:00
Felix Fietkau
4feadffcb1 turn on UCLIBC_HAS_PROGRAM_INVOCATION_NAME (see #2941)
SVN-Revision: 10358
2008-02-02 02:31:15 +00:00
Gabor Juhos
875cd251a0 eliminate the root cause of the uClibc problems on the powerpc platform
SVN-Revision: 10346
2008-02-01 18:42:22 +00:00
Gabor Juhos
f5c304120d gcc: fix version selection for Magicbox
SVN-Revision: 10345
2008-02-01 16:44:52 +00:00
Imre Kaloz
423d63701a fix GCC version selection for Magicbox
SVN-Revision: 10288
2008-01-27 21:21:46 +00:00
Gabor Juhos
41992fe107 uClibc: change some symbols to local on ppc to make Kaloz happy :)
SVN-Revision: 10285
2008-01-27 21:15:27 +00:00
Felix Fietkau
201e164e4d remove some wrong depends/defaults
SVN-Revision: 10284
2008-01-27 18:49:51 +00:00
Ralph Hempel
10d08caa4a oops, missing file
SVN-Revision: 10283
2008-01-27 18:02:32 +00:00
Ralph Hempel
3dfc679bb9 add uClibc version 0.9.28.2, 0.9.28.3 and snapshots for development purpose (and already deployed evaluation boards) the version 0.9.29 is still the default version
SVN-Revision: 10282
2008-01-27 17:59:20 +00:00
Gabor Juhos
6f60b7afcd uClibc: restore support of shadow passwords, but make it configurable
SVN-Revision: 10276
2008-01-26 20:07:47 +00:00
Florian Fainelli
415a070cd2 Fix sockets.h for mips/mipsel
SVN-Revision: 10066
2007-12-31 13:31:48 +00:00
Felix Fietkau
3c307b30a8 fix uclibc compile on brcm-2.4
SVN-Revision: 10063
2007-12-30 19:23:54 +00:00
Felix Fietkau
56d0ebea38 fix ntpd compile
SVN-Revision: 10057
2007-12-30 16:41:08 +00:00
Felix Fietkau
cb9ce31a27 use __inline__ instead of inline to avoid build errors with -ansi
SVN-Revision: 10051
2007-12-30 04:25:17 +00:00
Felix Fietkau
72b3f74a04 enable res_close bsd compat, asterisk requires this
SVN-Revision: 10048
2007-12-30 03:56:33 +00:00
Felix Fietkau
999fe9c51b add a workaround for inline function redefinition
SVN-Revision: 10039
2007-12-30 00:17:01 +00:00
Felix Fietkau
d36d38c8f7 turn SUSv3 legacy macros into inline functions to avoid crazy build breakage in multiple packages
SVN-Revision: 10038
2007-12-30 00:06:12 +00:00
Felix Fietkau
b0392b0661 replace cflags hacks with the correct solution
SVN-Revision: 10031
2007-12-29 20:31:48 +00:00
Felix Fietkau
0dacee1c94 enable gnu glob in uclibc
SVN-Revision: 10027
2007-12-29 19:07:58 +00:00
Felix Fietkau
1c7b826708 unconditionally enable c99 math support in uclibc - many packages need it
SVN-Revision: 10024
2007-12-29 18:07:56 +00:00
Felix Fietkau
1602e0eeec fix comgt compile error caused by the uclibc upgrade
SVN-Revision: 10018
2007-12-29 00:50:40 +00:00