Commit Graph

851 Commits (2b8c75f0c141361e7777bb3b7ce311f7deb4299b)

Author SHA1 Message Date
Imre Kaloz 9d2b3add2a [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
Mirko Vogt 3b19d53edd [toolchain/glibc*] purge support for glibc - use eglibc instead!
for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 22:24:12 +00:00
Mirko Vogt d7efd1199d [toolchain/eglibc] drop support for eglibc version trunk/HEAD
When selecting a specific eglibc version, it comes with a specific SVN
revision that should not be modified as it (more or less) correspond to
a tagged release. This patch disable the possibility to select a specific
SVN revision on known eglib versions.

This patch also disables the possibility to select the trunk branch of
eglibc. There are multiple reasons for that:

* trunk/HEAD may not even compile

* the OpenWrt built system makes using trunk/HEAD a difficult thing, as
OpenWRT fetches the source tree and store it in a compressed tar archive.
Subsequent build get the source from the tar archive - not from SVN,
making the use of trunk/HEAD largelly innefective.

* we cannot know the corresponding version of trunk/HEAD, meaning that
we'll face compiling issues when we'll try to copy the libc files -
unless the build system is fixed with this specific issue in mind.

Signed-off-by: Emmanuel Deloget <logout@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 20:47:48 +00:00
Mirko Vogt 4310c0cf92 [toolchain/eglibc] set version string of eglibc version 2.14 to 2.14.1
eglibc version number depends on the branch and on the maintenance release
(i.e. the SVN revision). Changing the revision may change the maintenance
version. This patch correlate the SVN revision to the correct version
number - without this change  eglibc 2.14 provoke build errors when
building the base-files package (example, for 2.14):

$ make package/base-files/compile V=1
   make[1] package/base-files/compile
   make[2] -C package/opkg host-compile
   make[2] -C package/base-files-network compile
   make[2] -C package/base-files compile
cp: cannot stat `/home/me/openwrt/trunk/staging_dir/toolchain-arm_v7-a_gcc-4.6-linaro_eglibc-trunk_eabi/lib/ld-2.14.so': No such file or directory

Signed-off-by: Emmanuel Deloget <logout@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 20:18:06 +00:00
Mirko Vogt 2d0009e7fe [toolchain/eglibc] drop eglibc version 2.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 20:10:32 +00:00
Jo-Philipp Wich 8a777e9a30 [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 Vogt f3ed2f9126 [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 Vogt 3ec24f82e1 [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
Jo-Philipp Wich 1272afb1c4 [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
Mirko Vogt 132aa096ad [toolchain/eglibc] when choosing eglibc select eglibc version 2.13 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-18 01:10:37 +00:00
Mirko Vogt aee919a22a [toolchain/eglibc] remove patch '100-do-not-use-implicit-rules.patch' for eglibc 2.12
Mentioned patch got obsoleted by commit 31300, since it went upstream meanwhile

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-18 01:10:20 +00:00
Mirko Vogt 20868833d0 [toolchain/eglibc] level up eglibc versions to latest revisions of its respective branches
in particular this solves the issue that eglibc version 2.x produced so-files having the version string 2.(x-1) in its names which confused the toolchain

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 08:40:45 +00:00
Jo-Philipp Wich f259f91689 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
Jo-Philipp Wich a432055c7e [toolchain] exclude CONFIG_GDB on avr32, allows enabling CONFIG_GDB unconditionally without failing avr32 builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-10 21:04:06 +00:00
Imre Kaloz 240c8ea1fe [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 Vogt 75df536d1b [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
Florian Fainelli b4c56b4d5e [toolchain/uClibc] backport upstream fix for dst computation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-26 10:57:50 +00:00
Gabor Juhos d414ea291f 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
Gabor Juhos 89c81ea6b8 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
Felix Fietkau d31f8e6874 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
Felix Fietkau 9f1e04f9ae 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
Felix Fietkau 7472c7c236 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
Felix Fietkau 927594bdea 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
Felix Fietkau 1f0e01a793 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
Felix Fietkau 4c6c0c2e6c glibc: remove all previous (ancient) versions, add 2.14 (partially based on a patch and testing by WillieNL)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 16:12:01 +00:00
Imre Kaloz 2c60c67c19 [toolchain/binutils]: enable 2.22 for unsupported archs if BROKEN is enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:56:47 +00:00
Imre Kaloz db6cb4a031 [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
Imre Kaloz 0200f4feb2 [toolchain/binutils]: use binutils 2.22 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:17:54 +00:00
Imre Kaloz 053f92de0c [toolchain/uClibc]: use uClibc 0.9.33 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:15:29 +00:00
Imre Kaloz 2a65a2340e [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
Imre Kaloz 1f355ba283 [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
Gabor Juhos deeb515868 toolchain/uClibc: use an upstream patch to fix syscall related build errors in 0.9.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 16:07:33 +00:00
Gabor Juhos 338ef23a6c toolchain/uClibc: fix 0.9.33 build error on MIPS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 13:41:53 +00:00
Imre Kaloz 85e9b90485 [toolchain/binutils]: add binutils 2.22
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 15:49:48 +00:00
Imre Kaloz 52d118e8be [toolchain/uClibc]: add 0.9.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 15:45:44 +00:00
Imre Kaloz 48b84f5b2a [toolchain/uClibc]: nuke a 2.4 skeleton
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 11:11:32 +00:00
Mirko Vogt ce751a9279 [toolchain/eglibc] eglibc 2.14 needs our eglibc patchset as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-21 19:39:37 +00:00
Mirko Vogt 162666ffcc [toolchain/binutils] adjust md5sum of v2.21.1 since archive got replaced meanwhile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 22:54:30 +00:00
Jo-Philipp Wich 03eb729498 [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
Jo-Philipp Wich ac2f1b4f01 [buildroot] use ext-toolchain.sh to integrate external toolchains
Use ext-toolchain.sh to wrap external toolchain commands,
abort build if certain features such as CONFIG_SOFT_FLOAT or 
CONFIG_IPV6 are enabled but not supported by the toolchain.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:08:09 +00:00
Imre Kaloz dbbcc5eb2e [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
Felix Fietkau fab0eb7e21 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
Jo-Philipp Wich 949f74899c [toolchain] introduce a USE_EXTERNAL_LIBC symbol which gets selected by EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN
Currently we always assume uClibc if an external toolchain is used, this breaks for non-uClibc toolchains or
even vanilla uClibc ones since they do not share the external librpc semantics as OpenWrt. Solve the problem
by defining an abstract "EXTERNAL_LIBC" which packages might or might not depend on.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-08 15:34:23 +00:00
Jo-Philipp Wich 2470702e46 [toolchain] disable UCLIBC_HAS_XLOCALE and UCLIB_HAS_GLIBC_DIGIT_GROUPING if BUILD_NLS is on (#10735)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 12:32:47 +00:00
Jo-Philipp Wich a13cb527c9 [toolchain] if CONFIG_BUILD_NLS is selected, compile uClibc with locale support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 15:11:11 +00:00
Felix Fietkau b93d34ddef build: add a lib64 symlink in staging_dir/host and staging_dir/toolchain* for systems that prefer this as library path (e.g. current SuSE), fixes mpfr and gcc build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-28 19:19:33 +00:00
Florian Fainelli 0353cc96d8 [toolchain] uclibc: backport upstream signalfd patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-25 15:59:21 +00:00
Hauke Mehrtens 2ce47af8ca 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 Mehrtens cc787525ab 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 Mehrtens 26af84ab12 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