Commit Graph

331 Commits (7d2e8e5419982bdaa42b27374929fc740f12f741)

Author SHA1 Message Date
Jo-Philipp Wich 8fdcc13268 [toolchain] fix syntax error in Config.in
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-20 21:13:12 +00:00
Florian Fainelli 919f5d8ee5 [toolchain] fix graphite options with gcc-4.5, add libelf for LTO, fix mbsd_multi patch, patch from Bernhard Loos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-20 16:18:08 +00:00
Alexandros C. Couloumbis bf4dbc7f29 add gcc-4.5.0 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-19 15:43:08 +00:00
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
Florian Fainelli 46123400c8 [toolchain] add support for gcc-4.4.1 (#5580)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 09:32:52 +00:00
Florian Fainelli f49a6c5859 This patch adds a target for the IBM PowerXCell Accelerator Board.
(aka mvXCell-8i from MatrixVision or GigaAccel 180 from Fixstars)

http://us.fixstars.com/products/gigaaccel/

This build will create zImage suitable for TFTP boot image.

* v2
- add axonram device driver
- switch to 2.6.30.1

Signed-off-by: Akinobu Mita <mita@fixstars.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-16 10:19:13 +00:00
Imre Kaloz 0609b66c2c add preliminary coldfire v4e support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-21 18:34:07 +00:00
Lars-Peter Clausen 9fd7cda280 [toolchain] disable tls for stdlibc++. fixes c++ inside a gcc-4.4.0
toolchain.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-05 11:33:12 +00:00
Imre Kaloz 87a6e2bb18 now that the gemini target is working, get rid of the obsolete and buggy storm target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 18:15:30 +00:00
Imre Kaloz 6aa4a3e471 disable EABI for gemini and storm -- our toolchain can't support EABI on plain armv4, yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-18 13:36:58 +00:00
Claudio Mignanti 007269b55e Gcc 4.3.3 default for etrax
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-09 11:38:41 +00:00
Felix Fietkau 1b6675367e fix the uclibc rebuild issue which leads to unresolved symbols in libnl (and possibly other libraries)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 18:41:08 +00:00
Felix Fietkau fe799c19a6 remove obsolete gcc version md5sums
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 18:40:22 +00:00
Hamish Guthrie 09e600145d Changed default gcc for ps3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30 09:36:19 +00:00
Mirko Vogt 7edc1602ee patch breaks wchar_t-support in libstdc++ since a needless autoconf was disabled (r15345)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 15:38:51 +00:00
Nicolas Thill 5f6fe3f3fe [toolchain] gcc: fix 4.2.4 ICE on avr32 (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34762)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 11:20:36 +00:00
Nicolas Thill 59b233cb01 [toolchain] gcc: symlink ./lib64 to ./lib for x86_64 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 10:14:30 +00:00
Felix Fietkau e026459efe gcc: fix a segfault in the mbsd_multi patch for 4.4.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24 15:34:36 +00:00
Felix Fietkau 0f6bde5bf3 port the mbsd_multi patch to gcc 4.4.0, refresh the other patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24 02:23:11 +00:00
Florian Fainelli 8b65143fd1 [toolchain] add preliminary support for gcc-4.4.0, need to forward port the fhonour-copt patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-23 09:44:57 +00:00
Felix Fietkau f0f9ec9c56 add a modified version of the mips64 patch from #4603
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-18 17:03:55 +00:00
Hamish Guthrie 16c4c98840 [ps3]: update compiler version defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-16 12:40:32 +00:00
Hamish Guthrie 727029948e Bumped compiler version for PS3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-16 10:38:21 +00:00
Hamish Guthrie 522873439e Set default compiler for ps3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-16 10:06:40 +00:00
Felix Fietkau 051b6223f9 nuke some obsolete gcc versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:21:56 +00:00
Felix Fietkau 06e76c6ccd enable eabi support by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:17:35 +00:00
Felix Fietkau bf1673f285 gcc: backport a patch from gcc trunk that fixes an internal compiler error on arm in version 4.3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-13 22:35:39 +00:00
Felix Fietkau b161730496 fix stampfile variables for the toolchain build (fixes gcc compile error)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-13 12:50:23 +00:00
Nicolas Thill 84f43d1453 [toolchain] move common variables to a dedicated include file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 23:52:27 +00:00
Felix Fietkau b892e1fb85 build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
Hauke Mehrtens 77ea892b78 gcc: refresh patches for gcc 4.1.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-18 18:11:04 +00:00
Felix Fietkau 128642a1d8 fix gcc 4.3.x segfault triggered by using -frename-registers (reproduced on arm, might be relevant for other platforms as well)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-14 00:09:27 +00:00
Nicolas Thill 293b872934 [toolchain] cosmetic & coherency fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 21:25:48 +00:00
Nicolas Thill 982542d3cd [toolchain] gcc: add a patch to allow 3.4.6 to build for x86 (closes: #4548)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 19:23:56 +00:00
Florian Fainelli 35402ceaac [toolchain] allow building and installing java for gcc-4.1.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-01 20:11:00 +00:00
Felix Fietkau e72763c254 gcc: add missing gcc 4.3.3 patches (copy of the 4.3.2 patches)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 21:11:51 +00:00
Felix Fietkau 41b4d9dca2 add gcc 4.3.3, clean up gcc version config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 20:08:34 +00:00
Nicolas Thill d748bad85e [toolchain] add support for gcc v4.3.1 & v4.3.2 (closes: #3479), thanks to Luigi Mantellini!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 11:58:17 +00:00
Felix Fietkau 716787174b add gcc eabi patches from #3988
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 19:18:16 +00:00
Hamish Guthrie c2a20b44bd Set default gcc for ps3 - gcc-3.4.6 and gcc-4.1.2 do not work at all
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-16 17:51:19 +00:00
Gabor Juhos 9e9b1d1187 [toolchain] fix powerpc toolchain build failure on x86_64 hosts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-14 18:33:13 +00:00
Nicolas Thill 9cdedff7f4 [cris] add a fix preventing gcc build system from assuming that libc headers are always available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-12 19:01:25 +00:00
Nicolas Thill 3b75e47f8f [massive] add support for alternative C libraries (currently only glibc/eglibc)
other (related) changes:
 - kernel headers are now installed using "make headers_install" on 2.6
 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu)
 - build directory names now contain gcc/libc name/version
 - default cpu for x86 is now i486 (required to build glibc/eglibc)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00
Florian Fainelli cf59f8469a Fix ssp enabling/disabling (#4388)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 12:56:31 +00:00
Felix Fietkau 52aa71f6c4 fix avr32 build breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-02 01:10:22 +00:00
Nicolas Thill e3e9f135ab fix gcc-4.2.4 when target != avr32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-03 00:20:00 +00:00
Imre Kaloz 3e2defe46a nuke old gcc 4.2 versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:32:02 +00:00
Imre Kaloz 5977aa09bc sync gcc's Config.in with Config.version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:26:10 +00:00
Imre Kaloz c695d27865 sync gcc patches with the Atmel 1.1.3 release
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:10:03 +00:00
Imre Kaloz c77b7dc3ae switch powerpc targets to gcc 4.2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 10:07:18 +00:00
Imre Kaloz 3f1313c293 switch to gcc 4.2.4 for avr32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-25 18:35:48 +00:00
Nicolas Thill 850a33d79c add md5sums for binutils & gcc and use the GNU mirror facility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-08 21:18:33 +00:00
Nicolas Thill 6a82c67d87 add patches to fixes gcc 4.2.x bugs:
- fix gcc ICE when compiling package/ath9k (closes: #3816)
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37014
 - fix "undefined reference to `fmsub'" error on powerpc
   http://bugs.uclibc.org/view.php?id=1588


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-18 12:24:32 +00:00
Felix Fietkau 78aec4b21d disable autorebuild for the toolchain, as it can easily lead to build breakages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 10:57:35 +00:00
Florian Fainelli 0ae9727f8b Disable smash stacking support by default, but allow to enable it as an experimental feature
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 12:54:28 +00:00
Nicolas Thill 119bfa9050 use qstrip macro to strip quoted CONFIG_* strings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-14 23:24:58 +00:00
Imre Kaloz 1e1f3be699 add patch to fix EABI compiles on ARMv4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-05 16:38:04 +00:00
Imre Kaloz 8a0895053a gcc 4.2.4 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-31 18:45:07 +00:00
Matteo Croce d09a02e0ed refresh gcc-4.2.3 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-21 11:51:22 +00:00
Felix Fietkau 6e4bdf784b make sure the toolchain target dir really exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-22 20:30:55 +00:00
Jeremy Kerr e5eb114697 [toolchain] provide a cleaner way to specify a biarch toolchain build
Currently, to build a biarch toolchain, we need to explicitly give
options to the binutils and gcc configure commands:

CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS="--enable-targets=powerpc64-linux-uclibc"
CONFIG_EXTRA_GCC_CONFIG_OPTIONS="--enable-biarch --enable-targets=powerpc64-linux-uclibc"

This change replaces the command line options with an 'extra arch'
configure option:

CONFIG_EXTRA_TARGET_ARCH=y
CONFIG_EXTRA_TARGET_ARCH_NAME="powerpc64"

And a way to invoke this extra arch on the compiler command-line:

CONFIG_EXTRA_TARGET_ARCH_OPTS="-m64"

In this case, this results in an extra compiler:
 'powerpc64-linux-uclibc-gcc', which invokes
 'powerpc-linux-uclibc-gcc -m64'

This is a more standard way of building biarch toolchains, and allows
the packages to not have to care about how to invoke the 64-bit
compiler.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-12 23:14:42 +00:00
Florian Fainelli 215e237e9f Do not disable tls yet, uclibc-ntpl will support it soon
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-10 15:52:38 +00:00
Florian Fainelli 6e62677c05 Disable tls support, uClibc does not support it, and it could lead to linking failures with some braindead autoconf programs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-10 14:05:38 +00:00
Felix Fietkau 2eb2107864 remove the "depends BROKEN" for eabi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 10:16:37 +00:00
Imre Kaloz c203865e38 fixup ARM EABI on GCC 4.1.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-17 15:37:58 +00:00
Felix Fietkau 03d5cedd44 revert ARM to oabi by default, add some eabi patches for fixing up the toolchain, which unfortunately break eabi userland, but are IMHO a necessary basis for further eabi fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-14 14:31:31 +00:00
Imre Kaloz 815e1daffa use GCC 4.2.3 by default for AVR32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 20:21:18 +00:00
Imre Kaloz d2d90a1fcf add GCC 4.2.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 20:18:40 +00:00
Gabor Juhos 2884ed0e63 [toolchain] gcc: fix version selection for Magicbox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-01 16:44:52 +00:00
Imre Kaloz 145c0e4a4f fix GCC version selection for Magicbox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 21:21:46 +00:00
Imre Kaloz 399e82d409 add another softfloat patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:32:14 +00:00
Imre Kaloz 08e9c42e67 fixup softfloat handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:06:47 +00:00
Felix Fietkau 5a9cf90163 fix a few stampfile locations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-20 19:58:49 +00:00
Imre Kaloz 0c0b19ae61 add gcc 4.2.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-25 09:16:31 +00:00
Felix Fietkau 4e577f8c71 openwrt: honour gcc extra configuration flags
Although the CONFIG_EXTRA_GCC_OPTIONS flag is available, it isn't used
anywhere.

This change adds the extra flag to both gcc configure stages.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 06:23:17 +00:00
John Crispin 942c79cf15 changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-07 00:26:02 +00:00
Felix Fietkau 6bcd07afdd major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
Nicolas Thill 5780bcb8db fix typo (closes: #2275)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 13:00:27 +00:00
Florian Fainelli a6c626e609 Disable multilib by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-23 16:08:09 +00:00
Florian Fainelli d16e4130df Fix the stage2 compilation, no side effect with gcc4 (#2190)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-13 16:26:58 +00:00
Florian Fainelli ac44d974c1 rdc can be built with gcc4 as well, my mistake
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-08 12:03:24 +00:00
Felix Fietkau d10a56dc58 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
Florian Fainelli e8d7d2c474 rdc-2.6 must be built with gcc-3.4.6, if not it will not boot at all
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-05 11:05:08 +00:00
Florian Fainelli cf679bf727 Allow installing gcj/gnu classpath,for those interested
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-04 10:59:02 +00:00
Felix Fietkau 949ca9cf6e Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will emit warnings in packages that don't use our target cflags properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-31 00:52:27 +00:00
Felix Fietkau a6c33d3511 fix the gcc stampfile for initial stage installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 22:27:37 +00:00
Imre Kaloz 508cc38074 add gcc 4.2.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 12:26:28 +00:00
Felix Fietkau d922f4e821 update magicbox target to 2.6.22-rc6, select gcc 4.2.0 as default for this target (4.1.2 segfaults at compile time)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 20:42:21 +00:00
Felix Fietkau 8df096ed3e fix gcc 4.2.0 compile for ppc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 19:52:09 +00:00
Felix Fietkau 018a1790a1 replace gcc 4.2 snapshot with 4.2.0 release (sync patches with uclibc buildroot), adjust gcc makefile for PATCH_DIR changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 07:30:25 +00:00
Imre Kaloz 15a51103e8 add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:44:01 +00:00
Imre Kaloz 272253c061 we don't need libmudflap at all
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:35:23 +00:00
Felix Fietkau 60bf0ca2ce Nuke lots of obsolete compiler versions
Make gcc4 depend on !LINUX_2_4 - I'm getting sick of seeing people complain about
compile errors when trying to build brcm-2.4 with it.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-28 17:52:00 +00:00
Imre Kaloz d25369bfb5 fix gcc version selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-11 19:26:39 +00:00
Hamish Guthrie 0c7837df28 Changed default compiler for 2.6 kernels to 4.1.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-07 22:32:10 +00:00
Imre Kaloz ef3bf0f2e8 add gcc 4.1.2 (closes #1381)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 10:28:46 +00:00
Felix Fietkau 69d550862e Fix gcc version selection
- default version for linux 2.4 broken in r6208
- brcm-2.6 needs an older compiler at least on wgt634u (don't ask me why...)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-26 11:02:59 +00:00
Imre Kaloz 23813f6c77 use gcc 4.1.1 for 2.6, 3.4.6 for 2.4 targets by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-26 10:55:06 +00:00
Nicolas Thill e8d4eb1825 revert gcc to 4.1.1 for x86 to fix uclibc++ build (closes: #1056, #1202)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-23 16:14:50 +00:00
Felix Fietkau 08e88220c4 use the gcc 4.2 snapshot in x86-2.6 by default - seems to work better than 4.1.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-07 04:08:04 +00:00
Felix Fietkau bce2c36f43 default to gcc 4.1.1 for the rb532 again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-06 18:32:14 +00:00