Commit Graph

393 Commits (05d73a2a73794f8a978300eac75e25deae6d0626)

Author SHA1 Message Date
Florian Fainelli 5ae9a4f830 gcc: fix build for MIPS64 targets introduced by musl patch
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35046
12 years ago
Florian Fainelli 2e8be0cc4b gcc-linaro-4.6: update to 2012.12
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35044
12 years ago
Florian Fainelli b71fdb0abf gcc-linaro-4.7: update to 2012.12
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35043
12 years ago
Jo-Philipp Wich 57d29c25f5 toolchain: use file_copy to install the initial gcc files
SVN-Revision: 34440
12 years ago
Florian Fainelli 4801705d83 remove support for ubicom32
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34432
12 years ago
Florian Fainelli bf9af32738 gcc/4.5-linaro: backport musl patch
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34425
12 years ago
Florian Fainelli 6b63716262 add preliminary support for musl
Musl is an alternative C-library, see http://www.musl-libc.org for more infos.

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

SVN-Revision: 34314
12 years ago
Florian Fainelli bca3953ee5 gcc: remove support for 4.7.0
There are no good reasons for keeping this version around when 4.7.2 and
4.7-linaro are there.

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

SVN-Revision: 34296
12 years ago
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
12 years ago
Florian Fainelli 9659e20d57 gcc-4.6-linaro: update to 2012.11
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34264
12 years ago
Florian Fainelli d82044de9c gcc-4.7-linaro: update to 2012.11
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34263
12 years ago
Felix Fietkau 291d24c3cc build: remove remaining references to TOOLCHAIN_JOBS (thx, Sedat Dilek)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 34122
12 years ago
Florian Fainelli 5013a897c5 gcc: add GCC 4.7.2
SVN-Revision: 33763
12 years ago
Florian Fainelli ba446684e0 gcc: add GCC 4.6.3
SVN-Revision: 33762
12 years ago
Florian Fainelli 3a31553a0e gcc: update 4.5-linaro to 4.5-2012.03
SVN-Revision: 33760
12 years ago
Florian Fainelli 42c4a16172 gcc: update 4.7-linaro to 4.7-2012.10
SVN-Revision: 33759
12 years ago
Florian Fainelli 5d223006f9 gcc: update gcc-4.6-linaro to 4.6-2012.10
SVN-Revision: 33758
12 years ago
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
12 years ago
Florian Fainelli a72cadbbb4 gcc: backport struct siginfo -> siginfo_t renaming
Otherwise newer eglibc toolchain will simply fail to build.

SVN-Revision: 33736
12 years ago
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
12 years ago
Felix Fietkau d6c5846513 gcc: enable parallel builds
SVN-Revision: 33444
12 years ago
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
12 years ago
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
12 years ago
Felix Fietkau 59b384dabe toolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid errors on copying
SVN-Revision: 32556
12 years ago
Felix Fietkau 70259bceb4 toolchain/gcc: fix installing the toolchain after removing the toolchain dir without a full rebuild
SVN-Revision: 32554
12 years ago
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
12 years ago
Felix Fietkau 176c236922 toolchain: install libgcc for minimal gcc, needed by newer eglibc versions
SVN-Revision: 32100
12 years ago
Imre Kaloz 880de62f91 switch to 2.6.38
SVN-Revision: 31546
12 years ago
Jo-Philipp Wich e0c97d69c6 gcc: fix getenv() patches for 4.4.7 and 4.5-linaro
SVN-Revision: 31489
12 years ago
Mirko Vogt 47ea827dce remove screwed up patch for gcc 4.7-linaro which got committed by accident
SVN-Revision: 31393
12 years ago
Mirko Vogt 84307e4035 add support for GCC 4.7-linaro (based on GCC 4.7.1)
SVN-Revision: 31392
12 years ago
Jo-Philipp Wich f79bfe6072 gcc: add patch to make the getenv() spec function nonfatal if requested environment variable is unset
SVN-Revision: 31390
12 years ago
Jo-Philipp Wich b7e2959450 toolchain/gcc: gcc-4.7.0 upstream patch fixing uClibc problems
SVN-Revision: 31255
12 years ago
Imre Kaloz ca6859aa29 upgrade to gcc 4.4.7
SVN-Revision: 31230
12 years ago
Mirko Vogt 626e171764 add support for gcc 4.7.0 - thanks to acoul!
SVN-Revision: 31216
12 years ago
Gabor Juhos 45d5b24190 toolchain/gcc-4.6.2: fix v4bx patch
SVN-Revision: 30970
12 years ago
Gabor Juhos 9c077ed0ae toolchain/gcc-4.6-linaro: fix v4bx patch
SVN-Revision: 30969
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Felix Fietkau 42ed1bd9e6 gcc: enable --with-headers for the final toolchain build
SVN-Revision: 30613
12 years ago
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
12 years ago
Imre Kaloz d252dd3d2e upgrade vanilla gcc to 4.6.2
SVN-Revision: 30470
12 years ago
Imre Kaloz 909abe4999 use Linaro GCC 4.6 by default
SVN-Revision: 30467
12 years ago
Imre Kaloz ed192cb5a6 update to latest Linaro releases
SVN-Revision: 30466
12 years ago
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
13 years ago
Imre Kaloz 8fcdb09e1f upgrade to latest linaro releases
SVN-Revision: 29748
13 years ago
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
13 years ago
Hauke Mehrtens cca287d05e gcc: add 4.6-linaro version 4.6-2011.08
SVN-Revision: 28042
13 years ago
Hauke Mehrtens ab380f46f4 gcc: make patches apply for gcc 4.5-linaro version 4.5-2011.08
SVN-Revision: 28041
13 years ago
Hauke Mehrtens 441e392e11 gcc: move patches as the name changed. This was missing in r28038.
SVN-Revision: 28040
13 years ago
Hauke Mehrtens 5f1d6c6c9b gcc: update gcc-4.5-linaro to 4.5-2011.08
SVN-Revision: 28039
13 years ago
Hauke Mehrtens a0c5616090 gcc: rename linaro to 4.5-linaro
SVN-Revision: 28038
13 years ago
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
13 years ago
Imre Kaloz 887b29bfbd the only reasons for having 4.4 around are avr32 and ubicom32, so make it depend on them
SVN-Revision: 27559
13 years ago
Felix Fietkau 9a560e48dd toolchain: remove a dependency on a nonexistant config symbol (thx, Sedat Dilek)
SVN-Revision: 27556
13 years ago
Imre Kaloz 6d378e7b20 fix ppc toolchain build
SVN-Revision: 27551
13 years ago
Imre Kaloz a2c0394572 simplify configuration
SVN-Revision: 27353
13 years ago
Imre Kaloz 4fbc50d89a nuke support for older gcc versions, except for 4.4.6 (needed for avr32 and ubicom32)
SVN-Revision: 27351
13 years ago
Imre Kaloz 5f397b16ef both coldfire and etrax are broken and should use a newer gcc when they will be fixed
SVN-Revision: 27350
13 years ago
Imre Kaloz dde7babe01 switch avr32 to gcc 4.4, also powerpc targets should work fine with linaro releases
SVN-Revision: 27338
13 years ago
Imre Kaloz 9167521015 bump the 4.4 flavour to 4.4.6
SVN-Revision: 27337
13 years ago
Imre Kaloz be9a11b014 replace gcc 4.5.2 support with 4.6.1
SVN-Revision: 27333
13 years ago
Imre Kaloz 6d02667c07 add the latest avr32 toolchain patches (with additional fixes)
SVN-Revision: 27332
13 years ago
Imre Kaloz 7c4a91b216 upgrade the linaro gcc to 2011.06
SVN-Revision: 27326
13 years ago
Jo-Philipp Wich 28fbd7470d add gfortran compiler support (#9600, patch from Xiangfu Liu via Qi hardware)
SVN-Revision: 27262
13 years ago
Jo-Philipp Wich a56dab661a introduce option to enable setjump()/longjump() based C++ exceptions (#9185, patch from David Kuehling via Qi hardware)
SVN-Revision: 27261
13 years ago
Mirko Vogt 18caed8793 remove empty file (patch went upstream and file didn't get deleted but only cleared)
SVN-Revision: 27122
13 years ago
Mirko Vogt 59ad83aff1 upgrade Linaro GCC to 4.5-2011.05-0 - thanks to Mark Mentovai
SVN-Revision: 27118
13 years ago
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
13 years ago
Felix Fietkau 7b64200684 gcc: include assembler functions in the shared libgcc_s library, fixes missing symbol issues on powerpc
SVN-Revision: 25912
13 years ago
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
13 years ago
Alexandros C. Couloumbis e2a0620d44 toolchain/gcc: fix r25709 (closes #8964)
SVN-Revision: 25844
13 years ago
Felix Fietkau d1f44a7598 gcc: disable extension elimination, it causes hostapd to be miscompiled on mips
SVN-Revision: 25834
13 years ago
Felix Fietkau c2e2651b71 toolchain: remove -lgcc_eh from the default libgcc spec, it breaks packages
SVN-Revision: 25807
13 years ago
Felix Fietkau 23e18c9037 gcc-linaro: fix the libgcc spec to default to using the shared libgcc
SVN-Revision: 25801
13 years ago
Imre Kaloz aa6099c624 backport fa526 optimization for gcc 4.5+
SVN-Revision: 25709
13 years ago
Imre Kaloz 446f79385b use the Linaro GCC for arm and mips targets
SVN-Revision: 25708
13 years ago
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
13 years ago
Imre Kaloz 0be1f2ba60 sync avr32 patch with the latest ones from atmel
SVN-Revision: 25696
13 years ago
Felix Fietkau ad6c7066a6 gcc: remove arch default duplication, fix version selection for !TOOLCHAINOPTS
SVN-Revision: 25633
13 years ago
Imre Kaloz 3e974e67b2 combine all avr32 patches into a single one
SVN-Revision: 25566
13 years ago
Imre Kaloz 667ac6c970 additional avr32 fixes
SVN-Revision: 25556
13 years ago
Imre Kaloz 82608a62ad refresh patches
SVN-Revision: 25555
13 years ago
Imre Kaloz 238721c650 fixup gcc version selection
SVN-Revision: 25554
13 years ago
Imre Kaloz 01a424b4f9 upgrade to 2011.02, rename patchset directory
SVN-Revision: 25515
13 years ago
Imre Kaloz 8570c4be39 fixup arm soft-float symbols
SVN-Revision: 25325
14 years ago
Imre Kaloz f3621a025c refresh patch
SVN-Revision: 25324
14 years ago
Imre Kaloz 7edc8ca545 add armv4 fixup patches
SVN-Revision: 25322
14 years ago
Felix Fietkau e1d823338b gcc: fix default version selection - fixes missing MPC configure error during toolchain build
SVN-Revision: 25283
14 years ago
Felix Fietkau bf51ee3572 gcc: fix linaro 4.5.1 version check
SVN-Revision: 25203
14 years ago
Imre Kaloz a48d1f3a70 refresh patches
SVN-Revision: 25195
14 years ago
Imre Kaloz 50be0201f1 cleanup toolchain version handling
SVN-Revision: 25148
14 years ago
Imre Kaloz b255026bd1 nuke unneeded patchsets as well
SVN-Revision: 25145
14 years ago
Imre Kaloz 25fb11cf89 get rid of gcc 4.1.2 and 4.2.4 support
SVN-Revision: 25144
14 years ago
Imre Kaloz d8634c4521 use the linaro gcc by default (right now this only affects x86 targets)
SVN-Revision: 25142
14 years ago
Gabor Juhos 72ba27ae72 cns21xx: add initial support for the Cavium CNS21xx SoC
SVN-Revision: 24859
14 years ago
Alexandros C. Couloumbis e010aa6408 toolchain/gcc: fix r24746
SVN-Revision: 24751
14 years ago
Imre Kaloz 30439e7092 add gcc 4.5.2 (replaces 4.5.1)
SVN-Revision: 24746
14 years ago
Felix Fietkau 014d3b98b9 gcc: fix newer libstdc++ compile issues with uclibc 0.9.32
SVN-Revision: 24734
14 years ago
Imre Kaloz a0e49fa2d1 upgrade the linaro gcc to the 2010.12 release
SVN-Revision: 24563
14 years ago
Imre Kaloz d4bf98f231 add plemininary ultrasparc support
SVN-Revision: 24558
14 years ago
Imre Kaloz 54640d6592 update the linaro gcc to v2010.11-1
SVN-Revision: 23940
14 years ago
Imre Kaloz d917b7d1ef use gcc 4.3.5 for avr32
SVN-Revision: 23866
14 years ago
Imre Kaloz 54dea0c74f add avr32 support to gcc 4.3.5
SVN-Revision: 23865
14 years ago
Imre Kaloz 387c2adead remove unneeded config options, too
SVN-Revision: 23706
14 years ago
Imre Kaloz f6ff75eed6 fix typo
SVN-Revision: 23705
14 years ago
Imre Kaloz 723ab81016 get rid of old gcc versions
SVN-Revision: 23704
14 years ago
Imre Kaloz 57017cf64c add support for Linaro GCC 2010.10
SVN-Revision: 23703
14 years ago
Imre Kaloz 16ec438707 fix typo
SVN-Revision: 23695
14 years ago
Imre Kaloz bdeb70c8d7 sync gcc's Config.in with Config.version
SVN-Revision: 23694
14 years ago
Imre Kaloz 3a89cedc85 the latest patchlevel gcc releases should work for these targets
SVN-Revision: 23693
14 years ago
Imre Kaloz 6bd93c3fdf fixup gcc version selection for the omap35xx target
SVN-Revision: 23692
14 years ago
Imre Kaloz 4fb2718119 we don't support gcc 3.x for some time now
SVN-Revision: 23686
14 years ago
Imre Kaloz 9edd05b9c0 gcc 4.4.5 support
SVN-Revision: 23220
14 years ago
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
14 years ago
Felix Fietkau ffd00db938 gcc: enable non-PIC for mips targets in gcc 4.4+ to reduce code size
SVN-Revision: 23103
14 years ago
Felix Fietkau affb66c2c6 gcc: add an updated version of 4.4.1+cs - successfully builds a toolchain now, please test!
SVN-Revision: 23101
14 years ago
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
14 years ago
Florian Fainelli 0e00670962 gcj can only be built safely on gcc >= 4.3
SVN-Revision: 22843
14 years ago
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
14 years ago
Nicolas Thill 4bd5e0e62e toolchain/gcc: remove remaining references to gcc-3.4.6
SVN-Revision: 22694
14 years ago
Lars-Peter Clausen 04497bbb2c Add lost handling of -fhonour-copts to 4.4.x+cs/910-mbsd_multi.patch
SVN-Revision: 22474
14 years ago
Florian Fainelli 332227b067 add support for gcc-4.5.1
SVN-Revision: 22450
14 years ago
Florian Fainelli cb4dcc9c0d bump default gcc-4.4 version for sibyte and octeon
SVN-Revision: 22437
14 years ago
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
14 years ago
Felix Fietkau 0410a7b549 remove gcc 3.4.6
SVN-Revision: 21955
14 years ago
Hamish Guthrie 4732fe9718 Refactor omap35xx sub-targets to cater for beagleboard and gumstix overo
SVN-Revision: 21858
14 years ago
Nicolas Thill 4019bca7eb toolchain/gcc: add support for gcc-4.4.4
SVN-Revision: 21600
14 years ago
Nicolas Thill 32098a5faf toolchain/gcc: add support for gcc-4.3.5
SVN-Revision: 21599
14 years ago
Nicolas Thill c75f28c31d toolchain/gcc: remove md5 for unsupported 4.4.0 version, add missing md5 for 4.3.4
SVN-Revision: 21580
14 years ago
Nicolas Thill 6da563992e toolchain/gcc: sort versions in Config.in (cosmetic)
SVN-Revision: 21579
14 years ago
Jo-Philipp Wich fad018cfdd fix syntax error in Config.in
SVN-Revision: 21062
14 years ago
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
14 years ago
Alexandros C. Couloumbis 6d59a298e8 add gcc-4.5.0 preliminary support
SVN-Revision: 21033
14 years ago
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
14 years ago
Nicolas Thill 10d11328ef gcc: only enable/disable TLS support in final stage (closes: #6788)
SVN-Revision: 20018
14 years ago
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
14 years ago
Imre Kaloz c354852432 make TLS support configurable
SVN-Revision: 19870
14 years ago
Imre Kaloz 3e139467ce use gcc 4.3.4 for the gemini target
SVN-Revision: 19824
14 years ago
Imre Kaloz 948fcc98f0 use gcc 4.4.3 for mips64 targets
SVN-Revision: 19686
14 years ago
Imre Kaloz 0b5ddcb9cf use gcc 4.4.3 for the powerpc targets by default
SVN-Revision: 19671
15 years ago
Imre Kaloz 5bd4c4e26d the CS toolchain FTBS for the gemini, use the old one for now
SVN-Revision: 19556
15 years ago
Felix Fietkau 8775d98c19 add missing +cs version suffix to the 4.4.3 codesourcery toolchain
SVN-Revision: 19350
15 years ago
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
15 years ago
Imre Kaloz b69732ba94 add another gcc version based on 4.4.3 plus the 2009q3 codesourcery patch
SVN-Revision: 19348
15 years ago
Imre Kaloz e4e0e3ee6c cleanup patch
SVN-Revision: 19345
15 years ago
Imre Kaloz cae33bf4e9 add preliminary support for the latest CodeSourcery toolchain
SVN-Revision: 19324
15 years ago
Imre Kaloz 58c556e597 add support for gcc 4.4.3
SVN-Revision: 19314
15 years ago
Nicolas Thill 9e0bad9cb4 gcc: use coherent version selector between binutils & gcc
SVN-Revision: 19227
15 years ago