Commit Graph

851 Commits (2b8c75f0c141361e7777bb3b7ce311f7deb4299b)

Author SHA1 Message Date
Alexandros C. Couloumbis 71afee3f5e toolchain: fix r25969
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 13:21:00 +00:00
Felix Fietkau e442f21024 fix target name mixup caused by r25928
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 11:37:50 +00:00
Felix Fietkau c47460467c gcc: move the optimized assembler helpers back into the static libgcc and skip relinking for this arch. due to relocation constraints, the assembler functions cannot be in the shared libgcc and must always be linked in statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-08 13:10:11 +00:00
Imre Kaloz c1cfca24f9 [toolchain/gdb]: upgrade to the 2011.03-0 release from Linaro
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-08 07:51:06 +00:00
Felix Fietkau 9973a6d45c uClibc: add back R_PPC_REL24 relocation support, the dynamic libgcc changes depend on it for powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 22:38:48 +00:00
Imre Kaloz c5b1e5ded2 only support EABI on ARM targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 12:59:19 +00:00
Felix Fietkau 3fdc3e9659 gcc: include assembler functions in the shared libgcc_s library, fixes missing symbol issues on powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-06 22:54:30 +00:00
Felix Fietkau 3f3a1e406d toolchain/gcc (linaro): fix extension elimination optimization
This applies Richard Sandiford's patch for Linaro GCC as an alternative to disabling the Linaro-specific extension elimination optimization altogether.

Original patch: https://bugs.launchpad.net/gcc-linaro/+bug/728315
Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-04 21:38:15 +00:00
Alexandros C. Couloumbis d64dd300b8 toolchain/gcc: fix r25709 (closes #8964)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 10:09:06 +00:00
Felix Fietkau 09b4a9572c gcc: disable extension elimination, it causes hostapd to be miscompiled on mips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 17:54:02 +00:00
Felix Fietkau e9f02cd4dd toolchain: remove -lgcc_eh from the default libgcc spec, it breaks packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 15:38:58 +00:00
Felix Fietkau cdabc8deda uClibc: set the toolchain info at install time instead of prepare time, fixes staging dir rebuilds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 05:41:02 +00:00
Felix Fietkau c2f05b9877 gcc-linaro: fix the libgcc spec to default to using the shared libgcc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 05:40:47 +00:00
Imre Kaloz 68355d4227 [toolchain/gcc]: backport fa526 optimization for gcc 4.5+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25 17:44:18 +00:00
Imre Kaloz ffa3dfec7e [toolchain/gcc]: use the Linaro GCC for arm and mips targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25 17:43:15 +00:00
Imre Kaloz 7dd2d2cbd3 We use different toolchain directories for different
ARM archs, so we should set the default arch of gcc
to reflect this.

This enables EABI support for armv4 CPUs.

Signed-off-by: Jochen Friedrich <jochen@scram.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25 16:52:25 +00:00
Imre Kaloz 2e58abb57d [toolchain/uClibc]: upgrade to latest git, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 12:56:20 +00:00
Imre Kaloz 635c2c3f28 [toolchain/gcc/4.3.5]: sync avr32 patch with the latest ones from atmel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 08:14:15 +00:00
Imre Kaloz e8454acdb4 [toolchain/binutils]: remove the CS variant - broken since it's addition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-21 11:43:16 +00:00
Felix Fietkau 50725d938c gcc: remove arch default duplication, fix version selection for !TOOLCHAINOPTS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20 22:09:51 +00:00
Florian Fainelli 88e222c6a3 [toolchain] update gdb to 7.2
This patch updates the toolchain gdb from 6.8 to 7.2

Signed-off-by: Steve Brown <sbrown@cortland.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 12:44:33 +00:00
Imre Kaloz 051a88a1b0 [toolchain/binutils/2.21]: only enable binutils 2.21 for avr32 if BROKEN is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-18 13:48:42 +00:00
Imre Kaloz 6910a07bda [toolchain/binutils/2.21]: add some more avr32 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-18 13:47:36 +00:00
Imre Kaloz 5883f4e947 whitespace cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-18 13:45:35 +00:00
Imre Kaloz ec1ab875da [toolchain/binutils]: add binutils 2.21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-18 09:52:19 +00:00
Imre Kaloz c33378562e [toolchain/gcc/4.3.5]: combine all avr32 patches into a single one
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-18 09:25:59 +00:00
Imre Kaloz da051bcd85 [toolchain/binutils/2.20.1]: add avr32 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-16 22:44:47 +00:00
Imre Kaloz 8cd25b0fd3 [toolchain/gcc/4.3.5]: additional avr32 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-16 15:26:08 +00:00
Imre Kaloz b24349625b [toolchain/gcc/4.3.5]: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-16 15:24:48 +00:00
Imre Kaloz 5c66c31c34 fixup gcc version selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-16 15:21:17 +00:00
Imre Kaloz f431dd44ba [toolchain/binutils/2.19.1]: fixup the ubicom patch, refresh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-16 14:05:08 +00:00
Imre Kaloz 67ead04a5a [toolchain/binutils]: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-16 13:51:31 +00:00
Felix Fietkau b71c26a5b1 uClibc: remove 0.9.30, 0.9.31
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-15 01:29:13 +00:00
Felix Fietkau 263fe71965 uclibc: disable COMPAT_ATEXIT
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 14:18:08 +00:00
Imre Kaloz cb1eec5ea0 [toolchain/uClibc]: upgrade to latest git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 12:32:01 +00:00
Imre Kaloz 8ddc6132a5 [toolchain/gcc/linaro]: upgrade to 2011.02, rename patchset directory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 11:27:58 +00:00
Felix Fietkau ff1a0f6304 remove the shared object stubs of libnsl and libresolv - let the compiler use the static variants instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 03:26:10 +00:00
Felix Fietkau d088b06f90 uclibc: disable rpc support - replaced by the external librpc, saves ~80k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 01:45:59 +00:00
Felix Fietkau ac36e7bbbf kernel-headers: get rid of the arch/$(ARCH)/include/asm vs include/asm-$(ARCH) copying mess and stick to what the kernel is using
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-10 03:52:39 +00:00
Imre Kaloz b030f3e1e0 [toolchain/uClibc/git]: autodetect ARM variant/ABI setup based on the compiler settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 20:19:28 +00:00
Imre Kaloz 9649a998eb [toolchain/uClibc]: update to latest git version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 20:07:28 +00:00
Imre Kaloz 57a9a524b4 [toolchain/gcc/linaro]: fixup arm soft-float symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 20:06:12 +00:00
Imre Kaloz 3eac35527a refresh patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 20:05:33 +00:00
Imre Kaloz 01cfae1252 [toolchain/gcc/linaro]: add armv4 fixup patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 19:34:36 +00:00
Felix Fietkau 960e69aac9 gcc: fix default version selection - fixes missing MPC configure error during toolchain build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-01 16:57:01 +00:00
Felix Fietkau a77e76ae66 eglibc: disable ssp, it breaks the build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-01 16:21:49 +00:00
Felix Fietkau 57fd328159 uClibc: use the arch specific thread stack size for nptl if the size returned by getrlimits exceeds it - fixes threads on systems with only 16 MB RAM
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-29 00:21:13 +00:00
Jo-Philipp Wich 7a6761e39a [toolchain] uClibc: remove references to $(CONFIG_LARGEFILE)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 17:04:08 +00:00
Felix Fietkau a56387a734 gcc: fix linaro 4.5.1 version check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 16:37:30 +00:00
Imre Kaloz 0b101d2b20 [toolchain/gcc/linaro]: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 12:34:32 +00:00
Felix Fietkau 788b1585d7 uClibc: fix version check for 0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 02:41:53 +00:00
Felix Fietkau 4db8adf0e2 binutils: backport a fix for broken relocation entries on mips with -fPIE, fixes dbus-server crash with sstrip
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 02:29:01 +00:00
Felix Fietkau cf6f36abb4 uClibc: make 0.9.32-git default, it fixes lots of bugs compared to earlier versions (especially threading issues), and the known regressions have been fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 01:10:45 +00:00
Felix Fietkau c6e7c24a27 uClibc 0.9.32: fix infinite recursion on application exit triggered by linking libc before libpthread
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 01:10:41 +00:00
Imre Kaloz c82aa42db6 cleanup toolchain version handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 13:55:00 +00:00
Imre Kaloz 23f1aec409 [toolchain]: nuke unneeded patchsets as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 13:28:27 +00:00
Imre Kaloz f9060eb6b0 [toolchain]: get rid of gcc 4.1.2 and 4.2.4 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 13:24:38 +00:00
Imre Kaloz 6469963c0a [toolchain]: use the linaro gcc by default (right now this only affects x86 targets)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 13:17:50 +00:00
Imre Kaloz f8b2d5faf4 [toolchain/uClibc]: LEON is SPARC v8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 12:54:08 +00:00
Imre Kaloz 4cd86e8cb2 [toolchain/uClibc]: update to latest git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-24 09:40:24 +00:00
Felix Fietkau 5cb2244f2b uClibc 0.9.32: fix libm compile for powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-16 01:24:43 +00:00
Jo-Philipp Wich 4439722288 [toolchain] add explicit dependencies between gcc prepare stages, fixes source download race with make -j (#8596)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-12 15:44:53 +00:00
Imre Kaloz 6a285bfb8c [toolchain/uClibc]: upgrade to latest git snapshot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 14:20:30 +00:00
Gabor Juhos 0d46434b60 cns21xx: add initial support for the Cavium CNS21xx SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-30 17:19:16 +00:00
Alexandros C. Couloumbis 4ab0854336 toolchain/gcc: fix r24746
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-21 14:54:34 +00:00
Imre Kaloz f48a6b252d [toolchain]: add gcc 4.5.2 (replaces 4.5.1)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-21 08:13:21 +00:00
Felix Fietkau 37e7a36f7d fix a compile error with uclibc 0.9.32 and newer kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-20 14:25:17 +00:00
Felix Fietkau 2fcbf52f19 gcc: fix newer libstdc++ compile issues with uclibc 0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-20 14:25:05 +00:00
Imre Kaloz 20990a6698 [toolchain/gcc]: upgrade the linaro gcc to the 2010.12 release
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 09:50:59 +00:00
Imre Kaloz dcaba4757f add plemininary ultrasparc support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 07:57:22 +00:00
Daniel Dickinson 9046a2a132 [toolchain] binutils: Fix autoreconf for packages/devel/binutils package, which uses binutils toolchain patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 01:43:46 +00:00
Alexandros C. Couloumbis 81a2a08b06 toolchain/uClibc: apply an upstream 0.9.32 patch (Unwind_Resume calls to go via PLT to avoid text relocations for PIC)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 18:31:13 +00:00
Imre Kaloz 0ebaa8e801 [target/mpc85xx]: preliminary support for Freescale MPC85xx based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 11:38:59 +00:00
Alexandros C. Couloumbis 593c917377 toolchain/uClibc: sync to latest uClibc-0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-03 16:36:37 +00:00
Alexandros C. Couloumbis d8575c4138 toolchain/uClibc: push an upstream fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-03 14:46:09 +00:00
Felix Fietkau 9df9184b94 uClibc: add back a few cflags that were being overwritten, might fix a few segfauls (thx, framer99)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 00:30:26 +00:00
Felix Fietkau ca622f9bd0 uClibc: fix ubicom32 compile error with 0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 17:50:08 +00:00
Felix Fietkau bccdd52519 uClibc: fix headers install on prepare with QUILT=1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 17:50:01 +00:00
Felix Fietkau 90d140c942 uClibc: make UCLIBC_HAS_LONG_DOUBLE_MATH generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 17:49:51 +00:00
Felix Fietkau fe88a9ee06 uClibc: fix cris compile on 0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 16:18:43 +00:00
Felix Fietkau fd1d71749b uClibc: fix compile error on avr32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 15:14:16 +00:00
Felix Fietkau e125fcab4b uClibc: disable nptl on a few targets where it is not supported yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 14:50:33 +00:00
Felix Fietkau 2e00ec4e17 uClibc: 0.9.32 needs the ldso fix as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 01:48:29 +00:00
Felix Fietkau e3c09dd817 uClibc: update 0.9.32 to latest git
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 00:44:37 +00:00
Alexandros C. Couloumbis 0fc329a77d toolchain/uClibc: fix upstream patch name on r24029
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-18 15:01:30 +00:00
Alexandros C. Couloumbis 2c24f3ae2f toolchain/uClibc: push some upstream patches for uClibc-0.9.31. should resolve isses of #8269
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-18 14:58:37 +00:00
Imre Kaloz bc28bc7729 [toolchain/gcc]: update the linaro gcc to v2010.11-1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-10 12:27:33 +00:00
Jo-Philipp Wich a5fa9a2647 [toolchain] uClibc: fix errno access in pthreads (#8166, #8177)
Reading errno within pthreads always resulted in 0 breaking various programs
like transmission and collectd. This patch is not 100% thread safe but it brings
back threading into a usable state for now.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-06 23:49:11 +00:00
Jo-Philipp Wich cd330a000e [PATCH] ld.so: ldd crashes when __LDSO_SEARCH_INTERP_PATH__ is not #defined
Since b65c7b2c79debcb9017e31913e01eeaa280106fb, the implicit search path
can be disabled by not #defining __LDSO_SEARCH_INTERP_PATH__. This
causes _dl_ldsopath to never be set, so it remains NULL. _dl_ldsopath is
still used when __LDSO_LDD_SUPPORT__ is #defined, to strip the path off
of the beginning of the absolute path to the ld.so interpreter in use
for printing. The _dl_strlen will crash with a NULL argument.

Rather than relying on _dl_ldsopath, this change causes ldd to compute
the interpreter's basename directly.

glibc ld.so seems to print the full path to the interpreter without
any computed basename or =>. I personally prefer glibc's behavior, but
to preserve backwards compatibility with uClibc ld.so, the existing
format with the computed basename, =>, and full path is used here. This
enables simpler (and unchanged) text processing in a pipeline.

Signed-off-by: Mark Mentovai <mark at moxienet.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-05 21:38:38 +00:00
Imre Kaloz deb93fbc33 [toolchain]: use gcc 4.3.5 for avr32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 14:18:04 +00:00
Imre Kaloz b6539213ec [toolchain]: add avr32 support to gcc 4.3.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 14:17:06 +00:00
Imre Kaloz d7a7570709 [toolchain]: switch to uClibc 0.9.31
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 13:57:57 +00:00
Imre Kaloz 32fd75022d [toolchain]: switch to binutils 2.20.1 (except for avr32 and ubicom32)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 13:57:04 +00:00
Imre Kaloz 2d08a9a2c9 [toolchain]: remove support for uClibc 0.9.30.2 and 0.9.30.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 12:56:58 +00:00
Imre Kaloz 51a43a0e18 [toolchain/gcc]: remove unneeded config options, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 10:55:54 +00:00
Imre Kaloz 90c3e91779 [toolchain/gcc]: fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 10:48:14 +00:00
Imre Kaloz b178ff95ea [toolchain/gcc]: get rid of old gcc versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 10:45:59 +00:00
Imre Kaloz 92d66fd4dd [toolchain/gcc]: add support for Linaro GCC 2010.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 10:37:51 +00:00
Imre Kaloz 2479ec401b fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 11:19:38 +00:00
Imre Kaloz 0cedd42576 [toolchain]: sync gcc's Config.in with Config.version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 10:59:58 +00:00
Imre Kaloz 65f1abe5c9 [toolchain]: the latest patchlevel gcc releases should work for these targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 10:38:32 +00:00
Imre Kaloz ea4e94a3ec [toolchain]: fixup gcc version selection for the omap35xx target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 10:29:53 +00:00
Imre Kaloz 740e58f3a0 [toolchain]: we don't support gcc 3.x for some time now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 07:28:17 +00:00
Imre Kaloz 318e9e0922 [toolchain]: remove support for binutils 2.18 and 2.20
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-28 07:26:07 +00:00
Imre Kaloz 8709a54d17 [toolchain]: gcc 4.4.5 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 12:21:58 +00:00
Michael Büsch ef39b40498 optionally support parallel toolchain build. This defaults to off, because certain toolchain versions are known to break on parallel build. However, it significantly speeds up the build and latest versions of the tools do compile fine.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 12:54:07 +00:00
Felix Fietkau 501b42a623 gcc: enable non-PIC for mips targets in gcc 4.4+ to reduce code size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-20 20:49:34 +00:00
Felix Fietkau ae17845a7c gcc: add an updated version of 4.4.1+cs - successfully builds a toolchain now, please test!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-20 18:00:05 +00:00
Alexandros C. Couloumbis a0ceac3b2d toolchain/gcc: fix -Os recursion on ARMv5 for gcc 4.5.0 & 4.5.1 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44392)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-04 17:00:55 +00:00
Felix Fietkau e3b691c96c add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-01 17:51:36 +00:00
Felix Fietkau b0a6ced97a fix a compile error when compiling with glibc (#7816)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-01 15:21:43 +00:00
Florian Fainelli cdb73c4f2b [toolchain] gcj can only be built safely on gcc >= 4.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-30 07:35:18 +00:00
Felix Fietkau f1f392ab5f toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:51 +00:00
Nicolas Thill 1066628c7d toolchain/gcc: remove remaining references to gcc-3.4.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 11:04:45 +00:00
Mirko Vogt 107809668c nptl-supoprt should not autoselect EXTRA_WARNINGS as this results in extra CFLAGS which may not be supported by older compilers (as e.g. gcc-4.1 which e.g. the x86 target is currently using)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 12:42:04 +00:00
Lars-Peter Clausen b86926d939 [toolchain] Add lost handling of -fhonour-copts to 4.4.x+cs/910-mbsd_multi.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-03 15:32:25 +00:00
Florian Fainelli f839bab3fd [toolchain] add support for gcc-4.5.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-01 12:39:19 +00:00
Florian Fainelli 142bee6849 [toolchain] bump default gcc-4.4 version for sibyte and octeon
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 11:52:48 +00:00
Imre Kaloz 766cb6b709 add support for the Gateworks Laguna family (Cavium Networks Econa CNS3xxx)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 11:20:53 +00:00
Felix Fietkau 7e525aa71e gcc: split up the build process into three distinct stages (minimal, initial, final), to clean up the dependency handling nastiness and to improve support for rebuilding parts of the toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 20:57:21 +00:00
Imre Kaloz 355be7618f the storm target is gone for a long time now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 11:11:22 +00:00
Felix Fietkau 414fef65ce remove support for building kernel headers with old kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:44:48 +00:00
Felix Fietkau fd588f4196 remove gcc 3.4.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:44:02 +00:00
Mirko Vogt 55d6630a0c patch went upstream, so bump git version and remove patch locally
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 19:24:06 +00:00
Hamish Guthrie 4e37ed8184 Refactor omap35xx sub-targets to cater for beagleboard and gumstix overo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-21 11:59:59 +00:00
Mirko Vogt 93567175e4 add support for uClibc version 0.9.32 based on git rev a7642511b08b0b8a4012bab67cb8aa554992df6b,
this includes support for nptl which got merged into the uClibc master branch recently

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 22:18:43 +00:00
Mirko Vogt 3f602d7589 [toolchain/kernel-headers] fix syntax error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 00:24:10 +00:00
Mirko Vogt f9f42031e4 [toolchain/kernel-headers] make sure directory exists before copying into
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-19 23:48:45 +00:00
Florian Fainelli c0cf381908 [toolchain] fix eglibc INET_ANL option selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-02 19:47:41 +00:00
Nicolas Thill e61aabfce6 toolchain/eglibc: add preliminary support for eglibc-2.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 20:37:56 +00:00
Nicolas Thill 1bb2ce7d47 toolchain/eglibc: update to latest revision for 2.9, 2.10 & 2.11
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:48:25 +00:00
Nicolas Thill 93bf8f3ff6 toolchain/eglibc: allow building eglibc-2.11 with gcc-4.5.x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 15:33:44 +00:00
Nicolas Thill e5e5f00bba toolchain/gcc: add support for gcc-4.4.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 13:50:47 +00:00
Nicolas Thill 920b2a8d5b toolchain/gcc: add support for gcc-4.3.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 12:00:22 +00:00
Nicolas Thill 3a21d90279 toolchain/gcc: remove md5 for unsupported 4.4.0 version, add missing md5 for 4.3.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 14:06:55 +00:00
Nicolas Thill 5477561eeb toolchain/gcc: sort versions in Config.in (cosmetic)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 14:04:57 +00:00
Nicolas Thill e2f44e59cb toolchain/kernel-headers: simplify linux headers installation (remove legacy hacks, cleanup)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-24 20:38:36 +00:00
Florian Fainelli 528a24ebe9 [toolchain] add upstream uclibc 0.9.31 patch to fix fcntl64 on 64-bits targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-19 09:05:10 +00:00
Jo-Philipp Wich 8fdcc13268 [toolchain] fix syntax error in Config.in
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-20 21:13:12 +00:00
Florian Fainelli 919f5d8ee5 [toolchain] fix graphite options with gcc-4.5, add libelf for LTO, fix mbsd_multi patch, patch from Bernhard Loos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-20 16:18:08 +00:00
Alexandros C. Couloumbis bf4dbc7f29 add gcc-4.5.0 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-19 15:43:08 +00:00
Nicolas Thill 48a6ca1c00 toolchain/gcc: add a 3.4.6 patch fixing a g++ bug where it generates local references to linkonce (see http://gcc.gnu.org/PR16276, closes: #7014)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-16 02:55:30 +00:00
Gabor Juhos 6e90698fdc toolchain/uClubc-0.9.31: fix syscalls on MIPS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 19:28:10 +00:00
Nicolas Thill cf205143ab toolchain/uClibc: add preliminary support for 0.9.31 (needs testing)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 05:59:10 +00:00
Nicolas Thill 8e0deee357 toolchain/kernel-headers: restore support for patches, needed for ubicom32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 05:00:00 +00:00
Gabor Juhos 994ff71e5e toolchain/binutils: building gas for arm-*-uclibc systems requires linking with -lm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 08:01:35 +00:00
Felix Fietkau b9034da6ae fix kernel-headers build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 15:16:17 +00:00
Gabor Juhos 7892970212 uClibc: fix free-after-use bug in __dns_lookup (closes #6886)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 08:12:24 +00:00
Florian Fainelli 97a8b93e78 [toolchain] fix kernel-headers build for uml
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 16:21:18 +00:00
Florian Fainelli 6c3b4d8c5f [toolchain] add support for uClibc 0.9.30.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-13 17:22:18 +00:00