Felix Fietkau
f38436f607
binutils: run install twice instead of overwriting the final toolchain with the initial one
...
fixes compiler error after a binutils rebuild/reinstall without
rebuilding the rest of the toolchain
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43785
10 years ago
Felix Fietkau
7d808a325d
binutils: enable plugin support
...
--enable-plugin is necessary for gcc-ar, gcc-nm and gcc-ranlib to work, which
must be used with GCC 4.9 for LTO to work.
Without this option, gcc-ar etc. will just fail with
sorry - this program has been built without plugin support
Using the normal ar from binutils with GCC 4.9 and -flto will cause linking
with static "convenience" libraries to fail.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 43783
10 years ago
Felix Fietkau
9d1b619cb1
binutils: remove linaro version string, it confuses gcc lto support detection
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43004
10 years ago
Felix Fietkau
b537205ea2
toolchain: fix binutils broken symlink
...
The Makefile for binutils creates a broken symlink to "binutils-linaro" in
"trunk/build_dir/toolchain-<target>_gcc-4.9-linaro_uClibc-0.9.33.2".
Modify the Makefile to point the symlink to the correct directory.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 42954
10 years ago
Felix Fietkau
c7bc3ad908
binutils: remove old versions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42776
10 years ago
Felix Fietkau
3959555e29
binutils: update -linaro to 2.24.0-2014.09
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42704
10 years ago
Jonas Gorski
68fcb15f90
toolchain/binutils: do not install host libiberty.a into target lib dir
...
Binutils target build will pick it up and break build on e.g. arm:
libtool: link: arm-openwrt-linux-uclibcgnueabi-gcc -shared .libs/archive.o .libs/archures.o .libs/bfd.o .libs/bfdio.o .libs/bfdwin.o .libs/cache.o .libs/coffgen.o .libs/corefile.o .libs/format.o .libs/init.o .libs/libbfd.o .libs/opncls.o .libs/reloc.o .libs/section.o .libs/syms.o .libs/targets.o .libs/hash.o .libs/linker.o .libs/srec.o .libs/binary.o .libs/tekhex.o .libs/ihex.o .libs/stabs.o .libs/stab-syms.o .libs/merge.o .libs/dwarf2.o .libs/simple.o .libs/compress.o .libs/verilog.o .libs/elf32-arm.o .libs/elf32.o .libs/elf-nacl.o .libs/elf-vxworks.o .libs/elf.o .libs/elflink.o .libs/elf-attrs.o .libs/elf-strtab.o .libs/elf-eh-frame.o .libs/dwarf1.o .libs/elf32-gen.o .libs/cpu-arm.o -L/mnt/dl/slave/at91/build/staging_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/usr/lib -L/mnt/dl/slave/at91/build/staging_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/lib -L/mnt/dl/slave/at91/build/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/usr/lib -L/mnt/dl/slave/at91/build/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib -L/mnt/dl/slave/at91/build/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/binutils-2.24/bfd/../libiberty/pic -liberty -lz -march=armv5te -mtune=arm926ej-s -mfloat-abi=soft -Wl,-lc -Wl,--as-needed -Wl,-lm -Wl,--no-as-needed -Wl,-soname -Wl,libbfd-2.24.so -o .libs/libbfd-2.24.so
/mnt/dl/slave/at91/build/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib/libiberty.a: could not read symbols: File format not recognized
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42430
10 years ago
Imre Kaloz
5c3cb628f8
upgrade the Linaro binutils to 2.24-2013.12
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39210
11 years ago
Imre Kaloz
348c3af966
add support for Linaro binutils 2.23.2-2013.06
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 37944
11 years ago
Felix Fietkau
6260e6ef48
binutils: remove some unused obsolete versions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37093
12 years ago
Florian Fainelli
781e7dd18b
toolchain/binutils: fix partial MD5 sum from r35813
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35816
12 years ago
Florian Fainelli
f08ef57424
toolchain/binutils: fix 2.19.1 MD5 sum
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35813
12 years ago
Florian Fainelli
cf440ae716
binutils: remove 2.21
...
There is no point in keeping around 2.21 when 2.21.1 which is a bugfix release
is there.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34265
12 years ago
Florian Fainelli
274c21cd8e
binutils: add support for 2.23.1
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34262
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
62869d02bc
binutils: enable parallel builds
...
SVN-Revision: 33443
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
13 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
13 years ago
Imre Kaloz
09a8334a1e
add binutils 2.22
...
SVN-Revision: 30375
13 years ago
Mirko Vogt
408b12ff76
adjust md5sum of v2.21.1 since archive got replaced meanwhile
...
SVN-Revision: 29836
13 years ago
Hauke Mehrtens
01870142fb
binutils: add binutils 2.21.1
...
SVN-Revision: 27919
13 years ago
Imre Kaloz
e733d679a0
remove the CS variant - broken since it's addition
...
SVN-Revision: 25648
14 years ago
Imre Kaloz
57be27f340
add binutils 2.21
...
SVN-Revision: 25567
14 years ago
Imre Kaloz
95cba52ba4
remove support for binutils 2.18 and 2.20
...
SVN-Revision: 23685
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
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
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
15 years ago
Alexandros C. Couloumbis
6dfce04b55
add binutils-2.20.1
...
SVN-Revision: 20137
15 years ago
Felix Fietkau
affe22dce7
binutils: fix path to cloog and ppl
...
SVN-Revision: 18265
15 years ago
Felix Fietkau
4fd397fad9
add binutils 2.20
...
SVN-Revision: 18263
15 years ago
Felix Fietkau
0b077fa3a7
add a binutils variant based on a binutils snapshot and codesourcery g++ enhancements (compiles, but fails to link the kernel)
...
SVN-Revision: 18060
15 years ago
Felix Fietkau
90826d83c9
remove binutils 2.17 and 2.19
...
SVN-Revision: 15619
16 years ago
Nicolas Thill
8a2030ff3d
move common variables to a dedicated include file
...
SVN-Revision: 14648
16 years ago
Felix Fietkau
7eb1589875
build system refactoring in preparation for allowing packages to do host-build steps
...
SVN-Revision: 14610
16 years ago
Nicolas Thill
33a0eb3613
cosmetic & coherency fixes
...
SVN-Revision: 14397
16 years ago
Nicolas Thill
22e91f881e
binutils: add support for v2.19.1 (from #4492 , thanks to dwrobel)
...
SVN-Revision: 14393
16 years ago
Florian Fainelli
565f1723f0
libssp should also be configured in binutils
...
SVN-Revision: 14376
16 years ago
Felix Fietkau
19f8937c77
install readelf to STAGING_DIR_HOST (eglibc requires it, not all systems have it)
...
SVN-Revision: 14196
16 years ago
Felix Fietkau
817ccebe70
add binutils 2.19 (patch from #4367 )
...
SVN-Revision: 14075
16 years ago
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
16 years ago
Imre Kaloz
da43f70063
nuke binutils 2.16.1 - old, unused, buggy
...
SVN-Revision: 13481
16 years ago
Nicolas Thill
f1ceaae24a
add md5sums for binutils & gcc and use the GNU mirror facility
...
SVN-Revision: 13143
16 years ago
Felix Fietkau
799e7a8fa8
disable autorebuild for the toolchain, as it can easily lead to build breakages
...
SVN-Revision: 12492
16 years ago
Nicolas Thill
89eb716470
use qstrip macro to strip quoted CONFIG_* strings
...
SVN-Revision: 11832
17 years ago
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
17 years ago
Imre Kaloz
3e3b877d14
update binutils autoconf scripts, too
...
SVN-Revision: 10005
17 years ago
Imre Kaloz
915e6b89b5
fixup softfloat handling
...
SVN-Revision: 10003
17 years ago
Felix Fietkau
19a6b0fa95
Add binutils extra configure options
...
Currently, we can specify extra configure options for gcc, but not
binutils.
This change adds an EXTRA_BINUTILS_CONFIG_OPTIONS config variable,
so we can add configure options for binutils.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
SVN-Revision: 9407
17 years ago
Felix Fietkau
c6bc77ea36
build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
...
SVN-Revision: 8362
18 years ago
Felix Fietkau
a81db04ee6
remove the custom Build/Prepare override in binutils, use PATCH_DIR, refresh patches using quilt
...
SVN-Revision: 7752
18 years ago