1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 18:23:09 +02:00
Commit Graph

695 Commits

Author SHA1 Message Date
florian
4abf567ae8 [uclibc] add more gcc-4.4 patches from uclibc's mailing-list
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-06 19:52:55 +00:00
claudio
8206a09b5e [etrax] install headers, fix foxboard-utils
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-03 12:49:50 +00:00
florian
76a152d235 [toolchain] enable software floating point emulation by default for mips and mipsel targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-28 15:49:46 +00:00
kaloz
9359756561 add missing patch from the uclibc buildroot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-23 13:08:21 +00:00
kaloz
dccbe704f2 add preliminary coldfire v4e support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-21 18:34:07 +00:00
lars
866728dbb1 [toolchain] disable tls for stdlibc++. fixes c++ inside a gcc-4.4.0
toolchain.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-05 11:33:12 +00:00
juhosg
57b3ee7bff [toolchain] uClibc-0.9.30.1: fix possible NULL pointer dereference (closes #5242)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-03 09:45:00 +00:00
kaloz
2dfc42c438 now that the gemini target is working, get rid of the obsolete and buggy storm target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 18:15:30 +00:00
nbd
d47683e4fd uClibc: bsd supports the same floating point classification functions as c99, fixes inetd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-29 10:32:17 +00:00
nbd
27f59d4c0e uClibc: add a wrapper for the missing finite() function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-29 09:25:51 +00:00
hcg
9c278041ab [uClibc 0.9.29 0.9.30.1] 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-29 07:40:29 +00:00
nbd
31d4d4473d 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28 15:49:29 +00:00
jow
bd772c3608 [toolchain] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-27 13:28:33 +00:00
florian
06ae330bf4 [toolchain] add support for glibc-2.4 (#5213)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-26 14:58:32 +00:00
kaloz
6f4ddaf713 make uclibc 0.9.30.1 the default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-25 11:17:01 +00:00
nbd
715bbe1fe7 upgrade uclibc-nptl to a recent version - seems to work on xscale with gcc 4.3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-22 23:59:23 +00:00
kaloz
c5f7c391b5 disable EABI for gemini and storm -- our toolchain can't support EABI on plain armv4, yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-18 13:36:58 +00:00
kaloz
0723f810ee add preliminary support for the successor of the storm port
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-11 18:27:33 +00:00
claudio
c40cdb09d0 Gcc 4.3.3 default for etrax
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-09 11:38:41 +00:00
jow
c650ca9bec Fix Image Builder building - added missing /bin dir to toolchain
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 13:48:23 +00:00
nbd
e211311b51 uclibc 0.9.30.1: add c99 long double math fix from gentoo (thx, ralph)
fixes compile error on powerpc

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 13:20:47 +00:00
nbd
fc81c7d54b 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-06 22:12:02 +00:00
nbd
a62e667d7c remove binutils 2.17 and 2.19
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-05 11:01:35 +00:00
nbd
eea4215570 fix the uclibc rebuild issue which leads to unresolved symbols in libnl (and possibly other libraries)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 18:41:08 +00:00
nbd
0bab2230e6 remove obsolete gcc version md5sums
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 18:40:22 +00:00
nbd
5188cec680 uclibc 0.9.30: fix isnan declaration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 15:15:22 +00:00
nbd
d349bdbe15 uclibc 0.9.29: fix isinf, finite prototypes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 15:15:17 +00:00
juhosg
eebe3240a9 [toolchain] fix a small bug in binutils 2.19.1
* http://sourceware.org/bugzilla/show_bug.cgi?id=7093

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-01 14:51:02 +00:00
florian
db0c7634b9 [toolchain] define libc_cv_slibdir, fixes mips64 compilation (#5011)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30 20:21:57 +00:00
hcg
14a0e55fb4 Changed default gcc for ps3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30 09:36:19 +00:00
florian
41ac629695 [toolchain] building uml on x86_64 w/ uClibc 0.9.29 is currently broken, select 0.9.30.1 which is working
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 15:52:01 +00:00
mirko
e1c96f6b44 patch breaks wchar_t-support in libstdc++ since a needless autoconf was disabled (r15345)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 15:38:51 +00:00
nico
70fef03e19 [toolchain] gcc: fix 4.2.4 ICE on avr32 (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34762)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 11:20:36 +00:00
nico
3620dd0bd5 [toolchain] gcc: symlink ./lib64 to ./lib for x86_64 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 10:14:30 +00:00
nbd
7129975a9b gcc: fix a segfault in the mbsd_multi patch for 4.4.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24 15:34:36 +00:00
nbd
3ba1747620 port the mbsd_multi patch to gcc 4.4.0, refresh the other patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24 02:23:11 +00:00
nico
d0c10785e7 [toolchain] 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24 02:07:24 +00:00
nico
89167b9397 uClibc NPTL: remove the pthread daemon() fix and revert r15343
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24 01:28:48 +00:00
florian
8a4b9a56af [toolchain] add preliminary support for gcc-4.4.0, need to forward port the fhonour-copt patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-23 09:44:57 +00:00
nbd
54c0f5e0cb uclibc: add the pthread daemon() fix from #4809
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-23 02:53:03 +00:00
nbd
b13ea33189 uclibc: remove the sockets_throw patch from 0.9.30, as it does not apply to 0.9.30.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-23 02:52:50 +00:00
nbd
6528871efd add a modified version of the mips64 patch from #4603
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-18 17:03:55 +00:00
hcg
ef2954cac3 [ps3]: update compiler version defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-16 12:40:32 +00:00
nbd
c31e54429a mark uclibc nptl and snapshot as broken
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-09 20:01:28 +00:00
claudio
9ca18ee408 Fix kernel headers for cris (thanks hinkocevar)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-08 14:13:50 +00:00
nbd
278de97272 fix uclibc subdir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 02:40:29 +00:00
nbd
75a3c66b07 append the correct extraversion to the toolchain's info.mk for uclibc-nptl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 02:30:49 +00:00
nbd
6e9b7a6136 fix uclibc symlink for nptl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 02:19:59 +00:00
nbd
674c088c98 add uclibc-nptl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 02:06:12 +00:00
nbd
730df649a8 remove obsolete comment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 01:38:31 +00:00
nbd
ae965dac51 clean up uClibc config handling - use kconfig.pl to split configs similar to how it's done in the kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 01:34:51 +00:00
nbd
949740d327 fix $(BUILD_DIR_TOOLCHAIN)/uClibc symlink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 21:23:46 +00:00
nbd
2e28f5f0ab add uclibc 0.9.30.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 21:04:30 +00:00
nbd
aa725129e8 clean up uclibc patch/config version handling a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 17:56:28 +00:00
nbd
a3f7c3bcca fix missing binutils default version change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 19:06:06 +00:00
hcg
a9f8a6d577 Added defaults for extra target architecture for ps3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-16 15:25:55 +00:00
hcg
f93c3d7d70 Bumped compiler version for PS3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-16 10:38:21 +00:00
hcg
512318e058 Set default compiler for ps3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-16 10:06:40 +00:00
nbd
54e33522a4 nuke some obsolete gcc versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:21:56 +00:00
nbd
62c38a56c8 enable eabi support by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:17:35 +00:00
nbd
83dc38674b switch to binutils 2.19.1 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:17:28 +00:00
nbd
3ce8595b78 move cflags default setting to target makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:17:06 +00:00
nbd
dce670f0f9 gcc: backport a patch from gcc trunk that fixes an internal compiler error on arm in version 4.3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-13 22:35:39 +00:00
nbd
3f577f4c40 fix stampfile variables for the toolchain build (fixes gcc compile error)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-13 12:50:23 +00:00
ralph
db62a849ec fix powerpc build (works for 2.4 and 2.6)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-01 11:04:08 +00:00
nbd
122ba8031d upgrade the cross-gdb to 6.8 (patch from #4701)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-28 21:02:49 +00:00
cyrus
d4331562d7 Upstream fix for syscall() not setting errno on errors on MIPS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-28 01:29:00 +00:00
nico
e725ea66c7 [toolchain] gdb: use @GNU mirror facility, cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 23:59:23 +00:00
nico
8acca98ded [toolchain] move common variables to a dedicated include file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 23:52:27 +00:00
nico
3556613537 [toolchain] kernel-headers: fix build error when run for the second time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 17:49:36 +00:00
nbd
800e84cc0f build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
hauke
782cc4f1ad uClibc: refresh patches for uClibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 14:32:21 +00:00
hauke
e570388548 binutils: refresh patches for binutils 2.17
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 14:24:39 +00:00
hauke
cc81d3493e gcc: refresh patches for gcc 4.1.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-18 18:11:04 +00:00
nbd
f9e546b068 fix gcc 4.3.x segfault triggered by using -frename-registers (reproduced on arm, might be relevant for other platforms as well)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-14 00:09:27 +00:00
nico
42b028fa14 [toolchain] cosmetic & coherency fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 21:25:48 +00:00
nico
3e70cd4eb9 [toolchain] binutils: add support for v2.19.1 (from #4492, thanks to dwrobel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 16:23:01 +00:00
florian
ec46c1676a [toolchain] libssp should also be configured in binutils
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 23:45:33 +00:00
nico
629f24b39c [toolchain] gcc: add a patch to allow 3.4.6 to build for x86 (closes: #4548)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 19:23:56 +00:00
nbd
6e7f2a5a18 default to binutils 2.18 on ppc* for manual selection as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 18:18:47 +00:00
nbd
38ab317f9e make binutils 2.18 default for ppc44x and ppc40x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 16:43:19 +00:00
florian
9949fa87ff [toolchain] allow building and installing java for gcc-4.1.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-01 20:11:00 +00:00
nbd
927e055b09 gcc: add missing gcc 4.3.3 patches (copy of the 4.3.2 patches)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 21:11:51 +00:00
nbd
96d0a563ef binutils 2.19 does not support avr32 yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 20:09:22 +00:00
nbd
f642dc6174 add gcc 4.3.3, clean up gcc version config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 20:08:34 +00:00
nbd
3d494a3826 eglibc: replace the use of stpncpy with strncpy + manual termination (stpncpy is not available on darwin)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 19:49:26 +00:00
nbd
e8baf33f7b port the eglibc cross compiling fix to version 2.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 19:47:27 +00:00
nbd
21c1b33aeb fix eglibc 2.8 cross-compile under darwin / mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 19:44:47 +00:00
nbd
486e1091a7 install readelf to STAGING_DIR_HOST (eglibc requires it, not all systems have it)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 04:54:25 +00:00
nico
bd691ac242 [toolchain] fix uClibc fpu/soft-float selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 22:56:26 +00:00
nico
8bee86b5af [toolchain] fix uClibc v0.9.30 build on x86_64
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 16:56:57 +00:00
nico
8b739f4586 [toolchain] 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!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 14:34:31 +00:00
florian
9a5dd80ff1 [toolchain] add missing config symbol in x86_64 configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 14:32:29 +00:00
nico
fd8969afc4 [toolchain] add support for gcc v4.3.1 & v4.3.2 (closes: #3479), thanks to Luigi Mantellini!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 11:58:17 +00:00
nico
4f14cc6657 [toolchain] add support for uClibc v0.9.30 (closes: #4271), thanks to Luigi Mantellini & Puchu!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 11:45:32 +00:00
nico
572f8170e9 [toolchain] more kernel headers fixes for cris
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 01:53:05 +00:00
nico
15950a617e [toolchain] we have a minimal gcc target compiler since [13931], so use it in uClibc headers generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-20 22:25:42 +00:00
nico
f654420911 [toolchain] move all arch fixups from Install to Prepare stage, so that fixed headers are available in $(BUILD_DIR_TOOLCHAIN)/linux-dev/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-20 17:05:14 +00:00
nbd
c7ac63a1ce uClibc: compile fix for the new linuxthreads implementation on mips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-20 14:47:53 +00:00
nico
3bcc2464bd [toolchain] backport patch to allow building uClibc-0.9.28.2 on recent x86 kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-19 14:53:45 +00:00
nico
afb0785186 [toolchain] fix linux headers & source paths at uClibc config stage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 22:22:41 +00:00
nbd
b466822eee add binutils 2.19 (patch from #4367)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 19:29:09 +00:00
nbd
82bf9db5f0 uclibc: fix the new libpthread implementation on arm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 19:21:56 +00:00
nbd
e3e434ff53 add uclibc eabi patches from #3988
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 19:20:32 +00:00
nbd
c65d9c39be add gcc eabi patches from #3988
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 19:18:16 +00:00
hcg
a84679b42d Set default gcc for ps3 - gcc-3.4.6 and gcc-4.1.2 do not work at all
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-16 17:51:19 +00:00
juhosg
c857d0f9d5 [toolchain] fix powerpc toolchain build failure on x86_64 hosts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-14 18:33:13 +00:00
nbd
6ee3e39384 work around problems with the libpthread onexit() handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-14 00:52:51 +00:00
nbd
da7bce7a48 fix the new libpthread implementation - the function table init was broken
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 20:44:29 +00:00
nbd
735726a575 do not strip uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 03:21:39 +00:00
nbd
f161325136 use the new linuxthreads implementation on i386,i686
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 02:15:52 +00:00
nbd
24f85d414b fix gdb compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 02:15:43 +00:00
nbd
2c3b9b3e1c uclibc: add the trunc function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 02:15:31 +00:00
nbd
7cae514282 uclibc: add some libpthread fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 02:15:14 +00:00
nico
d34f762653 [cris] fix missing ptrace.h needed to build final gcc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-12 19:03:39 +00:00
nico
18bd8e2d15 [cris] add a fix preventing gcc build system from assuming that libc headers are always available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-12 19:01:25 +00:00
nico
227402caee use different optimizations for x86 & x86_64 on uml
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-11 17:31:43 +00:00
nico
a94aad8737 gdb fixes: adjust --prefix & install in $(TOOLCHAIN_DIR)/usr/bin/ (like binutils & gcc)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-11 17:27:56 +00:00
nico
76559b7cb8 fix wrong TARGET_SUFFIX when building a toolchain with uClibc & EABI (closes: #4437)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-10 19:50:43 +00:00
nico
c3c59f4189 [massive] 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00
kaloz
5a9f6424a6 general fixes for openwrt with kernel 2.6.28
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-05 14:46:18 +00:00
florian
421612f234 Fix ssp enabling/disabling (#4388)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 12:56:31 +00:00
jow
92e4574ceb [uClibc] enable netlink support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-03 17:28:58 +00:00
jow
4469532cd6 [uClibc] enable support for getifaddrs() - required by lldpd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-03 13:07:30 +00:00
nbd
26a73029f9 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-02 04:16:30 +00:00
nbd
0f5e566f22 use binutils 2.18 for avr32, 2.17 is severely broken
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-02 01:14:09 +00:00
nbd
a70f3d2fec fix avr32 build breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-02 01:10:22 +00:00
nico
a1b4a2e121 fix gcc-4.2.4 when target != avr32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-03 00:20:00 +00:00
kaloz
c4d1c811de nuke old gcc 4.2 versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:32:02 +00:00
kaloz
f0d05adfd8 sync gcc's Config.in with Config.version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:26:10 +00:00
kaloz
bd049e717b nuke binutils 2.16.1 - old, unused, buggy
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:23:25 +00:00
kaloz
9693474f86 sync gcc patches with the Atmel 1.1.3 release
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:10:03 +00:00
kaloz
aba33f9a43 clean up patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:06:29 +00:00
kaloz
df79e5886f sync avr32 binutils patch with the Atmel 1.0.1 release
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 10:35:44 +00:00
kaloz
79097fdaea switch powerpc targets to gcc 4.2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 10:07:18 +00:00
kaloz
71b1c3a5af switch to gcc 4.2.4 for avr32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-25 18:35:48 +00:00
kaloz
663f3dca93 add avr32 support to binutils 2.18
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-25 18:34:48 +00:00
florian
6501ad3b1d openat is not an implemented syscall on linux-2.4, so make it only available for linux-2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-16 17:03:16 +00:00
hcg
9db8a8bc5d Add support for openat system call - this must be extended for the rest of these system calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-14 07:52:54 +00:00
nico
d7662dc11e [cosmetic] indent conditionnals in uClibc Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-08 23:00:22 +00:00
nico
7f9cbfdbd6 add md5sums for binutils & gcc and use the GNU mirror facility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-08 21:18:33 +00:00
florian
b9edc42863 Fix locations for the uClibc snapshot version (#4065)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-28 22:04:53 +00:00
hcg
78ba806154 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-09 11:33:47 +00:00
nbd
a860e07cba fix up the asm includes location for .27 when building kernel headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-29 18:09:24 +00:00
lars
8da092e746 Fix a segfault in uclibc ldso.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-25 13:06:43 +00:00
lars
5f2ecf82f0 Avoid endless recursion in uClibc pthreads.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-22 22:51:53 +00:00
nico
e55a04e2ce 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-18 12:24:32 +00:00
nbd
5ef8ada0f7 disable autorebuild for the toolchain, as it can easily lead to build breakages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 10:57:35 +00:00
nbd
47ce0ef5fe make libc.so symlink relative instead of absolute (#3878)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-17 12:30:14 +00:00
nbd
76c7f83e59 storm is ARMv4, not ARMv4T (thx, SeG)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 16:51:43 +00:00
florian
2c8df11418 Disable smash stacking support by default, but allow to enable it as an experimental feature
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 12:54:28 +00:00
nbd
1c87c80fd4 fix uClibc legacy version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 14:58:48 +00:00
florian
7067633ae8 Update uClibc config for x86_64
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-27 16:56:34 +00:00
juhosg
546b5ed544 surprise :p
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-21 17:08:14 +00:00
florian
541dcce6ec 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-21 10:41:27 +00:00
nico
01ed40ec23 use qstrip macro to strip quoted CONFIG_* strings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-14 23:24:58 +00:00
nbd
285af89084 add some sanity checking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 14:34:00 +00:00
blogic
0e38abbd3d finally fixes etrax toolchain problems, thanks nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-06 20:12:05 +00:00
kaloz
f4fb68ce2c * refresh storm patches
* disable BX in uClibc config, add ethernet and watchdog support -- thanks to Zilvinas Valinskas

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-05 17:10:39 +00:00
kaloz
c9615c4bdc add patch to fix EABI compiles on ARMv4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-05 16:38:04 +00:00
kaloz
fc35f54386 add preliminary Marvell Orion support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-04 13:51:17 +00:00
kaloz
f58867f71d soft-float shouldn't be used on targets with FPU
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-03 09:31:00 +00:00
kaloz
54a1da8d7c gcc 4.2.4 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-31 18:45:07 +00:00
matteo
fc45119fd6 refresh gcc-4.2.3 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-21 11:51:22 +00:00
thepeople
bd693798ff fix avr32 compiling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-16 04:44:15 +00:00
nico
e98062ae33 Fix a bug causing an infinite loop in getaddrinfo (closes: #3344)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-11 10:19:12 +00:00
blogic
6244867c33 remove ugly hack for etrax
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 15:46:23 +00:00
blogic
b9e7464d8a fix up uclibc support for etrax
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 15:45:42 +00:00
blogic
2b1356ade2 fix uclibc version selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 15:45:34 +00:00
kaloz
18aeebfc58 add preliminary support for Storm SL3512 based devices, not ready yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-27 17:03:01 +00:00
kaloz
66a1f66691 PXA has Xscale core as well, so optimize the same way as we do on IXP/IOP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-26 10:12:08 +00:00
nbd
add5d6ec82 make sure the toolchain target dir really exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-22 20:30:55 +00:00
kaloz
41696be697 do target dependent optimizations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-14 13:24:30 +00:00
jk
7e4be8edea [toolchain] 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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-12 23:14:42 +00:00
florian
f8d56a3a3f Do not disable tls yet, uclibc-ntpl will support it soon
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-10 15:52:38 +00:00
florian
0a30615206 Disable tls support, uClibc does not support it, and it could lead to linking failures with some braindead autoconf programs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-10 14:05:38 +00:00
kaloz
e6245b822d fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03 13:44:38 +00:00
thepeople
4ea642dff9 Fix format of depends clause for avr32 Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-29 19:56:46 +00:00
nbd
9bfa421614 fix uclibc build on osx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-09 21:22:31 +00:00
nbd
699d63d8be remove the "depends BROKEN" for eabi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 10:16:37 +00:00
nico
0a89a754e7 fix md5sum for v0.28.2 (closes: #3159)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-19 21:38:29 +00:00
kaloz
de63a700be fixup ARM EABI on GCC 4.1.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-17 15:37:58 +00:00
nbd
2962a817fc add missing config change for OABI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-14 19:41:33 +00:00
nbd
aa7be8c164 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-14 14:31:31 +00:00
kaloz
a2515db109 use GCC 4.2.3 by default for AVR32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 20:21:18 +00:00
kaloz
3a8b8febd9 add GCC 4.2.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 20:18:40 +00:00
kaloz
c289fe9d28 sync AVR32 patches with upstream
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 20:05:11 +00:00
nbd
465257bc80 fix path to etrax patches (#3055)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 18:22:22 +00:00
kaloz
dc192be569 *sigh* :P
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 17:36:04 +00:00
nbd
51e6b047f0 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-02 18:06:32 +00:00
nbd
65994c781a turn on UCLIBC_HAS_PROGRAM_INVOCATION_NAME (see #2941)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-02 02:31:15 +00:00
juhosg
8c34357d5b [toolchain] eliminate the root cause of the uClibc problems on the powerpc platform
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-01 18:42:22 +00:00
juhosg
829c17fac9 [toolchain] gcc: fix version selection for Magicbox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-01 16:44:52 +00:00
kaloz
3a65bbbf23 fix GCC version selection for Magicbox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 21:21:46 +00:00
juhosg
978a0e3a4c [toolchain] uClibc: change some symbols to local on ppc to make Kaloz happy :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 21:15:27 +00:00
nbd
68d61957ec remove some wrong depends/defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 18:49:51 +00:00
ralph
88e247f0fd oops, missing file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 18:02:32 +00:00
ralph
d14fa7ba1f 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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 17:59:20 +00:00
juhosg
d0e7f8edc5 [toolchain] uClibc: restore support of shadow passwords, but make it configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-26 20:07:47 +00:00
florian
0bbb4c4f66 Fix sockets.h for mips/mipsel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-31 13:31:48 +00:00
nbd
860d0dd0e6 fix uclibc compile on brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 19:23:54 +00:00
nbd
580fa02910 fix ntpd compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 16:41:08 +00:00
nbd
34f021a995 use __inline__ instead of inline to avoid build errors with -ansi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 04:25:17 +00:00
nbd
5a4ff24a53 enable res_close bsd compat, asterisk requires this
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 03:56:33 +00:00
nbd
05d08744b9 add a workaround for inline function redefinition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 00:17:01 +00:00
nbd
bd858493e6 turn SUSv3 legacy macros into inline functions to avoid crazy build breakage in multiple packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 00:06:12 +00:00
nbd
1b03fd0720 replace cflags hacks with the correct solution
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 20:31:48 +00:00
nbd
a95bff1704 enable gnu glob in uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 19:07:58 +00:00
nbd
30808fcb93 unconditionally enable c99 math support in uclibc - many packages need it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 18:07:56 +00:00
nbd
c0b3ee1b34 fix comgt compile error caused by the uclibc upgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 00:50:40 +00:00
nbd
f1070f111c update x86 uclibc configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 00:50:35 +00:00
kaloz
ff57652cf6 use softfloat and GNU EABI on the IOP, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 20:22:06 +00:00
kaloz
d993d0d4b1 move ARM to the GNU EABI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 20:13:15 +00:00
kaloz
6469ab20e1 use soft float by default on arm and powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 20:03:00 +00:00
kaloz
b26b6755df upgrade to uClibc 0.9.29 - break binary compatibility #1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 19:51:24 +00:00
kaloz
db0fee18ea we don't use Atmel version numbers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:44:28 +00:00
kaloz
e52f4ceb33 add another softfloat patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:32:14 +00:00
kaloz
ac02d17ea5 update AVR32 binutils patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:26:50 +00:00
kaloz
86592f3514 update binutils autoconf scripts, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:13:08 +00:00
kaloz
11c2779e23 fixup softfloat handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:06:47 +00:00
agb
adde95556f Disabling use of libintl in kernel-headers.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-26 22:22:02 +00:00
kaloz
edc99d1bf0 softfloat should be available on armeb, but not on mips until the kernel fpu emulation can be disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-26 19:36:34 +00:00
blogic
0e161e6b11 added binutils 2.18 selection, Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-20 22:23:12 +00:00
nbd
c15eb41ef9 hopefully fix occasional uClibc/gcc build failures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 01:17:26 +00:00
nbd
d5a53f3c57 fix a few stampfile locations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-20 19:58:49 +00:00
nbd
0cdad2de24 revert abi changes in uClibc - on hold for 7.11, will be added again with the uclibc upgrade for 8.01
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-09 13:20:21 +00:00
nbd
26fecaf491 disable crt_fini compatibility in uClibc, compile custom ld-uClibc for broadcom utilities
allows us to upgrade uClibc without breaking compatibility for nas and wl
breaks binary compatibility for packages from earlier kamikaze releases


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-09 03:20:13 +00:00
florian
042e469b6c Update CFLAGS pickup to match the target variable name, allow i686 to be optimised
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-26 16:19:59 +00:00
kaloz
3893efade9 add gcc 4.2.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-25 09:16:31 +00:00
nbd
d274551d10 Add binutils extra configure options
Currently, we can specify extra configure options for gcc, but not
binutils.

This change adds an EXTRA_BINUTILS_CONFIG_OPTIONS config variable,
so we can add configure options for binutils.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 06:23:20 +00:00
nbd
ebe4d35428 openwrt: honour gcc extra configuration flags
Although the CONFIG_EXTRA_GCC_OPTIONS flag is available, it isn't used
anywhere.

This change adds the extra flag to both gcc configure stages.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 06:23:17 +00:00
blogic
a5d5856756 changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-07 00:26:02 +00:00
nbd
ee5b9482d6 fix gdb installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-01 14:55:38 +00:00
nbd
57743bea4e remove obsolete file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-24 00:11:20 +00:00
florian
c8ae05cb22 Fix toolchain generation with FPU enabled (#2242)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 15:50:03 +00:00
nbd
6db7ad74f6 major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
nico
24458ad0c5 include kernel-version.mk from kernel.mk so that a correct KERNEL_PATCHVER is always available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 13:26:02 +00:00
nico
55b9f8f5dd fix typo (closes: #2275)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 13:00:27 +00:00
florian
ef9765bcc6 Disable multilib by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-23 16:08:09 +00:00
florian
edc76f93c2 Fix the stage2 compilation, no side effect with gcc4 (#2190)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-13 16:26:58 +00:00
florian
d3e7fffaf3 Replace TOOLCHAIN_BUILD_DIR with BUILD_DIR_TOOLCHAIN (the other one is deprecated)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-11 17:32:45 +00:00
florian
80886edaa0 Fix gdb installation, thanks to Alfred Heggestad
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-09 21:38:05 +00:00
florian
8ec76b7a55 rdc can be built with gcc4 as well, my mistake
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-08 12:03:24 +00:00
nbd
00853f9f71 fix kernel-headers download (#2179)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 09:41:54 +00:00
nbd
12c49b6a6a build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
florian
1d7f1aafa1 rdc-2.6 must be built with gcc-3.4.6, if not it will not boot at all
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-05 11:05:08 +00:00
florian
2d6bbc425e Allow installing gcj/gnu classpath,for those interested
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-04 10:59:02 +00:00
nbd
32a98d23ea Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will emit warnings in packages that don't use our target cflags properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-31 00:52:27 +00:00
nbd
aeef389959 fix the gcc stampfile for initial stage installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 22:27:37 +00:00
nbd
134ed9ab3b remove leftover CONFIG_JLEVEL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 22:23:17 +00:00