1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-17 12:43:56 +02:00
Commit Graph

485 Commits

Author SHA1 Message Date
Florian Fainelli
5d37a99a01 gcc: build with HOST_CFLAGS
Turns on -O2 optimization when building GCC thus making the cross-compiler a
little faster (about 25%).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34266
2012-11-19 23:12:00 +00:00
Florian Fainelli
9659e20d57 gcc-4.6-linaro: update to 2012.11
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34264
2012-11-19 19:37:39 +00:00
Florian Fainelli
d82044de9c gcc-4.7-linaro: update to 2012.11
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34263
2012-11-19 19:37:33 +00:00
Felix Fietkau
291d24c3cc build: remove remaining references to TOOLCHAIN_JOBS (thx, Sedat Dilek)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 34122
2012-11-08 15:08:31 +00:00
Florian Fainelli
5013a897c5 gcc: add GCC 4.7.2
SVN-Revision: 33763
2012-10-14 13:35:19 +00:00
Florian Fainelli
ba446684e0 gcc: add GCC 4.6.3
SVN-Revision: 33762
2012-10-14 13:35:13 +00:00
Florian Fainelli
3a31553a0e gcc: update 4.5-linaro to 4.5-2012.03
SVN-Revision: 33760
2012-10-13 19:19:44 +00:00
Florian Fainelli
42c4a16172 gcc: update 4.7-linaro to 4.7-2012.10
SVN-Revision: 33759
2012-10-13 19:19:41 +00:00
Florian Fainelli
5d223006f9 gcc: update gcc-4.6-linaro to 4.6-2012.10
SVN-Revision: 33758
2012-10-13 19:19:38 +00:00
Florian Fainelli
3b683b6feb gcc: add --with-long-double-128 for SPARC toolchain
This is required in order to build the final compiler.

SVN-Revision: 33739
2012-10-12 14:42:41 +00:00
Florian Fainelli
a72cadbbb4 gcc: backport struct siginfo -> siginfo_t renaming
Otherwise newer eglibc toolchain will simply fail to build.

SVN-Revision: 33736
2012-10-12 14:42:25 +00:00
Felix Fietkau
ed2bf29be5 build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
SVN-Revision: 33523
2012-09-23 09:50:01 +00:00
Felix Fietkau
d6c5846513 gcc: enable parallel builds
SVN-Revision: 33444
2012-09-15 14:18:19 +00:00
Florian Fainelli
95f1b6d415 gcc: add upstream fixes for GCC bug 54494
See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54494 for more infos.

SVN-Revision: 33329
2012-09-07 10:31:58 +00:00
Florian Fainelli
11f1712b49 gcc: add upstream fixes for GCC bug 54369
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 for more infos.

SVN-Revision: 33328
2012-09-07 10:31:54 +00:00
Felix Fietkau
59b384dabe toolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid errors on copying
SVN-Revision: 32556
2012-06-30 21:43:59 +00:00
Felix Fietkau
70259bceb4 toolchain/gcc: fix installing the toolchain after removing the toolchain dir without a full rebuild
SVN-Revision: 32554
2012-06-30 18:12:19 +00:00
Felix Fietkau
e74e4dbd29 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.

SVN-Revision: 32553
2012-06-30 18:12:15 +00:00
Felix Fietkau
176c236922 toolchain: install libgcc for minimal gcc, needed by newer eglibc versions
SVN-Revision: 32100
2012-06-07 12:24:13 +00:00
Imre Kaloz
880de62f91 switch to 2.6.38
SVN-Revision: 31546
2012-05-01 07:00:17 +00:00
Jo-Philipp Wich
e0c97d69c6 gcc: fix getenv() patches for 4.4.7 and 4.5-linaro
SVN-Revision: 31489
2012-04-27 12:05:34 +00:00
Mirko Vogt
47ea827dce remove screwed up patch for gcc 4.7-linaro which got committed by accident
SVN-Revision: 31393
2012-04-21 10:23:49 +00:00
Mirko Vogt
84307e4035 add support for GCC 4.7-linaro (based on GCC 4.7.1)
SVN-Revision: 31392
2012-04-21 09:58:31 +00:00
Jo-Philipp Wich
f79bfe6072 gcc: add patch to make the getenv() spec function nonfatal if requested environment variable is unset
SVN-Revision: 31390
2012-04-21 03:02:39 +00:00
Jo-Philipp Wich
b7e2959450 toolchain/gcc: gcc-4.7.0 upstream patch fixing uClibc problems
SVN-Revision: 31255
2012-04-12 07:48:02 +00:00
Imre Kaloz
ca6859aa29 upgrade to gcc 4.4.7
SVN-Revision: 31230
2012-04-09 17:00:03 +00:00
Mirko Vogt
626e171764 add support for gcc 4.7.0 - thanks to acoul!
SVN-Revision: 31216
2012-04-07 15:34:41 +00:00
Gabor Juhos
45d5b24190 toolchain/gcc-4.6.2: fix v4bx patch
SVN-Revision: 30970
2012-03-18 10:55:49 +00:00
Gabor Juhos
9c077ed0ae toolchain/gcc-4.6-linaro: fix v4bx patch
SVN-Revision: 30969
2012-03-18 10:55:47 +00:00
Felix Fietkau
40bf6ee842 gcc: now that the gpr save/restore issues are taken care of, remove the -Os/-O2 workaround that dealt with it earlier
SVN-Revision: 30815
2012-03-05 00:51:05 +00:00
Felix Fietkau
d8c570a153 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
SVN-Revision: 30814
2012-03-05 00:51:01 +00:00
Felix Fietkau
a86e168c54 gcc: use .eh_frame sections for exception handling stack unwind - saves about 400 bytes on every executable or shared library
SVN-Revision: 30614
2012-02-17 16:55:08 +00:00
Felix Fietkau
42ed1bd9e6 gcc: enable --with-headers for the final toolchain build
SVN-Revision: 30613
2012-02-17 16:55:01 +00:00
Felix Fietkau
dcfc40358b gcc 4.6: port over the missing patch 850-use_shared_libgcc.patch to prevent libgcc crap from leaking into every single binary
SVN-Revision: 30486
2012-02-12 20:25:47 +00:00
Imre Kaloz
d252dd3d2e upgrade vanilla gcc to 4.6.2
SVN-Revision: 30470
2012-02-12 09:48:39 +00:00
Imre Kaloz
909abe4999 use Linaro GCC 4.6 by default
SVN-Revision: 30467
2012-02-12 09:14:18 +00:00
Imre Kaloz
ed192cb5a6 update to latest Linaro releases
SVN-Revision: 30466
2012-02-12 08:50:18 +00:00
Jo-Philipp Wich
64dc82eab0 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.
SVN-Revision: 29768
2012-01-18 03:15:22 +00:00
Imre Kaloz
8fcdb09e1f upgrade to latest linaro releases
SVN-Revision: 29748
2012-01-14 22:52:40 +00:00
Felix Fietkau
e3a21eb9f8 gcc: always explicitly link against libstdc++, fixes build errors on some hosts that refuse to link it in implicitly (should fix #10587)
SVN-Revision: 29721
2012-01-12 10:15:20 +00:00
Hauke Mehrtens
cca287d05e gcc: add 4.6-linaro version 4.6-2011.08
SVN-Revision: 28042
2011-08-18 12:13:54 +00:00
Hauke Mehrtens
ab380f46f4 gcc: make patches apply for gcc 4.5-linaro version 4.5-2011.08
SVN-Revision: 28041
2011-08-18 12:12:47 +00:00
Hauke Mehrtens
441e392e11 gcc: move patches as the name changed. This was missing in r28038.
SVN-Revision: 28040
2011-08-18 12:09:42 +00:00
Hauke Mehrtens
5f1d6c6c9b gcc: update gcc-4.5-linaro to 4.5-2011.08
SVN-Revision: 28039
2011-08-18 12:07:15 +00:00
Hauke Mehrtens
a0c5616090 gcc: rename linaro to 4.5-linaro
SVN-Revision: 28038
2011-08-18 12:06:17 +00:00
Imre Kaloz
62daf628c0 In R27118, TARGET_FIX_V4BX_SPEC got lost in the linker parameters. Add it back.
Signed-off-by: Jochen Friedrich <jochen@scram.de>

SVN-Revision: 27599
2011-07-12 13:34:18 +00:00
Imre Kaloz
887b29bfbd the only reasons for having 4.4 around are avr32 and ubicom32, so make it depend on them
SVN-Revision: 27559
2011-07-08 11:15:00 +00:00
Felix Fietkau
9a560e48dd toolchain: remove a dependency on a nonexistant config symbol (thx, Sedat Dilek)
SVN-Revision: 27556
2011-07-08 08:13:50 +00:00
Imre Kaloz
6d378e7b20 fix ppc toolchain build
SVN-Revision: 27551
2011-07-07 22:19:38 +00:00
Imre Kaloz
a2c0394572 simplify configuration
SVN-Revision: 27353
2011-07-02 07:50:26 +00:00
Imre Kaloz
4fbc50d89a nuke support for older gcc versions, except for 4.4.6 (needed for avr32 and ubicom32)
SVN-Revision: 27351
2011-07-02 07:43:26 +00:00
Imre Kaloz
5f397b16ef both coldfire and etrax are broken and should use a newer gcc when they will be fixed
SVN-Revision: 27350
2011-07-02 07:28:16 +00:00
Imre Kaloz
dde7babe01 switch avr32 to gcc 4.4, also powerpc targets should work fine with linaro releases
SVN-Revision: 27338
2011-07-01 13:44:03 +00:00
Imre Kaloz
9167521015 bump the 4.4 flavour to 4.4.6
SVN-Revision: 27337
2011-07-01 13:39:50 +00:00
Imre Kaloz
be9a11b014 replace gcc 4.5.2 support with 4.6.1
SVN-Revision: 27333
2011-07-01 11:43:15 +00:00
Imre Kaloz
6d02667c07 add the latest avr32 toolchain patches (with additional fixes)
SVN-Revision: 27332
2011-07-01 11:35:21 +00:00
Imre Kaloz
7c4a91b216 upgrade the linaro gcc to 2011.06
SVN-Revision: 27326
2011-07-01 08:10:12 +00:00
Jo-Philipp Wich
28fbd7470d add gfortran compiler support (#9600, patch from Xiangfu Liu via Qi hardware)
SVN-Revision: 27262
2011-06-23 11:46:24 +00:00
Jo-Philipp Wich
a56dab661a introduce option to enable setjump()/longjump() based C++ exceptions (#9185, patch from David Kuehling via Qi hardware)
SVN-Revision: 27261
2011-06-23 11:37:39 +00:00
Mirko Vogt
18caed8793 remove empty file (patch went upstream and file didn't get deleted but only cleared)
SVN-Revision: 27122
2011-06-07 08:37:25 +00:00
Mirko Vogt
59ad83aff1 upgrade Linaro GCC to 4.5-2011.05-0 - thanks to Mark Mentovai
SVN-Revision: 27118
2011-06-07 00:13:56 +00:00
Felix Fietkau
e52b720870 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
SVN-Revision: 25952
2011-03-08 13:10:11 +00:00
Felix Fietkau
7b64200684 gcc: include assembler functions in the shared libgcc_s library, fixes missing symbol issues on powerpc
SVN-Revision: 25912
2011-03-06 22:54:30 +00:00
Felix Fietkau
fff328fd41 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>

SVN-Revision: 25871
2011-03-04 21:38:15 +00:00
Alexandros C. Couloumbis
e2a0620d44 toolchain/gcc: fix r25709 (closes #8964)
SVN-Revision: 25844
2011-03-03 10:09:06 +00:00
Felix Fietkau
d1f44a7598 gcc: disable extension elimination, it causes hostapd to be miscompiled on mips
SVN-Revision: 25834
2011-03-02 17:54:02 +00:00
Felix Fietkau
c2e2651b71 toolchain: remove -lgcc_eh from the default libgcc spec, it breaks packages
SVN-Revision: 25807
2011-03-01 15:38:58 +00:00
Felix Fietkau
23e18c9037 gcc-linaro: fix the libgcc spec to default to using the shared libgcc
SVN-Revision: 25801
2011-03-01 05:40:47 +00:00
Imre Kaloz
aa6099c624 backport fa526 optimization for gcc 4.5+
SVN-Revision: 25709
2011-02-25 17:44:18 +00:00
Imre Kaloz
446f79385b use the Linaro GCC for arm and mips targets
SVN-Revision: 25708
2011-02-25 17:43:15 +00:00
Imre Kaloz
a3989e3dbd 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>

SVN-Revision: 25705
2011-02-25 16:52:25 +00:00
Imre Kaloz
0be1f2ba60 sync avr32 patch with the latest ones from atmel
SVN-Revision: 25696
2011-02-24 08:14:15 +00:00
Felix Fietkau
ad6c7066a6 gcc: remove arch default duplication, fix version selection for !TOOLCHAINOPTS
SVN-Revision: 25633
2011-02-20 22:09:51 +00:00
Imre Kaloz
3e974e67b2 combine all avr32 patches into a single one
SVN-Revision: 25566
2011-02-18 09:25:59 +00:00
Imre Kaloz
667ac6c970 additional avr32 fixes
SVN-Revision: 25556
2011-02-16 15:26:08 +00:00
Imre Kaloz
82608a62ad refresh patches
SVN-Revision: 25555
2011-02-16 15:24:48 +00:00
Imre Kaloz
238721c650 fixup gcc version selection
SVN-Revision: 25554
2011-02-16 15:21:17 +00:00
Imre Kaloz
01a424b4f9 upgrade to 2011.02, rename patchset directory
SVN-Revision: 25515
2011-02-13 11:27:58 +00:00
Imre Kaloz
8570c4be39 fixup arm soft-float symbols
SVN-Revision: 25325
2011-02-02 20:06:12 +00:00
Imre Kaloz
f3621a025c refresh patch
SVN-Revision: 25324
2011-02-02 20:05:33 +00:00
Imre Kaloz
7edc8ca545 add armv4 fixup patches
SVN-Revision: 25322
2011-02-02 19:34:36 +00:00
Felix Fietkau
e1d823338b gcc: fix default version selection - fixes missing MPC configure error during toolchain build
SVN-Revision: 25283
2011-02-01 16:57:01 +00:00
Felix Fietkau
bf51ee3572 gcc: fix linaro 4.5.1 version check
SVN-Revision: 25203
2011-01-28 16:37:30 +00:00
Imre Kaloz
a48d1f3a70 refresh patches
SVN-Revision: 25195
2011-01-28 12:34:32 +00:00
Imre Kaloz
50be0201f1 cleanup toolchain version handling
SVN-Revision: 25148
2011-01-27 13:55:00 +00:00
Imre Kaloz
b255026bd1 nuke unneeded patchsets as well
SVN-Revision: 25145
2011-01-27 13:28:27 +00:00
Imre Kaloz
25fb11cf89 get rid of gcc 4.1.2 and 4.2.4 support
SVN-Revision: 25144
2011-01-27 13:24:38 +00:00
Imre Kaloz
d8634c4521 use the linaro gcc by default (right now this only affects x86 targets)
SVN-Revision: 25142
2011-01-27 13:17:50 +00:00
Gabor Juhos
72ba27ae72 cns21xx: add initial support for the Cavium CNS21xx SoC
SVN-Revision: 24859
2010-12-30 17:19:16 +00:00
Alexandros C. Couloumbis
e010aa6408 toolchain/gcc: fix r24746
SVN-Revision: 24751
2010-12-21 14:54:34 +00:00
Imre Kaloz
30439e7092 add gcc 4.5.2 (replaces 4.5.1)
SVN-Revision: 24746
2010-12-21 08:13:21 +00:00
Felix Fietkau
014d3b98b9 gcc: fix newer libstdc++ compile issues with uclibc 0.9.32
SVN-Revision: 24734
2010-12-20 14:25:05 +00:00
Imre Kaloz
a0e49fa2d1 upgrade the linaro gcc to the 2010.12 release
SVN-Revision: 24563
2010-12-14 09:50:59 +00:00
Imre Kaloz
d4bf98f231 add plemininary ultrasparc support
SVN-Revision: 24558
2010-12-14 07:57:22 +00:00
Imre Kaloz
54640d6592 update the linaro gcc to v2010.11-1
SVN-Revision: 23940
2010-11-10 12:27:33 +00:00
Imre Kaloz
d917b7d1ef use gcc 4.3.5 for avr32
SVN-Revision: 23866
2010-11-04 14:18:04 +00:00
Imre Kaloz
54dea0c74f add avr32 support to gcc 4.3.5
SVN-Revision: 23865
2010-11-04 14:17:06 +00:00
Imre Kaloz
387c2adead remove unneeded config options, too
SVN-Revision: 23706
2010-10-29 10:55:54 +00:00
Imre Kaloz
f6ff75eed6 fix typo
SVN-Revision: 23705
2010-10-29 10:48:14 +00:00
Imre Kaloz
723ab81016 get rid of old gcc versions
SVN-Revision: 23704
2010-10-29 10:45:59 +00:00
Imre Kaloz
57017cf64c add support for Linaro GCC 2010.10
SVN-Revision: 23703
2010-10-29 10:37:51 +00:00
Imre Kaloz
16ec438707 fix typo
SVN-Revision: 23695
2010-10-28 11:19:38 +00:00
Imre Kaloz
bdeb70c8d7 sync gcc's Config.in with Config.version
SVN-Revision: 23694
2010-10-28 10:59:58 +00:00
Imre Kaloz
3a89cedc85 the latest patchlevel gcc releases should work for these targets
SVN-Revision: 23693
2010-10-28 10:38:32 +00:00
Imre Kaloz
6bd93c3fdf fixup gcc version selection for the omap35xx target
SVN-Revision: 23692
2010-10-28 10:29:53 +00:00
Imre Kaloz
4fb2718119 we don't support gcc 3.x for some time now
SVN-Revision: 23686
2010-10-28 07:28:17 +00:00
Imre Kaloz
9edd05b9c0 gcc 4.4.5 support
SVN-Revision: 23220
2010-10-04 12:21:58 +00:00
Michael Büsch
cf323eb924 optionally support parallel toolchain build. This defaults to off, because certain toolchain versions are known to break on parallel build. However, it significantly speeds up the build and latest versions of the tools do compile fine.
SVN-Revision: 23196
2010-10-03 12:54:07 +00:00
Felix Fietkau
ffd00db938 gcc: enable non-PIC for mips targets in gcc 4.4+ to reduce code size
SVN-Revision: 23103
2010-09-20 20:49:34 +00:00
Felix Fietkau
affb66c2c6 gcc: add an updated version of 4.4.1+cs - successfully builds a toolchain now, please test!
SVN-Revision: 23101
2010-09-20 18:00:05 +00:00
Alexandros C. Couloumbis
f097df6944 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)
SVN-Revision: 22899
2010-09-04 17:00:55 +00:00
Florian Fainelli
0e00670962 gcj can only be built safely on gcc >= 4.3
SVN-Revision: 22843
2010-08-30 07:35:18 +00:00
Felix Fietkau
62c1740676 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
SVN-Revision: 22723
2010-08-19 12:49:51 +00:00
Nicolas Thill
4bd5e0e62e toolchain/gcc: remove remaining references to gcc-3.4.6
SVN-Revision: 22694
2010-08-18 11:04:45 +00:00
Lars-Peter Clausen
04497bbb2c Add lost handling of -fhonour-copts to 4.4.x+cs/910-mbsd_multi.patch
SVN-Revision: 22474
2010-08-03 15:32:25 +00:00
Florian Fainelli
332227b067 add support for gcc-4.5.1
SVN-Revision: 22450
2010-08-01 12:39:19 +00:00
Florian Fainelli
cb4dcc9c0d bump default gcc-4.4 version for sibyte and octeon
SVN-Revision: 22437
2010-07-31 11:52:48 +00:00
Felix Fietkau
5149ed151d 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
SVN-Revision: 22319
2010-07-20 20:57:21 +00:00
Felix Fietkau
0410a7b549 remove gcc 3.4.6
SVN-Revision: 21955
2010-06-26 20:44:02 +00:00
Hamish Guthrie
4732fe9718 Refactor omap35xx sub-targets to cater for beagleboard and gumstix overo
SVN-Revision: 21858
2010-06-21 11:59:59 +00:00
Nicolas Thill
4019bca7eb toolchain/gcc: add support for gcc-4.4.4
SVN-Revision: 21600
2010-05-28 13:50:47 +00:00
Nicolas Thill
32098a5faf toolchain/gcc: add support for gcc-4.3.5
SVN-Revision: 21599
2010-05-28 12:00:22 +00:00
Nicolas Thill
c75f28c31d toolchain/gcc: remove md5 for unsupported 4.4.0 version, add missing md5 for 4.3.4
SVN-Revision: 21580
2010-05-27 14:06:55 +00:00
Nicolas Thill
6da563992e toolchain/gcc: sort versions in Config.in (cosmetic)
SVN-Revision: 21579
2010-05-27 14:04:57 +00:00
Jo-Philipp Wich
fad018cfdd fix syntax error in Config.in
SVN-Revision: 21062
2010-04-20 21:13:12 +00:00
Florian Fainelli
8ca51dc6f1 fix graphite options with gcc-4.5, add libelf for LTO, fix mbsd_multi patch, patch from Bernhard Loos
SVN-Revision: 21046
2010-04-20 16:18:08 +00:00
Alexandros C. Couloumbis
6d59a298e8 add gcc-4.5.0 preliminary support
SVN-Revision: 21033
2010-04-19 15:43:08 +00:00
Nicolas Thill
37551b9366 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)
SVN-Revision: 20900
2010-04-16 02:55:30 +00:00
Nicolas Thill
10d11328ef gcc: only enable/disable TLS support in final stage (closes: #6788)
SVN-Revision: 20018
2010-03-06 17:10:45 +00:00
Travis Kemen
cf7199f48b 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

SVN-Revision: 19995
2010-03-05 20:15:12 +00:00
Imre Kaloz
c354852432 make TLS support configurable
SVN-Revision: 19870
2010-02-26 11:01:28 +00:00
Imre Kaloz
3e139467ce use gcc 4.3.4 for the gemini target
SVN-Revision: 19824
2010-02-23 10:49:58 +00:00
Imre Kaloz
948fcc98f0 use gcc 4.4.3 for mips64 targets
SVN-Revision: 19686
2010-02-17 11:07:51 +00:00
Imre Kaloz
0b5ddcb9cf use gcc 4.4.3 for the powerpc targets by default
SVN-Revision: 19671
2010-02-16 21:29:07 +00:00
Imre Kaloz
5bd4c4e26d the CS toolchain FTBS for the gemini, use the old one for now
SVN-Revision: 19556
2010-02-08 21:26:54 +00:00
Felix Fietkau
8775d98c19 add missing +cs version suffix to the 4.4.3 codesourcery toolchain
SVN-Revision: 19350
2010-01-26 20:19:28 +00:00
Felix Fietkau
78cae39e72 gcc: fix up broken chunks of the 4.4.3+cs patch and clean it up a bit more
SVN-Revision: 19349
2010-01-26 20:13:01 +00:00
Imre Kaloz
b69732ba94 add another gcc version based on 4.4.3 plus the 2009q3 codesourcery patch
SVN-Revision: 19348
2010-01-26 18:41:22 +00:00
Imre Kaloz
e4e0e3ee6c cleanup patch
SVN-Revision: 19345
2010-01-26 12:46:05 +00:00
Imre Kaloz
cae33bf4e9 add preliminary support for the latest CodeSourcery toolchain
SVN-Revision: 19324
2010-01-25 10:52:23 +00:00
Imre Kaloz
58c556e597 add support for gcc 4.4.3
SVN-Revision: 19314
2010-01-24 15:07:12 +00:00
Nicolas Thill
9e0bad9cb4 gcc: use coherent version selector between binutils & gcc
SVN-Revision: 19227
2010-01-19 13:26:03 +00:00
Felix Fietkau
fa044a2d81 gcc: 4.4.2 no longer needs the fix-linker-error patch, remove it
SVN-Revision: 18857
2009-12-19 22:40:17 +00:00
Felix Fietkau
96f342eaa4 gcc: fix linker errors on osx with gcc 4.4+
SVN-Revision: 18791
2009-12-16 13:39:44 +00:00
Florian Fainelli
e5e83bf051 fix gcc version selection for octeon
SVN-Revision: 18551
2009-11-26 18:44:00 +00:00
Felix Fietkau
60a4353fdd 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
SVN-Revision: 18454
2009-11-19 17:23:31 +00:00
Felix Fietkau
44aa03f2f9 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>

SVN-Revision: 18419
2009-11-14 17:51:32 +00:00
Felix Fietkau
3a5deae00d gcc: add a config option for using the gcc graphite framework (disabled by default)
SVN-Revision: 18403
2009-11-12 13:42:07 +00:00
Felix Fietkau
ce9ea905c1 gcc: fix build with cloog/ppl
SVN-Revision: 18266
2009-11-02 00:47:27 +00:00
Felix Fietkau
46cc3f164d 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
SVN-Revision: 18177
2009-10-27 01:11:35 +00:00
Florian Fainelli
6d7b5a7e62 combine the two gcc-4.4.1 selects into a single one
SVN-Revision: 18148
2009-10-25 10:17:50 +00:00
Felix Fietkau
b59e59dcba gcc: fix compile on armv4t with the cs toolchain
SVN-Revision: 18131
2009-10-24 00:58:38 +00:00
Felix Fietkau
e7c0b6aa00 gcc: fix bug reporting url in newer compiler versions
SVN-Revision: 18130
2009-10-24 00:58:34 +00:00
Florian Fainelli
97d2d1f90f get rid of gcc-4.4.0 support
SVN-Revision: 18115
2009-10-21 14:32:09 +00:00
Florian Fainelli
903704d98b refresh toolchain patches, add ubicom32 patch to gcc 4.4.1 and 4.4.2
SVN-Revision: 18114
2009-10-21 14:31:01 +00:00
Florian Fainelli
0a18260fed add support for gcc-4.4.2, add missing gcc-4.4.1 md5sum
SVN-Revision: 18113
2009-10-21 06:26:39 +00:00
Felix Fietkau
902aecf9e1 mark the llvm toolchain as broken
SVN-Revision: 18105
2009-10-20 20:52:42 +00:00
Felix Fietkau
6c2b49cf23 fix potential inconsistencies in toolchain selection on linux 2.4
SVN-Revision: 18097
2009-10-20 09:14:25 +00:00
Felix Fietkau
82fcc3bef3 use the new 4.3.3+cs toolchain for mips and arm - significantly improves code size on mips and performance on arm
SVN-Revision: 18094
2009-10-20 09:03:44 +00:00
Felix Fietkau
4136623a5f gcc: backport libgcc_pic changes to older gcc4 versions, install the libgcc map file as well
SVN-Revision: 18087
2009-10-20 06:48:29 +00:00
Felix Fietkau
c96312958c gcc: create a proper libgcc_pic.a static library for relinking (4.3.3+ for now, backport will follow)
SVN-Revision: 18086
2009-10-19 23:26:09 +00:00
Felix Fietkau
b4d03a2780 binutils: add support for non-pic handling and use it in the codesourcery based gcc, fixes mips support for this toolchain
SVN-Revision: 18070
2009-10-19 07:41:33 +00:00
Felix Fietkau
60fb2fd748 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
SVN-Revision: 18066
2009-10-19 05:28:29 +00:00
Felix Fietkau
b948f83ed8 gcc: disable mips non-PIC ABI calls in the codesourcery based version by default, as our binutils version does not support it
SVN-Revision: 18064
2009-10-19 04:26:28 +00:00
Felix Fietkau
f0f100551d add a gcc variant based on gcc 4.3.3 with codesourcery enhancements
SVN-Revision: 18059
2009-10-19 02:09:52 +00:00
Claudio Mignanti
3b048781ea cris: fix ICE PR26515 (#3723)
SVN-Revision: 18042
2009-10-12 13:38:52 +00:00
Nicolas Thill
3cf6975414 gcc: fix 4.1.2 ICE on mips (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33256)
SVN-Revision: 18029
2009-10-11 02:52:08 +00:00
Felix Fietkau
215ccb66e6 gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet, but gets close)
SVN-Revision: 18019
2009-10-10 19:25:48 +00:00
Nicolas Thill
737b4b4bcb move EABI config option out of GCC
SVN-Revision: 17753
2009-09-26 21:34:40 +00:00
Florian Fainelli
2b59f3fc3f switch to gcc-4.4.1 and enabled octeon specific optimizations
SVN-Revision: 17743
2009-09-26 18:23:43 +00:00
Felix Fietkau
49ec2321b7 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
SVN-Revision: 17718
2009-09-25 11:09:32 +00:00
Nicolas Thill
47ac8caa62 add comments & fix descriptions in toolchain config items
SVN-Revision: 17561
2009-09-10 14:32:36 +00:00
Nicolas Thill
f69f5f0b38 fix wrong description for CONFIG_SSP
SVN-Revision: 17550
2009-09-09 23:42:06 +00:00
Felix Fietkau
aee9d6c31c add a heavily cleaned up version of ubicom32 toolchain support
SVN-Revision: 17346
2009-08-21 22:31:47 +00:00
Geoff Levand
d719b51871 pxcab: Replace TARGET_pxcab with feature powerpc64
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 17307
2009-08-18 23:09:50 +00:00
Geoff Levand
7581681466 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>

SVN-Revision: 17306
2009-08-18 23:07:45 +00:00
Imre Kaloz
5a8a22bdc2 add gcc 4.3.4
SVN-Revision: 17165
2009-08-07 12:00:25 +00:00
Florian Fainelli
46c7a003ca add support for gcc-4.4.1 (#5580)
SVN-Revision: 17161
2009-08-07 09:32:52 +00:00
Florian Fainelli
2ec0cba393 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>

SVN-Revision: 16860
2009-07-16 10:19:13 +00:00
Imre Kaloz
2004d4165a add preliminary coldfire v4e support
SVN-Revision: 16538
2009-06-21 18:34:07 +00:00
Lars-Peter Clausen
9fb98fc03c disable tls for stdlibc++. fixes c++ inside a gcc-4.4.0 toolchain.
SVN-Revision: 16345
2009-06-05 11:33:12 +00:00
Imre Kaloz
7f9fd5033c now that the gemini target is working, get rid of the obsolete and buggy storm target
SVN-Revision: 16274
2009-06-01 18:15:30 +00:00
Imre Kaloz
267af10b33 disable EABI for gemini and storm -- our toolchain can't support EABI on plain armv4, yet
SVN-Revision: 15914
2009-05-18 13:36:58 +00:00
Claudio Mignanti
a866aa0226 Gcc 4.3.3 default for etrax
SVN-Revision: 15742
2009-05-09 11:38:41 +00:00
Felix Fietkau
141925202e fix the uclibc rebuild issue which leads to unresolved symbols in libnl (and possibly other libraries)
SVN-Revision: 15599
2009-05-04 18:41:08 +00:00
Felix Fietkau
010c9c48e0 remove obsolete gcc version md5sums
SVN-Revision: 15598
2009-05-04 18:40:22 +00:00
Hamish Guthrie
c146cbd79c Changed default gcc for ps3
SVN-Revision: 15504
2009-04-30 09:36:19 +00:00
Mirko Vogt
dcfa07d142 patch breaks wchar_t-support in libstdc++ since a needless autoconf was disabled (r15345)
SVN-Revision: 15445
2009-04-27 15:38:51 +00:00
Nicolas Thill
128b623ec8 gcc: fix 4.2.4 ICE on avr32 (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34762)
SVN-Revision: 15434
2009-04-27 11:20:36 +00:00
Nicolas Thill
8a38ccc1d1 gcc: symlink ./lib64 to ./lib for x86_64 as well
SVN-Revision: 15432
2009-04-27 10:14:30 +00:00
Felix Fietkau
8ce7b559d0 gcc: fix a segfault in the mbsd_multi patch for 4.4.0
SVN-Revision: 15394
2009-04-24 15:34:36 +00:00
Felix Fietkau
dcd9f20085 port the mbsd_multi patch to gcc 4.4.0, refresh the other patches
SVN-Revision: 15369
2009-04-24 02:23:11 +00:00
Florian Fainelli
e15ca56024 add preliminary support for gcc-4.4.0, need to forward port the fhonour-copt patch
SVN-Revision: 15345
2009-04-23 09:44:57 +00:00
Felix Fietkau
56164a5815 add a modified version of the mips64 patch from #4603
SVN-Revision: 15249
2009-04-18 17:03:55 +00:00
Hamish Guthrie
4f84a92c5d update compiler version defaults
SVN-Revision: 15230
2009-04-16 12:40:32 +00:00
Hamish Guthrie
bbc2161913 Bumped compiler version for PS3
SVN-Revision: 14894
2009-03-16 10:38:21 +00:00
Hamish Guthrie
bec47e86b7 Set default compiler for ps3
SVN-Revision: 14893
2009-03-16 10:06:40 +00:00
Felix Fietkau
6550fbe9b4 nuke some obsolete gcc versions
SVN-Revision: 14870
2009-03-14 03:21:56 +00:00
Felix Fietkau
dbd39f1a50 enable eabi support by default
SVN-Revision: 14869
2009-03-14 03:17:35 +00:00
Felix Fietkau
4941100523 gcc: backport a patch from gcc trunk that fixes an internal compiler error on arm in version 4.3.3
SVN-Revision: 14865
2009-03-13 22:35:39 +00:00
Felix Fietkau
ec6b3bf2be fix stampfile variables for the toolchain build (fixes gcc compile error)
SVN-Revision: 14862
2009-03-13 12:50:23 +00:00
Nicolas Thill
8a2030ff3d move common variables to a dedicated include file
SVN-Revision: 14648
2009-02-23 23:52:27 +00:00
Felix Fietkau
7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
2009-02-22 04:37:20 +00:00
Hauke Mehrtens
0fe95301c9 gcc: refresh patches for gcc 4.1.2
SVN-Revision: 14554
2009-02-18 18:11:04 +00:00
Felix Fietkau
152887e424 fix gcc 4.3.x segfault triggered by using -frename-registers (reproduced on arm, might be relevant for other platforms as well)
SVN-Revision: 14505
2009-02-14 00:09:27 +00:00
Nicolas Thill
33a0eb3613 cosmetic & coherency fixes
SVN-Revision: 14397
2009-02-03 21:25:48 +00:00
Nicolas Thill
7d250fbc8d gcc: add a patch to allow 3.4.6 to build for x86 (closes: #4548)
SVN-Revision: 14370
2009-02-02 19:23:56 +00:00
Florian Fainelli
3bb609d433 allow building and installing java for gcc-4.1.2
SVN-Revision: 14348
2009-02-01 20:11:00 +00:00
Felix Fietkau
27a4c9f5ab gcc: add missing gcc 4.3.3 patches (copy of the 4.3.2 patches)
SVN-Revision: 14228
2009-01-27 21:11:51 +00:00
Felix Fietkau
158c3917e9 add gcc 4.3.3, clean up gcc version config symbols
SVN-Revision: 14226
2009-01-27 20:08:34 +00:00
Nicolas Thill
ec7b663c86 add support for gcc v4.3.1 & v4.3.2 (closes: #3479), thanks to Luigi Mantellini!
SVN-Revision: 14131
2009-01-21 11:58:17 +00:00
Felix Fietkau
78fb5a1b98 add gcc eabi patches from #3988
SVN-Revision: 14072
2009-01-17 19:18:16 +00:00
Hamish Guthrie
b693945d4f Set default gcc for ps3 - gcc-3.4.6 and gcc-4.1.2 do not work at all
SVN-Revision: 14060
2009-01-16 17:51:19 +00:00
Gabor Juhos
65f21ce0d3 fix powerpc toolchain build failure on x86_64 hosts
SVN-Revision: 14036
2009-01-14 18:33:13 +00:00
Nicolas Thill
bf618cf1fd add a fix preventing gcc build system from assuming that libc headers are always available
SVN-Revision: 13994
2009-01-12 19:01:25 +00:00
Nicolas Thill
a3edea1b91 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)
SVN-Revision: 13931
2009-01-08 01:49:11 +00:00
Florian Fainelli
a3ecf3d3dc Fix ssp enabling/disabling (#4388)
SVN-Revision: 13856
2009-01-04 12:56:31 +00:00
Felix Fietkau
d55332989e fix avr32 build breakage
SVN-Revision: 13802
2009-01-02 01:10:22 +00:00
Nicolas Thill
a10dd02b34 fix gcc-4.2.4 when target != avr32
SVN-Revision: 13493
2008-12-03 00:20:00 +00:00
Imre Kaloz
7d78d5cad3 nuke old gcc 4.2 versions
SVN-Revision: 13483
2008-12-02 18:32:02 +00:00
Imre Kaloz
d7ed0b8c47 sync gcc's Config.in with Config.version
SVN-Revision: 13482
2008-12-02 18:26:10 +00:00
Imre Kaloz
95f2b6bb76 sync gcc patches with the Atmel 1.1.3 release
SVN-Revision: 13480
2008-12-02 18:10:03 +00:00
Imre Kaloz
5dceef5389 switch powerpc targets to gcc 4.2.4
SVN-Revision: 13359
2008-11-26 10:07:18 +00:00
Imre Kaloz
507b9818c0 switch to gcc 4.2.4 for avr32
SVN-Revision: 13353
2008-11-25 18:35:48 +00:00
Nicolas Thill
f1ceaae24a add md5sums for binutils & gcc and use the GNU mirror facility
SVN-Revision: 13143
2008-11-08 21:18:33 +00:00
Nicolas Thill
40f6992324 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
SVN-Revision: 12623
2008-09-18 12:24:32 +00:00
Felix Fietkau
799e7a8fa8 disable autorebuild for the toolchain, as it can easily lead to build breakages
SVN-Revision: 12492
2008-09-02 10:57:35 +00:00
Florian Fainelli
cc99e5b35d Disable smash stacking support by default, but allow to enable it as an experimental feature
SVN-Revision: 12010
2008-07-30 12:54:28 +00:00
Nicolas Thill
89eb716470 use qstrip macro to strip quoted CONFIG_* strings
SVN-Revision: 11832
2008-07-14 23:24:58 +00:00
Imre Kaloz
04fd31f429 add patch to fix EABI compiles on ARMv4
SVN-Revision: 11365
2008-06-05 16:38:04 +00:00
Imre Kaloz
389c1186cf gcc 4.2.4 support
SVN-Revision: 11310
2008-05-31 18:45:07 +00:00
Matteo Croce
4a78320c11 refresh gcc-4.2.3 patches
SVN-Revision: 11232
2008-05-21 11:51:22 +00:00
Felix Fietkau
b672976e8e make sure the toolchain target dir really exists
SVN-Revision: 10913
2008-04-22 20:30:55 +00:00
Jeremy Kerr
077d84f543 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>

SVN-Revision: 10802
2008-04-12 23:14:42 +00:00
Florian Fainelli
1d482e1d39 Do not disable tls yet, uclibc-ntpl will support it soon
SVN-Revision: 10785
2008-04-10 15:52:38 +00:00
Florian Fainelli
3630b457a5 Disable tls support, uClibc does not support it, and it could lead to linking failures with some braindead autoconf programs
SVN-Revision: 10782
2008-04-10 14:05:38 +00:00
Felix Fietkau
6bce19599a remove the "depends BROKEN" for eabi
SVN-Revision: 10556
2008-03-07 10:16:37 +00:00
Imre Kaloz
6443bc981a fixup ARM EABI on GCC 4.1.2
SVN-Revision: 10480
2008-02-17 15:37:58 +00:00
Felix Fietkau
82572cf767 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
SVN-Revision: 10458
2008-02-14 14:31:31 +00:00
Imre Kaloz
28a177fca3 use GCC 4.2.3 by default for AVR32
SVN-Revision: 10414
2008-02-07 20:21:18 +00:00
Imre Kaloz
614cc08a14 add GCC 4.2.3
SVN-Revision: 10413
2008-02-07 20:18:40 +00:00
Gabor Juhos
f5c304120d gcc: fix version selection for Magicbox
SVN-Revision: 10345
2008-02-01 16:44:52 +00:00
Imre Kaloz
423d63701a fix GCC version selection for Magicbox
SVN-Revision: 10288
2008-01-27 21:21:46 +00:00
Imre Kaloz
c63ad5ccf9 add another softfloat patch
SVN-Revision: 10007
2007-12-28 18:32:14 +00:00
Imre Kaloz
915e6b89b5 fixup softfloat handling
SVN-Revision: 10003
2007-12-28 18:06:47 +00:00
Felix Fietkau
e28b55f39f fix a few stampfile locations
SVN-Revision: 9587
2007-11-20 19:58:49 +00:00
Imre Kaloz
34b4f11508 add gcc 4.2.2
SVN-Revision: 9443
2007-10-25 09:16:31 +00:00
Felix Fietkau
5feb978446 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>

SVN-Revision: 9406
2007-10-23 06:23:17 +00:00
John Crispin
cfd0fecd47 changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
SVN-Revision: 9167
2007-10-07 00:26:02 +00:00
Felix Fietkau
a9d683ca91 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
SVN-Revision: 8694
2007-09-08 19:55:42 +00:00