nbd
40b6fce4a1
toolchain: keep the initial gcc around for later uclibc rebuilds
...
testing uclibc changes is tricky because the final gcc tends to miscompile
uclibc code or barf up internal compiler errors.
install binutils into $(TOOLCHAIN_DIR)/initial (without changing the configure
prefix) and copy it from there to $(TOOLCHAIN_DIR)/ so that the initial gcc
can be put into $(PATH) for the uclibc build, even if the final gcc
is already installed.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 18:12:15 +00:00
nbd
e687ad62c7
toolchain: install libgcc for minimal gcc, needed by newer eglibc versions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 12:24:13 +00:00
kaloz
7e7649baa9
[coldfire]: switch to 2.6.38
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-01 07:00:17 +00:00
jow
ede1bee20b
[toolchain] gcc: fix getenv() patches for 4.4.7 and 4.5-linaro
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-27 12:05:34 +00:00
mirko
632e1ee3ae
[toolchain/gcc] remove screwed up patch for gcc 4.7-linaro which got committed by accident
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 10:23:49 +00:00
mirko
448e6c21cc
[toolchain/gcc] add support for GCC 4.7-linaro (based on GCC 4.7.1)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 09:58:31 +00:00
jow
0ecfeb5ef7
[toolchain] gcc: add patch to make the getenv() spec function nonfatal if requested environment variable is unset
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 03:02:39 +00:00
jow
a319660afc
toolchain/gcc: gcc-4.7.0 upstream patch fixing uClibc problems
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 07:48:02 +00:00
kaloz
7a2d11b187
[toolchain/gcc/4.4]: upgrade to gcc 4.4.7
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 17:00:03 +00:00
mirko
2b55ad4ab5
[toolchain/gcc] add support for gcc 4.7.0 - thanks to acoul!
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-07 15:34:41 +00:00
juhosg
aea2ea8721
toolchain/gcc-4.6.2: fix v4bx patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 10:55:49 +00:00
juhosg
e53007bd62
toolchain/gcc-4.6-linaro: fix v4bx patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 10:55:47 +00:00
nbd
9de940d8c6
gcc: now that the gpr save/restore issues are taken care of, remove the -Os/-O2 workaround that dealt with it earlier
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 00:51:05 +00:00
nbd
88093cf36c
gcc: do not emit references to _savegpr_* and _restgpr_* on powerpc, as they are tricky to deal with wrt. libgcc. they cannot be linked dynamically
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 00:51:01 +00:00
nbd
572b0cb4a3
gcc: use .eh_frame sections for exception handling stack unwind - saves about 400 bytes on every executable or shared library
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 16:55:08 +00:00
nbd
663ce9a3a6
gcc: enable --with-headers for the final toolchain build
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 16:55:01 +00:00
nbd
9bc4638399
gcc 4.6: port over the missing patch 850-use_shared_libgcc.patch to prevent libgcc crap from leaking into every single binary
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 20:25:47 +00:00
kaloz
98ab10100c
[toolchain/gcc]: upgrade vanilla gcc to 4.6.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:48:39 +00:00
kaloz
bf082bbd92
[tolchain/gcc]: use Linaro GCC 4.6 by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:14:18 +00:00
kaloz
3d87eafcef
[toolchain/gcc]: update to latest Linaro releases
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 08:50:18 +00:00
jow
bf04048249
[toolchain] invoke patch-specs.sh in the gcc/final install stage.
...
Patch up OpenWrts own cross toolchains to always search headers
and libraries in $STAGING_DIR, this should solve most issues with
missing headers, indirect linking and not found libraries.
At a later stage, all -I and -L flags will be purged from
TARGET_LDFLAGS and TARGET_CPPFLAGS.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:15:22 +00:00
kaloz
5d7b80359c
[toolchain/gcc]: upgrade to latest linaro releases
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 22:52:40 +00:00
nbd
056e3e42e0
gcc: always explicitly link against libstdc++, fixes build errors on some hosts that refuse to link it in implicitly (should fix #10587 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-12 10:15:20 +00:00
hauke
fdb4676b62
gcc: add 4.6-linaro version 4.6-2011.08
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:13:54 +00:00
hauke
f4d3cba607
gcc: make patches apply for gcc 4.5-linaro version 4.5-2011.08
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:12:47 +00:00
hauke
a259e0363d
gcc: move patches as the name changed.
...
This was missing in r28038.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:09:42 +00:00
hauke
7116227cee
gcc: update gcc-4.5-linaro to 4.5-2011.08
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:07:15 +00:00
hauke
ade52e08f7
gcc: rename linaro to 4.5-linaro
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:06:17 +00:00
kaloz
33e064fbce
[toolchain]: In R27118, TARGET_FIX_V4BX_SPEC got lost in the linker parameters.
...
Add it back.
Signed-off-by: Jochen Friedrich <jochen@scram.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-12 13:34:18 +00:00
kaloz
954994200e
[toolchain/gcc]: the only reasons for having 4.4 around are avr32 and ubicom32, so make it depend on them
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 11:15:00 +00:00
nbd
10e2f68dfd
toolchain: remove a dependency on a nonexistant config symbol (thx, Sedat Dilek)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 08:13:50 +00:00
kaloz
b9521f128e
[toolchain/gcc/linaro]: fix ppc toolchain build
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 22:19:38 +00:00
kaloz
23867be681
[toolchain/gcc]: simplify configuration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 07:50:26 +00:00
kaloz
e0457ac4da
[toolchain]: nuke support for older gcc versions, except for 4.4.6 (needed for avr32 and ubicom32)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 07:43:26 +00:00
kaloz
3c0b08a6b6
[toolchain/gcc]: both coldfire and etrax are broken and should use a newer gcc when they will be fixed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 07:28:16 +00:00
kaloz
be36aada21
[toolchain/gcc]: switch avr32 to gcc 4.4, also powerpc targets should work fine with linaro releases
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 13:44:03 +00:00
kaloz
e8a253ed34
[toolchain/gcc]: bump the 4.4 flavour to 4.4.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 13:39:50 +00:00
kaloz
9d43dbd716
[toolchain]: replace gcc 4.5.2 support with 4.6.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 11:43:15 +00:00
kaloz
bdc374886d
[toolchain]: add the latest avr32 toolchain patches (with additional fixes)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 11:35:21 +00:00
kaloz
98d589f532
[toolchain/gcc]: upgrade the linaro gcc to 2011.06
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 08:10:12 +00:00
jow
63ef78f3da
[toolchain] add gfortran compiler support ( #9600 , patch from Xiangfu Liu via Qi hardware)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-23 11:46:24 +00:00
jow
814de68e5d
[toolchain] introduce option to enable setjump()/longjump() based C++ exceptions ( #9185 , patch from David Kuehling via Qi hardware)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-23 11:37:39 +00:00
mirko
4bd6a5fd3e
[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
31816e3ec3
[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
nbd
0e2d55e3e3
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
nbd
531d32058a
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
nbd
882a558332
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
acoul
a3f4bd9b1c
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
nbd
ab7967640b
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
nbd
7386839604
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