Felix Fietkau
a8311020d6
toolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid errors on copying
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 21:43:59 +00:00
Felix Fietkau
68e39d682c
toolchain/gcc: fix installing the toolchain after removing the toolchain dir without a full rebuild
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 18:12:19 +00:00
Felix Fietkau
488f47237e
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
Felix Fietkau
b974ea4ba8
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
Imre Kaloz
9d2b3add2a
[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
Jo-Philipp Wich
8a777e9a30
[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 Vogt
f3ed2f9126
[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 Vogt
3ec24f82e1
[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
Jo-Philipp Wich
1272afb1c4
[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
Jo-Philipp Wich
f259f91689
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
Imre Kaloz
240c8ea1fe
[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 Vogt
75df536d1b
[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
Gabor Juhos
d414ea291f
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
Gabor Juhos
89c81ea6b8
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
Felix Fietkau
d31f8e6874
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
Felix Fietkau
9f1e04f9ae
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
Felix Fietkau
7472c7c236
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
Felix Fietkau
927594bdea
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
Felix Fietkau
1f0e01a793
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
Imre Kaloz
db6cb4a031
[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
Imre Kaloz
2a65a2340e
[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
Imre Kaloz
1f355ba283
[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
Jo-Philipp Wich
03eb729498
[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
Imre Kaloz
dbbcc5eb2e
[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
Felix Fietkau
fab0eb7e21
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 Mehrtens
2ce47af8ca
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 Mehrtens
cc787525ab
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 Mehrtens
26af84ab12
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 Mehrtens
caba936a9b
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 Mehrtens
5000682f07
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
Imre Kaloz
aca47677c3
[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
Imre Kaloz
f01ffe22cf
[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
Felix Fietkau
f5c37ab96a
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
Imre Kaloz
c7f23f3bc0
[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
Imre Kaloz
462da43074
[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
Imre Kaloz
afc6a12d27
[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
Imre Kaloz
7a80c90573
[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
Imre Kaloz
e65b1e368e
[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
Imre Kaloz
83277098dc
[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
Imre Kaloz
8f9fb69106
[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
Imre Kaloz
f6d3fbaf4e
[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
Imre Kaloz
21c79862d1
[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
Jo-Philipp Wich
5945c8a227
[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
Jo-Philipp Wich
481279fb32
[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 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
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
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