Commit Graph

306 Commits (9e1d2c15d905cf210760d9d4f654f91a5d6c5f42)

Author SHA1 Message Date
Florian Fainelli 9dc38e48f7 toolchain/gcc: .init and .fini need to pick one ISA
The .init and .fini sections are built by concatenating code
fragments. Putting mips16 code in the middle of a mips32 code block
doesn't work. Make gcc built the magic crt stuff in no-mips16 mode.

This is specific to 4.6-linaro but is probably portable to other gcc
flavors. Adding this to the t-libgcc-mips16 makefile fragment is a
hack not suitable for pushing upstream, but there is no mips/t-linux
or mips/t-uclibc and I am not going to touch gcc/configure for two
lines.

Signed-off-by: Jay Carlson <nop@nop.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36200
11 years ago
Imre Kaloz 84d0582ddb remove the old (and nonworking) hack and identify our patched GCCs properly
SVN-Revision: 36189
11 years ago
Florian Fainelli 4dd9e8dc9b toolchain/gcc: remove reference to llvm introduced in r36155
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36156
11 years ago
Florian Fainelli a54e305a8b toolchain/gcc: add support for GCC 4.8.0
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36155
11 years ago
Florian Fainelli 558d35c754 toolchain/gcc: update 4.7-linaro to 2013.03
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36154
11 years ago
Imre Kaloz 2a390f5706 drop 4.5 support
SVN-Revision: 36149
11 years ago
Imre Kaloz 48612b3b4a cleanup
SVN-Revision: 36148
11 years ago
Imre Kaloz 99d4d9a148 fixup 4.7 configure options
SVN-Revision: 36146
11 years ago
Imre Kaloz 9231162c7e llvm is marked broken for two and a half year now, nuke it
SVN-Revision: 36145
11 years ago
Florian Fainelli 2935823a42 toolchain/gcc: refresh patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35808
11 years ago
Luka Perkov 098bd91f5e gcc: don't build documentation
This closes #13039.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 35807
11 years ago
Luka Perkov a85019072f gcc: remove support for 4.6.2
There are no good reasons for keeping this version around when 4.6.3 and
4.6-linaro are there.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 35805
11 years ago
Florian Fainelli fe766227a2 toolchain/gcc: fix the mips64 linker path to be more musl conforming
musl libc does not use /lib32 or /lib64 directories, just /lib

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

SVN-Revision: 35406
12 years ago
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