florian
cfcc935fa2
[buildroot] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:29 +00:00
florian
46133b05e3
[toolchain] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 20:27:15 +00:00
florian
9a62705dcc
[toolchain] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 23:12:00 +00:00
florian
73b36b6691
[toolchain] gcc-4.6-linaro: update to 2012.11
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 19:37:39 +00:00
florian
4601430cdc
[toolchain] gcc-4.7-linaro: update to 2012.11
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 19:37:33 +00:00
nbd
82f93a2d3f
build: remove remaining references to TOOLCHAIN_JOBS (thx, Sedat Dilek)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-08 15:08:31 +00:00
florian
e6fd517c83
[toolchain] gcc: add GCC 4.7.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-14 13:35:19 +00:00
florian
6cc10e5569
[toolchain] gcc: add GCC 4.6.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-14 13:35:13 +00:00
florian
6c81b72b35
[toolchain] gcc: update 4.5-linaro to 4.5-2012.03
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 19:19:44 +00:00
florian
ba7c382c77
[toolchain] gcc: update 4.7-linaro to 4.7-2012.10
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 19:19:41 +00:00
florian
3f3a7d68ff
[toolchain] gcc: update gcc-4.6-linaro to 4.6-2012.10
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 19:19:38 +00:00
florian
c701ee27a6
[toolchain] gcc: add --with-long-double-128 for SPARC toolchain
...
This is required in order to build the final compiler.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-12 14:42:41 +00:00
florian
a761a9b382
[toolchain] gcc: backport struct siginfo -> siginfo_t renaming
...
Otherwise newer eglibc toolchain will simply fail to build.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-12 14:42:25 +00:00
nbd
6a31a701e2
build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-23 09:50:01 +00:00
nbd
1470e3d58c
gcc: enable parallel builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:18:19 +00:00
florian
555155f8ea
[toolchain] gcc: add upstream fixes for GCC bug 54494
...
See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54494 for more infos.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-07 10:31:58 +00:00
florian
c46c99ab6a
[toolchain] gcc: add upstream fixes for GCC bug 54369
...
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 for more infos.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-07 10:31:54 +00:00
nbd
b284b583be
toolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid errors on copying
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 21:43:59 +00:00
nbd
b5d071eb9b
toolchain/gcc: fix installing the toolchain after removing the toolchain dir without a full rebuild
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 18:12:19 +00:00
nbd
40b6fce4a1
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 18:12:15 +00:00
nbd
e687ad62c7
toolchain: install libgcc for minimal gcc, needed by newer eglibc versions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 12:24:13 +00:00
kaloz
7e7649baa9
[coldfire]: switch to 2.6.38
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-01 07:00:17 +00:00
jow
ede1bee20b
[toolchain] gcc: fix getenv() patches for 4.4.7 and 4.5-linaro
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-27 12:05:34 +00:00
mirko
632e1ee3ae
[toolchain/gcc] remove screwed up patch for gcc 4.7-linaro which got committed by accident
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 10:23:49 +00:00
mirko
448e6c21cc
[toolchain/gcc] add support for GCC 4.7-linaro (based on GCC 4.7.1)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 09:58:31 +00:00
jow
0ecfeb5ef7
[toolchain] gcc: add patch to make the getenv() spec function nonfatal if requested environment variable is unset
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 03:02:39 +00:00
jow
a319660afc
toolchain/gcc: gcc-4.7.0 upstream patch fixing uClibc problems
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 07:48:02 +00:00
kaloz
7a2d11b187
[toolchain/gcc/4.4]: upgrade to gcc 4.4.7
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 17:00:03 +00:00
mirko
2b55ad4ab5
[toolchain/gcc] add support for gcc 4.7.0 - thanks to acoul!
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-07 15:34:41 +00:00
juhosg
aea2ea8721
toolchain/gcc-4.6.2: fix v4bx patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 10:55:49 +00:00
juhosg
e53007bd62
toolchain/gcc-4.6-linaro: fix v4bx patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 10:55:47 +00:00
nbd
9de940d8c6
gcc: now that the gpr save/restore issues are taken care of, remove the -Os/-O2 workaround that dealt with it earlier
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 00:51:05 +00:00
nbd
88093cf36c
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 00:51:01 +00:00
nbd
572b0cb4a3
gcc: use .eh_frame sections for exception handling stack unwind - saves about 400 bytes on every executable or shared library
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 16:55:08 +00:00
nbd
663ce9a3a6
gcc: enable --with-headers for the final toolchain build
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 16:55:01 +00:00
nbd
9bc4638399
gcc 4.6: port over the missing patch 850-use_shared_libgcc.patch to prevent libgcc crap from leaking into every single binary
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 20:25:47 +00:00
kaloz
98ab10100c
[toolchain/gcc]: upgrade vanilla gcc to 4.6.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:48:39 +00:00
kaloz
bf082bbd92
[tolchain/gcc]: use Linaro GCC 4.6 by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:14:18 +00:00
kaloz
3d87eafcef
[toolchain/gcc]: update to latest Linaro releases
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 08:50:18 +00:00
jow
bf04048249
[toolchain] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:15:22 +00:00
kaloz
5d7b80359c
[toolchain/gcc]: upgrade to latest linaro releases
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 22:52:40 +00:00
nbd
056e3e42e0
gcc: always explicitly link against libstdc++, fixes build errors on some hosts that refuse to link it in implicitly (should fix #10587 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-12 10:15:20 +00:00
hauke
fdb4676b62
gcc: add 4.6-linaro version 4.6-2011.08
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:13:54 +00:00
hauke
f4d3cba607
gcc: make patches apply for gcc 4.5-linaro version 4.5-2011.08
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:12:47 +00:00
hauke
a259e0363d
gcc: move patches as the name changed.
...
This was missing in r28038.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:09:42 +00:00
hauke
7116227cee
gcc: update gcc-4.5-linaro to 4.5-2011.08
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:07:15 +00:00
hauke
ade52e08f7
gcc: rename linaro to 4.5-linaro
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-18 12:06:17 +00:00
kaloz
33e064fbce
[toolchain]: In R27118, TARGET_FIX_V4BX_SPEC got lost in the linker parameters.
...
Add it back.
Signed-off-by: Jochen Friedrich <jochen@scram.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-12 13:34:18 +00:00
kaloz
954994200e
[toolchain/gcc]: the only reasons for having 4.4 around are avr32 and ubicom32, so make it depend on them
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 11:15:00 +00:00
nbd
10e2f68dfd
toolchain: remove a dependency on a nonexistant config symbol (thx, Sedat Dilek)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 08:13:50 +00:00