Nicolas Thill
6a82c67d87
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-18 12:24:32 +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
Imre Kaloz
1e1f3be699
add patch to fix EABI compiles on ARMv4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-05 16:38:04 +00:00
Imre Kaloz
8a0895053a
gcc 4.2.4 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-31 18:45:07 +00:00
Matteo Croce
d09a02e0ed
refresh gcc-4.2.3 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-21 11:51:22 +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
Felix Fietkau
2eb2107864
remove the "depends BROKEN" for eabi
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 10:16:37 +00:00
Imre Kaloz
c203865e38
fixup ARM EABI on GCC 4.1.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-17 15:37:58 +00:00
Felix Fietkau
03d5cedd44
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-14 14:31:31 +00:00
Imre Kaloz
815e1daffa
use GCC 4.2.3 by default for AVR32
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 20:21:18 +00:00
Imre Kaloz
d2d90a1fcf
add GCC 4.2.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 20:18:40 +00:00
Gabor Juhos
2884ed0e63
[toolchain] gcc: fix version selection for Magicbox
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-01 16:44:52 +00:00
Imre Kaloz
145c0e4a4f
fix GCC version selection for Magicbox
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-27 21:21:46 +00:00
Imre Kaloz
399e82d409
add another softfloat patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:32:14 +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
Imre Kaloz
0c0b19ae61
add gcc 4.2.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-25 09:16:31 +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
John Crispin
942c79cf15
changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-07 00:26:02 +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
Florian Fainelli
ac44d974c1
rdc can be built with gcc4 as well, my mistake
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-08 12:03:24 +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
Florian Fainelli
e8d7d2c474
rdc-2.6 must be built with gcc-3.4.6, if not it will not boot at all
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-05 11:05:08 +00:00
Florian Fainelli
cf679bf727
Allow installing gcj/gnu classpath,for those interested
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-04 10:59:02 +00:00
Felix Fietkau
949ca9cf6e
Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will emit warnings in packages that don't use our target cflags properly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-31 00:52:27 +00:00
Felix Fietkau
a6c33d3511
fix the gcc stampfile for initial stage installation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 22:27:37 +00:00
Imre Kaloz
508cc38074
add gcc 4.2.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 12:26:28 +00:00
Felix Fietkau
d922f4e821
update magicbox target to 2.6.22-rc6, select gcc 4.2.0 as default for this target (4.1.2 segfaults at compile time)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 20:42:21 +00:00
Felix Fietkau
8df096ed3e
fix gcc 4.2.0 compile for ppc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 19:52:09 +00:00
Felix Fietkau
018a1790a1
replace gcc 4.2 snapshot with 4.2.0 release (sync patches with uclibc buildroot), adjust gcc makefile for PATCH_DIR changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 07:30:25 +00:00
Imre Kaloz
15a51103e8
add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:44:01 +00:00
Imre Kaloz
272253c061
we don't need libmudflap at all
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:35:23 +00:00
Felix Fietkau
60bf0ca2ce
Nuke lots of obsolete compiler versions
...
Make gcc4 depend on !LINUX_2_4 - I'm getting sick of seeing people complain about
compile errors when trying to build brcm-2.4 with it.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-28 17:52:00 +00:00
Imre Kaloz
d25369bfb5
fix gcc version selection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-11 19:26:39 +00:00
Hamish Guthrie
0c7837df28
Changed default compiler for 2.6 kernels to 4.1.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-07 22:32:10 +00:00
Imre Kaloz
ef3bf0f2e8
add gcc 4.1.2 ( closes #1381 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 10:28:46 +00:00
Felix Fietkau
69d550862e
Fix gcc version selection
...
- default version for linux 2.4 broken in r6208
- brcm-2.6 needs an older compiler at least on wgt634u (don't ask me why...)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-26 11:02:59 +00:00
Imre Kaloz
23813f6c77
use gcc 4.1.1 for 2.6, 3.4.6 for 2.4 targets by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-26 10:55:06 +00:00
Nicolas Thill
e8d4eb1825
revert gcc to 4.1.1 for x86 to fix uclibc++ build ( closes : #1056 , #1202 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-23 16:14:50 +00:00
Felix Fietkau
08e88220c4
use the gcc 4.2 snapshot in x86-2.6 by default - seems to work better than 4.1.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-07 04:08:04 +00:00
Felix Fietkau
bce2c36f43
default to gcc 4.1.1 for the rb532 again
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-06 18:32:14 +00:00
Imre Kaloz
7af133d509
fix locale stuff (and there was much rejoicing)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-28 22:20:06 +00:00