Felix Fietkau
501b42a623
gcc: enable non-PIC for mips targets in gcc 4.4+ to reduce code size
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-20 20:49:34 +00:00
Felix Fietkau
ae17845a7c
gcc: add an updated version of 4.4.1+cs - successfully builds a toolchain now, please test!
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-20 18:00:05 +00:00
Alexandros C. Couloumbis
a0ceac3b2d
toolchain/gcc: fix -Os recursion on ARMv5 for gcc 4.5.0 & 4.5.1 ( http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44392 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-04 17:00:55 +00:00
Florian Fainelli
cdb73c4f2b
[toolchain] gcj can only be built safely on gcc >= 4.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-30 07:35:18 +00:00
Felix Fietkau
f1f392ab5f
toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:51 +00:00
Nicolas Thill
1066628c7d
toolchain/gcc: remove remaining references to gcc-3.4.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 11:04:45 +00:00
Lars-Peter Clausen
b86926d939
[toolchain] Add lost handling of -fhonour-copts to 4.4.x+cs/910-mbsd_multi.patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-03 15:32:25 +00:00
Florian Fainelli
f839bab3fd
[toolchain] add support for gcc-4.5.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-01 12:39:19 +00:00
Florian Fainelli
142bee6849
[toolchain] bump default gcc-4.4 version for sibyte and octeon
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 11:52:48 +00:00
Felix Fietkau
7e525aa71e
gcc: split up the build process into three distinct stages (minimal, initial, final), to clean up the dependency handling nastiness and to improve support for rebuilding parts of the toolchain
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 20:57:21 +00:00
Felix Fietkau
fd588f4196
remove gcc 3.4.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:44:02 +00:00
Hamish Guthrie
4e37ed8184
Refactor omap35xx sub-targets to cater for beagleboard and gumstix overo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-21 11:59:59 +00:00
Nicolas Thill
e5e5f00bba
toolchain/gcc: add support for gcc-4.4.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 13:50:47 +00:00
Nicolas Thill
920b2a8d5b
toolchain/gcc: add support for gcc-4.3.5
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 12:00:22 +00:00
Nicolas Thill
3a21d90279
toolchain/gcc: remove md5 for unsupported 4.4.0 version, add missing md5 for 4.3.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 14:06:55 +00:00
Nicolas Thill
5477561eeb
toolchain/gcc: sort versions in Config.in (cosmetic)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 14:04:57 +00:00
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