Commit Graph

228 Commits (1cc22abb7b382872fc7640e17da556b17a889784)

Author SHA1 Message Date
Nicolas Thill 48a6ca1c00 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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-16 02:55:30 +00:00
Nicolas Thill 88a144a5d2 [toolchain] gcc: only enable/disable TLS support in final stage (closes: #6788)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-06 17:10:45 +00:00
Travis Kemen 47a3a62caa 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:15:12 +00:00
Imre Kaloz 5f2dc3d8e9 [toolchain/gcc]: make TLS support configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 11:01:28 +00:00
Imre Kaloz 2a483e2320 [toolchain]: use gcc 4.3.4 for the gemini target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-23 10:49:58 +00:00
Imre Kaloz b5498819a3 [toolchain/mips]: use gcc 4.4.3 for mips64 targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-17 11:07:51 +00:00
Imre Kaloz 3afca89fae [toolchain/powerpc]: use gcc 4.4.3 for the powerpc targets by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-16 21:29:07 +00:00
Imre Kaloz 8c658b5c4d the CS toolchain FTBS for the gemini, use the old one for now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-08 21:26:54 +00:00
Felix Fietkau d921aa6776 add missing +cs version suffix to the 4.4.3 codesourcery toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-26 20:19:28 +00:00
Felix Fietkau c99ca93f83 gcc: fix up broken chunks of the 4.4.3+cs patch and clean it up a bit more
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-26 20:13:01 +00:00
Imre Kaloz ef3c59464f add another gcc version based on 4.4.3 plus the 2009q3 codesourcery patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-26 18:41:22 +00:00
Imre Kaloz fa0bcf5acf cleanup patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-26 12:46:05 +00:00
Imre Kaloz 31d958c21a add preliminary support for the latest CodeSourcery toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 10:52:23 +00:00
Imre Kaloz f010102fd2 add support for gcc 4.4.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-24 15:07:12 +00:00
Nicolas Thill 5c5349aa69 [toolchain] gcc: use coherent version selector between binutils & gcc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-19 13:26:03 +00:00
Felix Fietkau 840393f881 gcc: 4.4.2 no longer needs the fix-linker-error patch, remove it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-19 22:40:17 +00:00
Felix Fietkau 2d6c6c22b4 gcc: fix linker errors on osx with gcc 4.4+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-16 13:39:44 +00:00
Florian Fainelli d3d76fd7b9 [toolchain] fix gcc version selection for octeon
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-26 18:44:00 +00:00
Felix Fietkau 6e68fac206 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-19 17:23:31 +00:00
Felix Fietkau 7a1602d709 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-14 17:51:32 +00:00
Felix Fietkau 0f822c3de4 gcc: add a config option for using the gcc graphite framework (disabled by default)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-12 13:42:07 +00:00
Felix Fietkau c639f01999 gcc: fix build with cloog/ppl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-02 00:47:27 +00:00
Felix Fietkau 4ffee7b6f0 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-27 01:11:35 +00:00
Florian Fainelli 1347b7f5dc [toolchain] combine the two gcc-4.4.1 selects into a single one
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 10:17:50 +00:00
Felix Fietkau 7b21443365 gcc: fix compile on armv4t with the cs toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 00:58:38 +00:00
Felix Fietkau e32892d284 gcc: fix bug reporting url in newer compiler versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 00:58:34 +00:00
Florian Fainelli 36444c1e21 [toolchain] get rid of gcc-4.4.0 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-21 14:32:09 +00:00
Florian Fainelli 283122b177 [toolchain] refresh toolchain patches, add ubicom32 patch to gcc 4.4.1 and 4.4.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-21 14:31:01 +00:00
Florian Fainelli efe3e3a04d [toolchain] add support for gcc-4.4.2, add missing gcc-4.4.1 md5sum
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-21 06:26:39 +00:00
Felix Fietkau 4541b2dcf8 mark the llvm toolchain as broken
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 20:52:42 +00:00
Felix Fietkau 62d2c88da8 fix potential inconsistencies in toolchain selection on linux 2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 09:14:25 +00:00
Felix Fietkau d3a82c4c7e use the new 4.3.3+cs toolchain for mips and arm - significantly improves code size on mips and performance on arm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 09:03:44 +00:00
Felix Fietkau 6dd67d3672 gcc: backport libgcc_pic changes to older gcc4 versions, install the libgcc map file as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 06:48:29 +00:00
Felix Fietkau e32ab3e5e2 gcc: create a proper libgcc_pic.a static library for relinking (4.3.3+ for now, backport will follow)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 23:26:09 +00:00
Felix Fietkau db56f6acc3 binutils: add support for non-pic handling and use it in the codesourcery based gcc, fixes mips support for this toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 07:41:33 +00:00
Felix Fietkau 2a0552ccb0 gcc: prevent the libgcc configure script from enabling support for the fixed point math extension, as it can bloat up libgcc size to 1.4M on mips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 05:28:29 +00:00
Felix Fietkau 6e1290c8d1 gcc: disable mips non-PIC ABI calls in the codesourcery based version by default, as our binutils version does not support it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 04:26:28 +00:00
Felix Fietkau e9cb2940e6 add a gcc variant based on gcc 4.3.3 with codesourcery enhancements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 02:09:52 +00:00
Claudio Mignanti 268929b801 [toolchain] cris: fix ICE PR26515 (#3723)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-12 13:38:52 +00:00
Nicolas Thill 57ca4f4f29 [toolchain] gcc: fix 4.1.2 ICE on mips (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33256)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-11 02:52:08 +00:00
Felix Fietkau 13de9a716a gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet, but gets close)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-10 19:25:48 +00:00
Nicolas Thill 9d8805d1d7 [toolchain] move EABI config option out of GCC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-26 21:34:40 +00:00
Florian Fainelli a443c34045 [octeon] switch to gcc-4.4.1 and enabled octeon specific optimizations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-26 18:23:43 +00:00
Felix Fietkau 2f69a934b7 gcc: fix a linker error in 4.3.3 and 4.3.4 that is triggered by including an object in a linking process which is already part of libbackend.a
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-25 11:09:32 +00:00
Nicolas Thill 5a42b0b766 [cosmetic] add comments & fix descriptions in toolchain config items
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 14:32:36 +00:00
Nicolas Thill b4d3230cd7 fix wrong description for CONFIG_SSP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-09 23:42:06 +00:00
Felix Fietkau 39bbd5babc add a heavily cleaned up version of ubicom32 toolchain support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-21 22:31:47 +00:00
Geoff Levand 1884df4f4b pxcab: Replace TARGET_pxcab with feature powerpc64
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-18 23:09:50 +00:00
Geoff Levand 0963266b1d powerpc: Create a powerpc64 config feature
The config symbol TARGET_ps3 is used in the build files where
special handling for the 64 bit PowerPC processors is needed.
Introduce a new config feature powerpc64, and replace the use
of TARGET_ps3 with powerpc64.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-18 23:07:45 +00:00
Imre Kaloz 66a6efd4b9 add gcc 4.3.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 12:00:25 +00:00