Commit Graph

77 Commits (7b4aa865605a9ec637402f301c5f8a18f8b288f8)

Author SHA1 Message Date
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 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 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 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
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
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 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 2a0552ccb0 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 05:28:29 +00:00
Felix Fietkau e9cb2940e6 add a gcc variant based on gcc 4.3.3 with codesourcery enhancements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 02:09:52 +00:00
Felix Fietkau 13de9a716a gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet, but gets close)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-10 19:25:48 +00:00
Lars-Peter Clausen 9fd7cda280 [toolchain] disable tls for stdlibc++. fixes c++ inside a gcc-4.4.0
toolchain.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-05 11:33:12 +00:00
Felix Fietkau 1b6675367e fix the uclibc rebuild issue which leads to unresolved symbols in libnl (and possibly other libraries)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 18:41:08 +00:00
Felix Fietkau fe799c19a6 remove obsolete gcc version md5sums
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 18:40:22 +00:00
Nicolas Thill 59b233cb01 [toolchain] gcc: symlink ./lib64 to ./lib for x86_64 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 10:14:30 +00:00
Florian Fainelli 8b65143fd1 [toolchain] add preliminary support for gcc-4.4.0, need to forward port the fhonour-copt patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-23 09:44:57 +00:00
Felix Fietkau f0f9ec9c56 add a modified version of the mips64 patch from #4603
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-18 17:03:55 +00:00
Felix Fietkau b161730496 fix stampfile variables for the toolchain build (fixes gcc compile error)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-13 12:50:23 +00:00
Nicolas Thill 84f43d1453 [toolchain] move common variables to a dedicated include file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 23:52:27 +00:00
Felix Fietkau b892e1fb85 build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
Nicolas Thill 293b872934 [toolchain] cosmetic & coherency fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 21:25:48 +00:00
Felix Fietkau 41b4d9dca2 add gcc 4.3.3, clean up gcc version config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 20:08:34 +00:00
Nicolas Thill d748bad85e [toolchain] add support for gcc v4.3.1 & v4.3.2 (closes: #3479), thanks to Luigi Mantellini!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 11:58:17 +00:00
Nicolas Thill 3b75e47f8f [massive] 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00
Florian Fainelli cf59f8469a Fix ssp enabling/disabling (#4388)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 12:56:31 +00:00
Imre Kaloz 3e2defe46a nuke old gcc 4.2 versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:32:02 +00:00
Nicolas Thill 850a33d79c add md5sums for binutils & gcc and use the GNU mirror facility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-08 21:18:33 +00:00
Felix Fietkau 78aec4b21d disable autorebuild for the toolchain, as it can easily lead to build breakages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 10:57:35 +00:00
Florian Fainelli 0ae9727f8b Disable smash stacking support by default, but allow to enable it as an experimental feature
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 12:54:28 +00:00
Nicolas Thill 119bfa9050 use qstrip macro to strip quoted CONFIG_* strings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-14 23:24:58 +00:00
Felix Fietkau 6e4bdf784b make sure the toolchain target dir really exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-22 20:30:55 +00:00
Jeremy Kerr e5eb114697 [toolchain] 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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-12 23:14:42 +00:00
Florian Fainelli 215e237e9f Do not disable tls yet, uclibc-ntpl will support it soon
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-10 15:52:38 +00:00
Florian Fainelli 6e62677c05 Disable tls support, uClibc does not support it, and it could lead to linking failures with some braindead autoconf programs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-10 14:05:38 +00:00
Imre Kaloz 08e9c42e67 fixup softfloat handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:06:47 +00:00
Felix Fietkau 5a9cf90163 fix a few stampfile locations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-20 19:58:49 +00:00
Felix Fietkau 4e577f8c71 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 06:23:17 +00:00
Felix Fietkau 6bcd07afdd 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
Nicolas Thill 5780bcb8db fix typo (closes: #2275)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 13:00:27 +00:00
Florian Fainelli a6c626e609 Disable multilib by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-23 16:08:09 +00:00
Florian Fainelli d16e4130df Fix the stage2 compilation, no side effect with gcc4 (#2190)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-13 16:26:58 +00:00
Felix Fietkau d10a56dc58 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00