Commit Graph

770 Commits (2bc81b5e4a4768b8c596a61ed110747f7c519f5a)

Author SHA1 Message Date
Mirko Vogt b8fad49ff3 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.
""

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-20 11:12:46 +00:00
Mirko Vogt 49540823df [toolchain/eglibc] explicitly disable the use of ldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 17:53:41 +00:00
Mirko Vogt 82322c1e1c [toolchain/eglibc] patch: add /usr/lib to default search path of dynamic linker
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 11:14:07 +00:00
Mirko Vogt 8fd46011a8 [toolchain/eglibc] add support for eglibc version 2.13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 11:14:05 +00:00
Mirko Vogt 0cb5e92400 [toolchain/eglibc} eglibc in fact can be built with -Os
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 11:14:01 +00:00
Mirko Vogt 764cdd9817 [toolchain/eglibc] when selecting eglibc, use version 2.12 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 07:33:28 +00:00
Mirko Vogt b80f0f3d6e [toolchain/glibc] fix glibc to work with all versions of binutils, fixes #7133 - thanks to marek siller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-17 22:51:24 +00:00
Felix Fietkau 8e31c2a97b toolchain/gdb: fix compile for powerpc targets, refresh patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-11 13:25:00 +00:00
Jo-Philipp Wich 0fcd03962b [toolchain] uClibc: fix a crash in __read_etc_hosts_r() that occurs if more than five hostnames follow a dotted quad in /etc/hosts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07 21:54:14 +00:00
Mirko Vogt ba73142018 [toolchain/gcc] remove empty file (patch went upstream and file didn't get deleted but only cleared)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07 08:37:25 +00:00
Mirko Vogt 22d346de35 [toolchain/gcc] upgrade Linaro GCC to 4.5-2011.05-0 - thanks to Mark Mentovai
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07 00:13:56 +00:00
Mirko Vogt 76522ed2a8 [toolchain/uclibc] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 15:53:15 +00:00
Felix Fietkau 84728b6931 uClibc: update to latest version (rc3 + git changes), contains fixes for ipv6 dns issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 17:38:35 +00:00
Felix Fietkau 35ba293e9b uClibc: fix issues with libpthread vs libc link order on mips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 17:38:26 +00:00
Felix Fietkau 6890d38166 uClibc: forced unwind for pthread_cancel handling is broken and triggers spurious abort() calls from libgcc. disable it and use the other method instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 15:46:58 +00:00
Felix Fietkau ffaa47c172 make the build system a bit more silent without V=99
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 00:54:37 +00:00
Imre Kaloz 1285a06923 [toolchain]: fixup armeb, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 11:35:31 +00:00
Imre Kaloz 6e26fed85f [toolchain]: simplify TARGET_SUFFIX selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 11:33:03 +00:00
Felix Fietkau 1e298cab6f toolchain: fix r26004
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 13:37:30 +00:00
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