Commit graph

841 commits

Author SHA1 Message Date
Jonas Gorski
5defa7f08d toolchain/uClibc: Make sure there's always a UCLIBC_VERSION_*
UCLIBC_VERSION_* was only defined when toolchain options was enabled,
breaking packages depending on (not) having certain uClibc versions.

SVN-Revision: 27882
2011-08-02 23:32:44 +00:00
Felix Fietkau
b857433bcb uClibc: backport an x86 compile fix from mainline (thx, swalker)
SVN-Revision: 27773
2011-07-25 18:26:02 +00:00
Felix Fietkau
816f76457c uClibc: update to latest 0.9.32.1 git
SVN-Revision: 27772
2011-07-25 13:38:58 +00:00
Felix Fietkau
d7fa989b42 eglibc: remove obsolete dependencies to fix missing config options for eglibc 2.13
SVN-Revision: 27623
2011-07-16 10:27:48 +00:00
Imre Kaloz
62daf628c0 In R27118, TARGET_FIX_V4BX_SPEC got lost in the linker parameters. Add it back.
Signed-off-by: Jochen Friedrich <jochen@scram.de>

SVN-Revision: 27599
2011-07-12 13:34:18 +00:00
Imre Kaloz
887b29bfbd the only reasons for having 4.4 around are avr32 and ubicom32, so make it depend on them
SVN-Revision: 27559
2011-07-08 11:15:00 +00:00
Felix Fietkau
9a560e48dd toolchain: remove a dependency on a nonexistant config symbol (thx, Sedat Dilek)
SVN-Revision: 27556
2011-07-08 08:13:50 +00:00
Felix Fietkau
ddc6fd10de uClibc: fix messed up patch headers in fts patch (patch from #9671)
SVN-Revision: 27555
2011-07-08 07:14:23 +00:00
Imre Kaloz
6d378e7b20 fix ppc toolchain build
SVN-Revision: 27551
2011-07-07 22:19:38 +00:00
Florian Fainelli
3bdc9093b3 uclibc: backport FTS support
SVN-Revision: 27513
2011-07-07 09:42:57 +00:00
Florian Fainelli
cba5b25cfd eglibc: add support for 2.14
SVN-Revision: 27510
2011-07-07 09:42:47 +00:00
Florian Fainelli
d65636baaf remove reference to old eglibc versions.
SVN-Revision: 27509
2011-07-07 09:42:44 +00:00
Felix Fietkau
357a58811b eglibc: remove old versions
SVN-Revision: 27360
2011-07-02 09:47:00 +00:00
Felix Fietkau
ab15244ece eglibc: fix portability issues rpcgen and zic, fixes compile on darwin
SVN-Revision: 27359
2011-07-02 09:46:39 +00:00
Imre Kaloz
a2c0394572 simplify configuration
SVN-Revision: 27353
2011-07-02 07:50:26 +00:00
Imre Kaloz
4fbc50d89a nuke support for older gcc versions, except for 4.4.6 (needed for avr32 and ubicom32)
SVN-Revision: 27351
2011-07-02 07:43:26 +00:00
Imre Kaloz
5f397b16ef both coldfire and etrax are broken and should use a newer gcc when they will be fixed
SVN-Revision: 27350
2011-07-02 07:28:16 +00:00
Imre Kaloz
dde7babe01 switch avr32 to gcc 4.4, also powerpc targets should work fine with linaro releases
SVN-Revision: 27338
2011-07-01 13:44:03 +00:00
Imre Kaloz
9167521015 bump the 4.4 flavour to 4.4.6
SVN-Revision: 27337
2011-07-01 13:39:50 +00:00
Imre Kaloz
be9a11b014 replace gcc 4.5.2 support with 4.6.1
SVN-Revision: 27333
2011-07-01 11:43:15 +00:00
Imre Kaloz
6d02667c07 add the latest avr32 toolchain patches (with additional fixes)
SVN-Revision: 27332
2011-07-01 11:35:21 +00:00
Imre Kaloz
7c4a91b216 upgrade the linaro gcc to 2011.06
SVN-Revision: 27326
2011-07-01 08:10:12 +00:00
Mirko Vogt
f2591f8d54 eglibc CAN be compiled with -Os after all - flags however need to be stated in $EGLIBC_CFLAGS as well
SVN-Revision: 27290
2011-06-26 21:47:14 +00:00
Felix Fietkau
92726d8f32 uclibc: make powerpc e500 support independent of the target name, always use it if the spe_fpu feature flag is set
SVN-Revision: 27289
2011-06-26 14:22:55 +00:00
Mirko Vogt
f03b067f32 manual/Makefile: Don't mix pattern rules with normal rules.
This change got committed into the official eglibc repository in commit 11461.

Thanks to Philip Prindeville for pointing this out.

SVN-Revision: 27264
2011-06-23 14:38:26 +00:00
Jo-Philipp Wich
28fbd7470d add gfortran compiler support (#9600, patch from Xiangfu Liu via Qi hardware)
SVN-Revision: 27262
2011-06-23 11:46:24 +00:00
Jo-Philipp Wich
a56dab661a introduce option to enable setjump()/longjump() based C++ exceptions (#9185, patch from David Kuehling via Qi hardware)
SVN-Revision: 27261
2011-06-23 11:37:39 +00:00
Mirko Vogt
33fc3f8906 Revert "[toolchain/eglibc} eglibc in fact can be built with -Os"
Compiling with -Os results in: "error: #error "glibc cannot be compiled without optimization"

Still, building with -Os is listed as feature in
<http://www.eglibc.org/features>:

""
Building with -Os
     EGLIBC supports building the library with compiler optimizing for size -Os instead of for speed -O2.
""

SVN-Revision: 27245
2011-06-20 11:12:46 +00:00
Mirko Vogt
4716055a1e explicitly disable the use of ldconfig
SVN-Revision: 27220
2011-06-18 17:53:41 +00:00
Mirko Vogt
2e1b73912d patch: add /usr/lib to default search path of dynamic linker
SVN-Revision: 27216
2011-06-18 11:14:07 +00:00
Mirko Vogt
7493d8260f add support for eglibc version 2.13
SVN-Revision: 27215
2011-06-18 11:14:05 +00:00
Mirko Vogt
cdbb7815ea [toolchain/eglibc} eglibc in fact can be built with -Os
SVN-Revision: 27214
2011-06-18 11:14:01 +00:00
Mirko Vogt
51754d7d1d when selecting eglibc, use version 2.12 by default
SVN-Revision: 27213
2011-06-18 07:33:28 +00:00
Mirko Vogt
74fecd0366 fix glibc to work with all versions of binutils, fixes #7133 - thanks to marek siller
SVN-Revision: 27210
2011-06-17 22:51:24 +00:00
Felix Fietkau
be20fe9771 toolchain/gdb: fix compile for powerpc targets, refresh patch
SVN-Revision: 27155
2011-06-11 13:25:00 +00:00
Jo-Philipp Wich
6894dfb0fb uClibc: fix a crash in __read_etc_hosts_r() that occurs if more than five hostnames follow a dotted quad in /etc/hosts
SVN-Revision: 27131
2011-06-07 21:54:14 +00:00
Mirko Vogt
18caed8793 remove empty file (patch went upstream and file didn't get deleted but only cleared)
SVN-Revision: 27122
2011-06-07 08:37:25 +00:00
Mirko Vogt
59ad83aff1 upgrade Linaro GCC to 4.5-2011.05-0 - thanks to Mark Mentovai
SVN-Revision: 27118
2011-06-07 00:13:56 +00:00
Mirko Vogt
2629de3ef2 use 'fputws_unlocked(S,F)' instead of 'fputws(S,F)'
this eliminates a source of reproduceable freezes
http://lists.uclibc.org/pipermail/uclibc/2011-May/045367.html

SVN-Revision: 27001
2011-05-24 15:53:15 +00:00
Felix Fietkau
a621c3c24a uClibc: update to latest version (rc3 + git changes), contains fixes for ipv6 dns issues
SVN-Revision: 26703
2011-04-17 17:38:35 +00:00
Felix Fietkau
082ab53ed1 uClibc: fix issues with libpthread vs libc link order on mips
SVN-Revision: 26702
2011-04-17 17:38:26 +00:00
Felix Fietkau
3ae4dec6b2 uClibc: forced unwind for pthread_cancel handling is broken and triggers spurious abort() calls from libgcc. disable it and use the other method instead
SVN-Revision: 26547
2011-04-09 15:46:58 +00:00
Felix Fietkau
d637ae2fc8 make the build system a bit more silent without V=99
SVN-Revision: 26460
2011-04-04 00:54:37 +00:00
Imre Kaloz
ec33947689 fixup armeb, too
SVN-Revision: 26034
2011-03-11 11:35:31 +00:00
Imre Kaloz
d4afc36c84 simplify TARGET_SUFFIX selection
SVN-Revision: 26033
2011-03-11 11:33:03 +00:00
Felix Fietkau
2efb2ef8b1 toolchain: fix r26004
SVN-Revision: 26006
2011-03-10 13:37:30 +00:00
Alexandros C. Couloumbis
deafde5632 toolchain: fix r25969
SVN-Revision: 26004
2011-03-10 13:21:00 +00:00
Felix Fietkau
36bc85648b fix target name mixup caused by r25928
SVN-Revision: 25969
2011-03-09 11:37:50 +00:00
Felix Fietkau
e52b720870 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
SVN-Revision: 25952
2011-03-08 13:10:11 +00:00
Imre Kaloz
4cd2bef057 upgrade to the 2011.03-0 release from Linaro
SVN-Revision: 25948
2011-03-08 07:51:06 +00:00
Felix Fietkau
bc8728d9ce uClibc: add back R_PPC_REL24 relocation support, the dynamic libgcc changes depend on it for powerpc
SVN-Revision: 25944
2011-03-07 22:38:48 +00:00
Imre Kaloz
b74308c433 only support EABI on ARM targets
SVN-Revision: 25928
2011-03-07 12:59:19 +00:00
Felix Fietkau
7b64200684 gcc: include assembler functions in the shared libgcc_s library, fixes missing symbol issues on powerpc
SVN-Revision: 25912
2011-03-06 22:54:30 +00:00
Felix Fietkau
fff328fd41 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>

SVN-Revision: 25871
2011-03-04 21:38:15 +00:00
Alexandros C. Couloumbis
e2a0620d44 toolchain/gcc: fix r25709 (closes #8964)
SVN-Revision: 25844
2011-03-03 10:09:06 +00:00
Felix Fietkau
d1f44a7598 gcc: disable extension elimination, it causes hostapd to be miscompiled on mips
SVN-Revision: 25834
2011-03-02 17:54:02 +00:00
Felix Fietkau
c2e2651b71 toolchain: remove -lgcc_eh from the default libgcc spec, it breaks packages
SVN-Revision: 25807
2011-03-01 15:38:58 +00:00
Felix Fietkau
783e064632 uClibc: set the toolchain info at install time instead of prepare time, fixes staging dir rebuilds
SVN-Revision: 25803
2011-03-01 05:41:02 +00:00
Felix Fietkau
23e18c9037 gcc-linaro: fix the libgcc spec to default to using the shared libgcc
SVN-Revision: 25801
2011-03-01 05:40:47 +00:00
Imre Kaloz
aa6099c624 backport fa526 optimization for gcc 4.5+
SVN-Revision: 25709
2011-02-25 17:44:18 +00:00
Imre Kaloz
446f79385b use the Linaro GCC for arm and mips targets
SVN-Revision: 25708
2011-02-25 17:43:15 +00:00
Imre Kaloz
a3989e3dbd 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>

SVN-Revision: 25705
2011-02-25 16:52:25 +00:00
Imre Kaloz
ae885a3978 upgrade to latest git, refresh patches
SVN-Revision: 25698
2011-02-24 12:56:20 +00:00
Imre Kaloz
0be1f2ba60 sync avr32 patch with the latest ones from atmel
SVN-Revision: 25696
2011-02-24 08:14:15 +00:00
Imre Kaloz
e733d679a0 remove the CS variant - broken since it's addition
SVN-Revision: 25648
2011-02-21 11:43:16 +00:00
Felix Fietkau
ad6c7066a6 gcc: remove arch default duplication, fix version selection for !TOOLCHAINOPTS
SVN-Revision: 25633
2011-02-20 22:09:51 +00:00
Florian Fainelli
237d0ec935 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>

SVN-Revision: 25585
2011-02-19 12:44:33 +00:00
Imre Kaloz
cc880f6736 only enable binutils 2.21 for avr32 if BROKEN is selected
SVN-Revision: 25572
2011-02-18 13:48:42 +00:00
Imre Kaloz
aca90e900a add some more avr32 fixes
SVN-Revision: 25571
2011-02-18 13:47:36 +00:00
Imre Kaloz
73eefab7b9 whitespace cleanup
SVN-Revision: 25570
2011-02-18 13:45:35 +00:00
Imre Kaloz
57be27f340 add binutils 2.21
SVN-Revision: 25567
2011-02-18 09:52:19 +00:00
Imre Kaloz
3e974e67b2 combine all avr32 patches into a single one
SVN-Revision: 25566
2011-02-18 09:25:59 +00:00
Imre Kaloz
74ecb8f3c6 add avr32 support
SVN-Revision: 25562
2011-02-16 22:44:47 +00:00
Imre Kaloz
667ac6c970 additional avr32 fixes
SVN-Revision: 25556
2011-02-16 15:26:08 +00:00
Imre Kaloz
82608a62ad refresh patches
SVN-Revision: 25555
2011-02-16 15:24:48 +00:00
Imre Kaloz
238721c650 fixup gcc version selection
SVN-Revision: 25554
2011-02-16 15:21:17 +00:00
Imre Kaloz
e01a14ceea fixup the ubicom patch, refresh
SVN-Revision: 25552
2011-02-16 14:05:08 +00:00
Imre Kaloz
9818d6f549 refresh patches
SVN-Revision: 25551
2011-02-16 13:51:31 +00:00
Felix Fietkau
72ca180fd7 uClibc: remove 0.9.30, 0.9.31
SVN-Revision: 25542
2011-02-15 01:29:13 +00:00
Felix Fietkau
383d17913f uclibc: disable COMPAT_ATEXIT
SVN-Revision: 25517
2011-02-13 14:18:08 +00:00
Imre Kaloz
b0a9a4d66c upgrade to latest git
SVN-Revision: 25516
2011-02-13 12:32:01 +00:00
Imre Kaloz
01a424b4f9 upgrade to 2011.02, rename patchset directory
SVN-Revision: 25515
2011-02-13 11:27:58 +00:00
Felix Fietkau
c672eeffc9 remove the shared object stubs of libnsl and libresolv - let the compiler use the static variants instead
SVN-Revision: 25511
2011-02-13 03:26:10 +00:00
Felix Fietkau
e6a0ebc989 uclibc: disable rpc support - replaced by the external librpc, saves ~80k
SVN-Revision: 25504
2011-02-13 01:45:59 +00:00
Felix Fietkau
29de442b0d kernel-headers: get rid of the arch/$(ARCH)/include/asm vs include/asm-$(ARCH) copying mess and stick to what the kernel is using
SVN-Revision: 25443
2011-02-10 03:52:39 +00:00
Imre Kaloz
247e919223 autodetect ARM variant/ABI setup based on the compiler settings
SVN-Revision: 25328
2011-02-02 20:19:28 +00:00
Imre Kaloz
fa5259d442 update to latest git version
SVN-Revision: 25327
2011-02-02 20:07:28 +00:00
Imre Kaloz
8570c4be39 fixup arm soft-float symbols
SVN-Revision: 25325
2011-02-02 20:06:12 +00:00
Imre Kaloz
f3621a025c refresh patch
SVN-Revision: 25324
2011-02-02 20:05:33 +00:00
Imre Kaloz
7edc8ca545 add armv4 fixup patches
SVN-Revision: 25322
2011-02-02 19:34:36 +00:00
Felix Fietkau
e1d823338b gcc: fix default version selection - fixes missing MPC configure error during toolchain build
SVN-Revision: 25283
2011-02-01 16:57:01 +00:00
Felix Fietkau
14840f6854 eglibc: disable ssp, it breaks the build
SVN-Revision: 25280
2011-02-01 16:21:49 +00:00
Felix Fietkau
4e6bca2d05 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
SVN-Revision: 25223
2011-01-29 00:21:13 +00:00
Jo-Philipp Wich
ab217388a9 uClibc: remove references to $(CONFIG_LARGEFILE)
SVN-Revision: 25209
2011-01-28 17:04:08 +00:00
Felix Fietkau
bf51ee3572 gcc: fix linaro 4.5.1 version check
SVN-Revision: 25203
2011-01-28 16:37:30 +00:00
Imre Kaloz
a48d1f3a70 refresh patches
SVN-Revision: 25195
2011-01-28 12:34:32 +00:00
Felix Fietkau
2e6f6843a6 uClibc: fix version check for 0.9.32
SVN-Revision: 25189
2011-01-28 02:41:53 +00:00
Felix Fietkau
57e5df3758 binutils: backport a fix for broken relocation entries on mips with -fPIE, fixes dbus-server crash with sstrip
SVN-Revision: 25188
2011-01-28 02:29:01 +00:00
Felix Fietkau
b514156559 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
SVN-Revision: 25187
2011-01-28 01:10:45 +00:00
Felix Fietkau
b00758f178 uClibc 0.9.32: fix infinite recursion on application exit triggered by linking libc before libpthread
SVN-Revision: 25186
2011-01-28 01:10:41 +00:00
Imre Kaloz
50be0201f1 cleanup toolchain version handling
SVN-Revision: 25148
2011-01-27 13:55:00 +00:00
Imre Kaloz
b255026bd1 nuke unneeded patchsets as well
SVN-Revision: 25145
2011-01-27 13:28:27 +00:00
Imre Kaloz
25fb11cf89 get rid of gcc 4.1.2 and 4.2.4 support
SVN-Revision: 25144
2011-01-27 13:24:38 +00:00
Imre Kaloz
d8634c4521 use the linaro gcc by default (right now this only affects x86 targets)
SVN-Revision: 25142
2011-01-27 13:17:50 +00:00
Imre Kaloz
74da93780b LEON is SPARC v8
SVN-Revision: 25141
2011-01-27 12:54:08 +00:00
Imre Kaloz
1d02e78a6f update to latest git
SVN-Revision: 25082
2011-01-24 09:40:24 +00:00
Felix Fietkau
7c74f58779 uClibc 0.9.32: fix libm compile for powerpc
SVN-Revision: 25013
2011-01-16 01:24:43 +00:00
Jo-Philipp Wich
26616b18a4 add explicit dependencies between gcc prepare stages, fixes source download race with make -j (#8596)
SVN-Revision: 24969
2011-01-12 15:44:53 +00:00
Imre Kaloz
5428a58287 upgrade to latest git snapshot
SVN-Revision: 24889
2011-01-03 14:20:30 +00:00
Gabor Juhos
72ba27ae72 cns21xx: add initial support for the Cavium CNS21xx SoC
SVN-Revision: 24859
2010-12-30 17:19:16 +00:00
Alexandros C. Couloumbis
e010aa6408 toolchain/gcc: fix r24746
SVN-Revision: 24751
2010-12-21 14:54:34 +00:00
Imre Kaloz
30439e7092 add gcc 4.5.2 (replaces 4.5.1)
SVN-Revision: 24746
2010-12-21 08:13:21 +00:00
Felix Fietkau
010b64f251 fix a compile error with uclibc 0.9.32 and newer kernels
SVN-Revision: 24735
2010-12-20 14:25:17 +00:00
Felix Fietkau
014d3b98b9 gcc: fix newer libstdc++ compile issues with uclibc 0.9.32
SVN-Revision: 24734
2010-12-20 14:25:05 +00:00
Imre Kaloz
a0e49fa2d1 upgrade the linaro gcc to the 2010.12 release
SVN-Revision: 24563
2010-12-14 09:50:59 +00:00
Imre Kaloz
d4bf98f231 add plemininary ultrasparc support
SVN-Revision: 24558
2010-12-14 07:57:22 +00:00
Daniel Dickinson
2309cd6dad binutils: Fix autoreconf for packages/devel/binutils package, which uses binutils toolchain patches
SVN-Revision: 24509
2010-12-12 01:43:46 +00:00
Alexandros C. Couloumbis
b083d00b8b toolchain/uClibc: apply an upstream 0.9.32 patch (Unwind_Resume calls to go via PLT to avoid text relocations for PIC)
SVN-Revision: 24396
2010-12-09 18:31:13 +00:00
Imre Kaloz
044ea01f9c preliminary support for Freescale MPC85xx based boards
SVN-Revision: 24259
2010-12-05 11:38:59 +00:00
Alexandros C. Couloumbis
581378f5cb toolchain/uClibc: sync to latest uClibc-0.9.32
SVN-Revision: 24229
2010-12-03 16:36:37 +00:00
Alexandros C. Couloumbis
ec7e1cee0b toolchain/uClibc: push an upstream fix
SVN-Revision: 24228
2010-12-03 14:46:09 +00:00
Felix Fietkau
f21c0cacf8 uClibc: add back a few cflags that were being overwritten, might fix a few segfauls (thx, framer99)
SVN-Revision: 24120
2010-11-24 00:30:26 +00:00
Felix Fietkau
1a0a584ea6 uClibc: fix ubicom32 compile error with 0.9.32
SVN-Revision: 24101
2010-11-22 17:50:08 +00:00
Felix Fietkau
c0915e5983 uClibc: fix headers install on prepare with QUILT=1
SVN-Revision: 24100
2010-11-22 17:50:01 +00:00
Felix Fietkau
ff46ed446d uClibc: make UCLIBC_HAS_LONG_DOUBLE_MATH generic
SVN-Revision: 24099
2010-11-22 17:49:51 +00:00
Felix Fietkau
bfe53cdbbe uClibc: fix cris compile on 0.9.32
SVN-Revision: 24094
2010-11-22 16:18:43 +00:00
Felix Fietkau
9494ddd30f uClibc: fix compile error on avr32
SVN-Revision: 24093
2010-11-22 15:14:16 +00:00
Felix Fietkau
df5509a30e uClibc: disable nptl on a few targets where it is not supported yet
SVN-Revision: 24092
2010-11-22 14:50:33 +00:00
Felix Fietkau
0fed0806df uClibc: 0.9.32 needs the ldso fix as well
SVN-Revision: 24074
2010-11-22 01:48:29 +00:00
Felix Fietkau
05e837fb6d uClibc: update 0.9.32 to latest git
SVN-Revision: 24073
2010-11-22 00:44:37 +00:00
Alexandros C. Couloumbis
74d8aaa314 toolchain/uClibc: fix upstream patch name on r24029
SVN-Revision: 24030
2010-11-18 15:01:30 +00:00
Alexandros C. Couloumbis
eb45bb90d4 toolchain/uClibc: push some upstream patches for uClibc-0.9.31. should resolve isses of #8269
SVN-Revision: 24029
2010-11-18 14:58:37 +00:00
Imre Kaloz
54640d6592 update the linaro gcc to v2010.11-1
SVN-Revision: 23940
2010-11-10 12:27:33 +00:00
Jo-Philipp Wich
7972cc4a7f 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.
SVN-Revision: 23905
2010-11-06 23:49:11 +00:00
Jo-Philipp Wich
12b122f31f 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>

SVN-Revision: 23892
2010-11-05 21:38:38 +00:00
Imre Kaloz
d917b7d1ef use gcc 4.3.5 for avr32
SVN-Revision: 23866
2010-11-04 14:18:04 +00:00
Imre Kaloz
54dea0c74f add avr32 support to gcc 4.3.5
SVN-Revision: 23865
2010-11-04 14:17:06 +00:00
Imre Kaloz
4cdf723097 switch to uClibc 0.9.31
SVN-Revision: 23781
2010-11-02 13:57:57 +00:00
Imre Kaloz
5403c77633 switch to binutils 2.20.1 (except for avr32 and ubicom32)
SVN-Revision: 23780
2010-11-02 13:57:04 +00:00
Imre Kaloz
9611a0f606 remove support for uClibc 0.9.30.2 and 0.9.30.3
SVN-Revision: 23779
2010-11-02 12:56:58 +00:00
Imre Kaloz
387c2adead remove unneeded config options, too
SVN-Revision: 23706
2010-10-29 10:55:54 +00:00
Imre Kaloz
f6ff75eed6 fix typo
SVN-Revision: 23705
2010-10-29 10:48:14 +00:00
Imre Kaloz
723ab81016 get rid of old gcc versions
SVN-Revision: 23704
2010-10-29 10:45:59 +00:00
Imre Kaloz
57017cf64c add support for Linaro GCC 2010.10
SVN-Revision: 23703
2010-10-29 10:37:51 +00:00
Imre Kaloz
16ec438707 fix typo
SVN-Revision: 23695
2010-10-28 11:19:38 +00:00
Imre Kaloz
bdeb70c8d7 sync gcc's Config.in with Config.version
SVN-Revision: 23694
2010-10-28 10:59:58 +00:00
Imre Kaloz
3a89cedc85 the latest patchlevel gcc releases should work for these targets
SVN-Revision: 23693
2010-10-28 10:38:32 +00:00
Imre Kaloz
6bd93c3fdf fixup gcc version selection for the omap35xx target
SVN-Revision: 23692
2010-10-28 10:29:53 +00:00
Imre Kaloz
4fb2718119 we don't support gcc 3.x for some time now
SVN-Revision: 23686
2010-10-28 07:28:17 +00:00
Imre Kaloz
95cba52ba4 remove support for binutils 2.18 and 2.20
SVN-Revision: 23685
2010-10-28 07:26:07 +00:00
Imre Kaloz
9edd05b9c0 gcc 4.4.5 support
SVN-Revision: 23220
2010-10-04 12:21:58 +00:00
Michael Büsch
cf323eb924 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.
SVN-Revision: 23196
2010-10-03 12:54:07 +00:00
Felix Fietkau
ffd00db938 gcc: enable non-PIC for mips targets in gcc 4.4+ to reduce code size
SVN-Revision: 23103
2010-09-20 20:49:34 +00:00
Felix Fietkau
affb66c2c6 gcc: add an updated version of 4.4.1+cs - successfully builds a toolchain now, please test!
SVN-Revision: 23101
2010-09-20 18:00:05 +00:00
Alexandros C. Couloumbis
f097df6944 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)
SVN-Revision: 22899
2010-09-04 17:00:55 +00:00
Felix Fietkau
00d1e599d7 add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
SVN-Revision: 22871
2010-09-01 17:51:36 +00:00
Felix Fietkau
198730fb3d fix a compile error when compiling with glibc (#7816)
SVN-Revision: 22869
2010-09-01 15:21:43 +00:00
Florian Fainelli
0e00670962 gcj can only be built safely on gcc >= 4.3
SVN-Revision: 22843
2010-08-30 07:35:18 +00:00
Felix Fietkau
62c1740676 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
SVN-Revision: 22723
2010-08-19 12:49:51 +00:00
Nicolas Thill
4bd5e0e62e toolchain/gcc: remove remaining references to gcc-3.4.6
SVN-Revision: 22694
2010-08-18 11:04:45 +00:00
Mirko Vogt
3cf86bb692 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)
SVN-Revision: 22511
2010-08-06 12:42:04 +00:00
Lars-Peter Clausen
04497bbb2c Add lost handling of -fhonour-copts to 4.4.x+cs/910-mbsd_multi.patch
SVN-Revision: 22474
2010-08-03 15:32:25 +00:00
Florian Fainelli
332227b067 add support for gcc-4.5.1
SVN-Revision: 22450
2010-08-01 12:39:19 +00:00
Florian Fainelli
cb4dcc9c0d bump default gcc-4.4 version for sibyte and octeon
SVN-Revision: 22437
2010-07-31 11:52:48 +00:00
Imre Kaloz
a1cdb24a3b add support for the Gateworks Laguna family (Cavium Networks Econa CNS3xxx)
SVN-Revision: 22323
2010-07-21 11:20:53 +00:00
Felix Fietkau
5149ed151d 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
SVN-Revision: 22319
2010-07-20 20:57:21 +00:00
Imre Kaloz
e4ad93f5f8 the storm target is gone for a long time now
SVN-Revision: 22311
2010-07-20 11:11:22 +00:00
Felix Fietkau
6f0f021c87 remove support for building kernel headers with old kernels
SVN-Revision: 21957
2010-06-26 20:44:48 +00:00
Felix Fietkau
0410a7b549 remove gcc 3.4.6
SVN-Revision: 21955
2010-06-26 20:44:02 +00:00
Mirko Vogt
aa85835ef2 patch went upstream, so bump git version and remove patch locally
SVN-Revision: 21881
2010-06-22 19:24:06 +00:00
Hamish Guthrie
4732fe9718 Refactor omap35xx sub-targets to cater for beagleboard and gumstix overo
SVN-Revision: 21858
2010-06-21 11:59:59 +00:00
Mirko Vogt
9d0f9d3758 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
SVN-Revision: 21856
2010-06-20 22:18:43 +00:00
Mirko Vogt
d6ef217a9f fix syntax error
SVN-Revision: 21843
2010-06-20 00:24:10 +00:00
Mirko Vogt
f5faa9520e make sure directory exists before copying into
SVN-Revision: 21842
2010-06-19 23:48:45 +00:00
Florian Fainelli
632694c4f6 fix eglibc INET_ANL option selection
SVN-Revision: 21660
2010-06-02 19:47:41 +00:00
Nicolas Thill
8dd583e3a4 toolchain/eglibc: add preliminary support for eglibc-2.12
SVN-Revision: 21611
2010-05-28 20:37:56 +00:00
Nicolas Thill
7d991147b3 toolchain/eglibc: update to latest revision for 2.9, 2.10 & 2.11
SVN-Revision: 21610
2010-05-28 19:48:25 +00:00
Nicolas Thill
fdb4fba4b7 toolchain/eglibc: allow building eglibc-2.11 with gcc-4.5.x
SVN-Revision: 21601
2010-05-28 15:33:44 +00:00
Nicolas Thill
4019bca7eb toolchain/gcc: add support for gcc-4.4.4
SVN-Revision: 21600
2010-05-28 13:50:47 +00:00
Nicolas Thill
32098a5faf toolchain/gcc: add support for gcc-4.3.5
SVN-Revision: 21599
2010-05-28 12:00:22 +00:00
Nicolas Thill
c75f28c31d toolchain/gcc: remove md5 for unsupported 4.4.0 version, add missing md5 for 4.3.4
SVN-Revision: 21580
2010-05-27 14:06:55 +00:00
Nicolas Thill
6da563992e toolchain/gcc: sort versions in Config.in (cosmetic)
SVN-Revision: 21579
2010-05-27 14:04:57 +00:00
Nicolas Thill
7ca97b03d9 toolchain/kernel-headers: simplify linux headers installation (remove legacy hacks, cleanup)
SVN-Revision: 21567
2010-05-24 20:38:36 +00:00
Florian Fainelli
8e26889bb8 add upstream uclibc 0.9.31 patch to fix fcntl64 on 64-bits targets
SVN-Revision: 21504
2010-05-19 09:05:10 +00:00
Jo-Philipp Wich
fad018cfdd fix syntax error in Config.in
SVN-Revision: 21062
2010-04-20 21:13:12 +00:00
Florian Fainelli
8ca51dc6f1 fix graphite options with gcc-4.5, add libelf for LTO, fix mbsd_multi patch, patch from Bernhard Loos
SVN-Revision: 21046
2010-04-20 16:18:08 +00:00
Alexandros C. Couloumbis
6d59a298e8 add gcc-4.5.0 preliminary support
SVN-Revision: 21033
2010-04-19 15:43:08 +00:00
Nicolas Thill
37551b9366 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)
SVN-Revision: 20900
2010-04-16 02:55:30 +00:00
Gabor Juhos
a8e20318c5 toolchain/uClubc-0.9.31: fix syscalls on MIPS
SVN-Revision: 20882
2010-04-15 19:28:10 +00:00
Nicolas Thill
349439d7ea toolchain/uClibc: add preliminary support for 0.9.31 (needs testing)
SVN-Revision: 20873
2010-04-15 05:59:10 +00:00
Nicolas Thill
128233fba1 toolchain/kernel-headers: restore support for patches, needed for ubicom32
SVN-Revision: 20872
2010-04-15 05:00:00 +00:00
Gabor Juhos
fb04eb588e toolchain/binutils: building gas for arm-*-uclibc systems requires linking with -lm
SVN-Revision: 20594
2010-03-30 08:01:35 +00:00
Felix Fietkau
25d3c0fcd0 fix kernel-headers build
SVN-Revision: 20584
2010-03-29 15:16:17 +00:00
Gabor Juhos
af1fb0bdd1 uClibc: fix free-after-use bug in __dns_lookup (closes #6886)
SVN-Revision: 20384
2010-03-23 08:12:24 +00:00
Florian Fainelli
0193462642 fix kernel-headers build for uml
SVN-Revision: 20203
2010-03-14 16:21:18 +00:00
Florian Fainelli
e6ec1ce8cf add support for uClibc 0.9.30.3
SVN-Revision: 20181
2010-03-13 17:22:18 +00:00
Alexandros C. Couloumbis
6dfce04b55 add binutils-2.20.1
SVN-Revision: 20137
2010-03-11 11:50:25 +00:00
Nicolas Thill
4437156961 uClibc: enhance debug support (closes: #6118)
SVN-Revision: 20031
2010-03-07 15:10:57 +00:00
Nicolas Thill
4c63458e63 uClibc: revert to old linuxthreads implementation on x86 (like all others arches)
SVN-Revision: 20030
2010-03-07 15:06:22 +00:00
Nicolas Thill
10d11328ef gcc: only enable/disable TLS support in final stage (closes: #6788)
SVN-Revision: 20018
2010-03-06 17:10:45 +00:00
Travis Kemen
cf7199f48b this patch fixes toolchain parallel build, which reduces build time.
In order to enable parallel build, change line 21 of
include/host-build.mk from:

override MAKEFLAGS=

to:

override MAKEFLAGS=$(MAKE_JOBS)

-Raphael

SVN-Revision: 19995
2010-03-05 20:15:12 +00:00
Florian Fainelli
4f04551880 cleanup the 2.6.33 and later kernels kernel-headers installation
SVN-Revision: 19962
2010-03-03 12:54:08 +00:00
Florian Fainelli
b1d3ace5ea fix compilation w/ 2.6.33
SVN-Revision: 19933
2010-03-01 14:55:07 +00:00
Imre Kaloz
d2bf3771ed upgrade and fixup support for the uclibc nptl branch
SVN-Revision: 19871
2010-02-26 11:03:59 +00:00
Imre Kaloz
c354852432 make TLS support configurable
SVN-Revision: 19870
2010-02-26 11:01:28 +00:00
Jo-Philipp Wich
24b495c619 add menuconfig item to enable uClibc debug builds
SVN-Revision: 19860
2010-02-25 19:27:54 +00:00
Imre Kaloz
3e139467ce use gcc 4.3.4 for the gemini target
SVN-Revision: 19824
2010-02-23 10:49:58 +00:00
Imre Kaloz
a49f5f7376 fix varargs handling of the prctl syscall
SVN-Revision: 19740
2010-02-19 09:58:52 +00:00
Imre Kaloz
948fcc98f0 use gcc 4.4.3 for mips64 targets
SVN-Revision: 19686
2010-02-17 11:07:51 +00:00
Imre Kaloz
666c2fef6a use binutils 2.19.1 by default for avr32, too
SVN-Revision: 19678
2010-02-16 21:49:32 +00:00
Imre Kaloz
c8e6779d2a add avr32 support for binutils 2.19.1 based on the Atmel 1.2.0 toolchain release
SVN-Revision: 19677
2010-02-16 21:48:13 +00:00
Imre Kaloz
0b5ddcb9cf use gcc 4.4.3 for the powerpc targets by default
SVN-Revision: 19671
2010-02-16 21:29:07 +00:00
Imre Kaloz
8886484603 fixup the hunks in patch
SVN-Revision: 19635
2010-02-15 11:34:25 +00:00
Imre Kaloz
9df6b68bfa ubicom32 isn't supported with binutils 2.18
SVN-Revision: 19632
2010-02-15 09:36:03 +00:00
Imre Kaloz
5bd4c4e26d the CS toolchain FTBS for the gemini, use the old one for now
SVN-Revision: 19556
2010-02-08 21:26:54 +00:00
Felix Fietkau
8775d98c19 add missing +cs version suffix to the 4.4.3 codesourcery toolchain
SVN-Revision: 19350
2010-01-26 20:19:28 +00:00
Felix Fietkau
78cae39e72 gcc: fix up broken chunks of the 4.4.3+cs patch and clean it up a bit more
SVN-Revision: 19349
2010-01-26 20:13:01 +00:00
Imre Kaloz
b69732ba94 add another gcc version based on 4.4.3 plus the 2009q3 codesourcery patch
SVN-Revision: 19348
2010-01-26 18:41:22 +00:00
Imre Kaloz
e4e0e3ee6c cleanup patch
SVN-Revision: 19345
2010-01-26 12:46:05 +00:00
Imre Kaloz
cae33bf4e9 add preliminary support for the latest CodeSourcery toolchain
SVN-Revision: 19324
2010-01-25 10:52:23 +00:00
Imre Kaloz
58c556e597 add support for gcc 4.4.3
SVN-Revision: 19314
2010-01-24 15:07:12 +00:00
Florian Fainelli
aa0e08a565 fix uclibc for mips by adding missing upstream hunks
SVN-Revision: 19272
2010-01-22 10:55:03 +00:00
Nicolas Thill
9e0bad9cb4 gcc: use coherent version selector between binutils & gcc
SVN-Revision: 19227
2010-01-19 13:26:03 +00:00
Nicolas Thill
b172f237fa binutils: remove unrelated hunk in 2.18 avr32 support patch
SVN-Revision: 19226
2010-01-19 13:23:59 +00:00
Florian Fainelli
1ebff51904 add support for uClibc 0.9.30.2
SVN-Revision: 19125
2010-01-14 12:27:46 +00:00
Imre Kaloz
06d8dc9329 get rid of even more 2.6.28 stuff
SVN-Revision: 18953
2009-12-27 21:35:42 +00:00
Felix Fietkau
fa044a2d81 gcc: 4.4.2 no longer needs the fix-linker-error patch, remove it
SVN-Revision: 18857
2009-12-19 22:40:17 +00:00
Felix Fietkau
86d22845f9 kernel-headers: add linux 2.6.30 headers for ubicom32
SVN-Revision: 18792
2009-12-16 13:39:49 +00:00
Felix Fietkau
96f342eaa4 gcc: fix linker errors on osx with gcc 4.4+
SVN-Revision: 18791
2009-12-16 13:39:44 +00:00
Florian Fainelli
e5e83bf051 fix gcc version selection for octeon
SVN-Revision: 18551
2009-11-26 18:44:00 +00:00
Nicolas Thill
0adb09325c eglibc: add support for v2.11
SVN-Revision: 18522
2009-11-24 07:03:04 +00:00
Nicolas Thill
143213091b eglibc: update v2.10 to rev. 9289
SVN-Revision: 18518
2009-11-24 00:43:31 +00:00
Nicolas Thill
bb4a7fcec3 cosmetic: more reformatting missed from [18480]
SVN-Revision: 18481
2009-11-22 15:49:35 +00:00
Nicolas Thill
174ddb1694 cosmetic: reformat library configuration submenu - adjust indent & spaces - use coherent config symbol names in help
SVN-Revision: 18480
2009-11-22 15:34:26 +00:00
Nicolas Thill
31596ddc01 eglibc: fix wrong config symbol name if library configuration submenu
SVN-Revision: 18479
2009-11-22 15:30:11 +00:00
Nicolas Thill
cfad7b6c08 eglibc: don't use minor version numbers in config symbols, only in version strings
SVN-Revision: 18474
2009-11-22 12:27:39 +00:00
Felix Fietkau
60a4353fdd do not use the wrapper scripts for exportable toolchains internally. on some systems the wrapper scripts are broken, and their use should be opt-in
SVN-Revision: 18454
2009-11-19 17:23:31 +00:00
Felix Fietkau
44aa03f2f9 Add a target (CONFIG_MAKE_CONFIG) that creates an exportable toolchain. The toolchain will zipped and saved under $(TOPDIR)/bin directory.
Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>

SVN-Revision: 18419
2009-11-14 17:51:32 +00:00
Felix Fietkau
3a5deae00d gcc: add a config option for using the gcc graphite framework (disabled by default)
SVN-Revision: 18403
2009-11-12 13:42:07 +00:00
Felix Fietkau
6007ab61ec binutils: fix build errors in 2.20 (patch from #6094)
SVN-Revision: 18307
2009-11-05 01:49:20 +00:00
Felix Fietkau
ce9ea905c1 gcc: fix build with cloog/ppl
SVN-Revision: 18266
2009-11-02 00:47:27 +00:00
Felix Fietkau
affe22dce7 binutils: fix path to cloog and ppl
SVN-Revision: 18265
2009-11-02 00:47:24 +00:00
Felix Fietkau
4fd397fad9 add binutils 2.20
SVN-Revision: 18263
2009-11-02 00:47:17 +00:00
Florian Fainelli
912525e8bb update insight to 6.8-1 (#6007)
SVN-Revision: 18217
2009-10-29 23:42:12 +00:00
Felix Fietkau
27e1c7f091 uClibc: implement copysignl in libc on powerpc to avoid undefined references in libstdc++
SVN-Revision: 18178
2009-10-27 01:11:40 +00:00
Felix Fietkau
46cc3f164d gcc: compile libgcc and libstdc++ with -O2 instead of -Os on power pc to avoid generating references to gpr save/restore functions which cannot yet be resolved at this point
SVN-Revision: 18177
2009-10-27 01:11:35 +00:00
Florian Fainelli
6d7b5a7e62 combine the two gcc-4.4.1 selects into a single one
SVN-Revision: 18148
2009-10-25 10:17:50 +00:00
Felix Fietkau
b59e59dcba gcc: fix compile on armv4t with the cs toolchain
SVN-Revision: 18131
2009-10-24 00:58:38 +00:00
Felix Fietkau
e7c0b6aa00 gcc: fix bug reporting url in newer compiler versions
SVN-Revision: 18130
2009-10-24 00:58:34 +00:00
Florian Fainelli
97d2d1f90f get rid of gcc-4.4.0 support
SVN-Revision: 18115
2009-10-21 14:32:09 +00:00