Commit Graph

331 Commits (23578461a92aca344eb5d34d59352da3163281a8)

Author SHA1 Message Date
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
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 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 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
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
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