Commit Graph

694 Commits (7a8d12bafaf8b882d0278156e5f22d0a396687e2)

Author SHA1 Message Date
Mirko Vogt 334fd4199b purge support for glibc - use eglibc instead!
for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html

SVN-Revision: 31503
2012-04-28 22:24:12 +00:00
Mirko Vogt 6831c99f65 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>

SVN-Revision: 31502
2012-04-28 20:47:48 +00:00
Mirko Vogt e3689f3bad 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>

SVN-Revision: 31501
2012-04-28 20:18:06 +00:00
Mirko Vogt 5c3d17cfc9 drop eglibc version 2.12
SVN-Revision: 31500
2012-04-28 20:10:32 +00:00
Jo-Philipp Wich e0c97d69c6 gcc: fix getenv() patches for 4.4.7 and 4.5-linaro
SVN-Revision: 31489
2012-04-27 12:05:34 +00:00
Mirko Vogt 47ea827dce remove screwed up patch for gcc 4.7-linaro which got committed by accident
SVN-Revision: 31393
2012-04-21 10:23:49 +00:00
Mirko Vogt 84307e4035 add support for GCC 4.7-linaro (based on GCC 4.7.1)
SVN-Revision: 31392
2012-04-21 09:58:31 +00:00
Jo-Philipp Wich f79bfe6072 gcc: add patch to make the getenv() spec function nonfatal if requested environment variable is unset
SVN-Revision: 31390
2012-04-21 03:02:39 +00:00
Mirko Vogt 0af09943a5 when choosing eglibc select eglibc version 2.13 by default
SVN-Revision: 31342
2012-04-18 01:10:37 +00:00
Mirko Vogt 1352465f27 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

SVN-Revision: 31341
2012-04-18 01:10:20 +00:00
Mirko Vogt 84c48979d2 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

SVN-Revision: 31300
2012-04-16 08:40:45 +00:00
Jo-Philipp Wich b7e2959450 toolchain/gcc: gcc-4.7.0 upstream patch fixing uClibc problems
SVN-Revision: 31255
2012-04-12 07:48:02 +00:00
Jo-Philipp Wich 4c2e50f287 exclude CONFIG_GDB on avr32, allows enabling CONFIG_GDB unconditionally without failing avr32 builds
SVN-Revision: 31249
2012-04-10 21:04:06 +00:00
Imre Kaloz ca6859aa29 upgrade to gcc 4.4.7
SVN-Revision: 31230
2012-04-09 17:00:03 +00:00
Mirko Vogt 626e171764 add support for gcc 4.7.0 - thanks to acoul!
SVN-Revision: 31216
2012-04-07 15:34:41 +00:00
Florian Fainelli 3271b347fc backport upstream fix for dst computation
SVN-Revision: 31073
2012-03-26 10:57:50 +00:00
Gabor Juhos 45d5b24190 toolchain/gcc-4.6.2: fix v4bx patch
SVN-Revision: 30970
2012-03-18 10:55:49 +00:00
Gabor Juhos 9c077ed0ae toolchain/gcc-4.6-linaro: fix v4bx patch
SVN-Revision: 30969
2012-03-18 10:55:47 +00:00
Felix Fietkau 40bf6ee842 gcc: now that the gpr save/restore issues are taken care of, remove the -Os/-O2 workaround that dealt with it earlier
SVN-Revision: 30815
2012-03-05 00:51:05 +00:00
Felix Fietkau d8c570a153 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
SVN-Revision: 30814
2012-03-05 00:51:01 +00:00
Felix Fietkau a86e168c54 gcc: use .eh_frame sections for exception handling stack unwind - saves about 400 bytes on every executable or shared library
SVN-Revision: 30614
2012-02-17 16:55:08 +00:00
Felix Fietkau 42ed1bd9e6 gcc: enable --with-headers for the final toolchain build
SVN-Revision: 30613
2012-02-17 16:55:01 +00:00
Felix Fietkau dcfc40358b gcc 4.6: port over the missing patch 850-use_shared_libgcc.patch to prevent libgcc crap from leaking into every single binary
SVN-Revision: 30486
2012-02-12 20:25:47 +00:00
Felix Fietkau 07488ef93d glibc: remove all previous (ancient) versions, add 2.14 (partially based on a patch and testing by WillieNL)
SVN-Revision: 30478
2012-02-12 16:12:01 +00:00
Imre Kaloz 3c365cc72d enable 2.22 for unsupported archs if BROKEN is enabled
SVN-Revision: 30471
2012-02-12 09:56:47 +00:00
Imre Kaloz d252dd3d2e upgrade vanilla gcc to 4.6.2
SVN-Revision: 30470
2012-02-12 09:48:39 +00:00
Imre Kaloz bd73e0a85d use binutils 2.22 by default
SVN-Revision: 30469
2012-02-12 09:17:54 +00:00
Imre Kaloz 86296a0cb6 use uClibc 0.9.33 by default
SVN-Revision: 30468
2012-02-12 09:15:29 +00:00
Imre Kaloz 909abe4999 use Linaro GCC 4.6 by default
SVN-Revision: 30467
2012-02-12 09:14:18 +00:00
Imre Kaloz ed192cb5a6 update to latest Linaro releases
SVN-Revision: 30466
2012-02-12 08:50:18 +00:00
Gabor Juhos d82daa2728 toolchain/uClibc: use an upstream patch to fix syscall related build errors in 0.9.33
SVN-Revision: 30398
2012-02-09 16:07:33 +00:00
Gabor Juhos fa11e6e0d6 toolchain/uClibc: fix 0.9.33 build error on MIPS
SVN-Revision: 30394
2012-02-09 13:41:53 +00:00
Imre Kaloz 09a8334a1e add binutils 2.22
SVN-Revision: 30375
2012-02-08 15:49:48 +00:00
Imre Kaloz 9bf867b531 add 0.9.33
SVN-Revision: 30374
2012-02-08 15:45:44 +00:00
Imre Kaloz 6347b09289 nuke a 2.4 skeleton
SVN-Revision: 30372
2012-02-08 11:11:32 +00:00
Mirko Vogt 0665e400a0 eglibc 2.14 needs our eglibc patchset as well
SVN-Revision: 29842
2012-01-21 19:39:37 +00:00
Mirko Vogt 408b12ff76 adjust md5sum of v2.21.1 since archive got replaced meanwhile
SVN-Revision: 29836
2012-01-20 22:54:30 +00:00
Jo-Philipp Wich 64dc82eab0 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.
SVN-Revision: 29768
2012-01-18 03:15:22 +00:00
Jo-Philipp Wich 5b7668ca44 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.
SVN-Revision: 29766
2012-01-18 03:08:09 +00:00
Imre Kaloz 8fcdb09e1f upgrade to latest linaro releases
SVN-Revision: 29748
2012-01-14 22:52:40 +00:00
Felix Fietkau e3a21eb9f8 gcc: always explicitly link against libstdc++, fixes build errors on some hosts that refuse to link it in implicitly (should fix #10587)
SVN-Revision: 29721
2012-01-12 10:15:20 +00:00
Jo-Philipp Wich e53afbbe64 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.
SVN-Revision: 29689
2012-01-08 15:34:23 +00:00
Jo-Philipp Wich 5b14d8bc0b disable UCLIBC_HAS_XLOCALE and UCLIB_HAS_GLIBC_DIGIT_GROUPING if BUILD_NLS is on (#10735)
SVN-Revision: 29646
2012-01-04 12:32:47 +00:00
Jo-Philipp Wich d22adb1b06 if CONFIG_BUILD_NLS is selected, compile uClibc with locale support
SVN-Revision: 29633
2012-01-01 15:11:11 +00:00
Felix Fietkau 830282cc89 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
SVN-Revision: 29352
2011-11-28 19:19:33 +00:00
Florian Fainelli fe3694aa0d uclibc: backport upstream signalfd patch
SVN-Revision: 28087
2011-08-25 15:59:21 +00:00
Hauke Mehrtens cca287d05e gcc: add 4.6-linaro version 4.6-2011.08
SVN-Revision: 28042
2011-08-18 12:13:54 +00:00
Hauke Mehrtens ab380f46f4 gcc: make patches apply for gcc 4.5-linaro version 4.5-2011.08
SVN-Revision: 28041
2011-08-18 12:12:47 +00:00
Hauke Mehrtens 441e392e11 gcc: move patches as the name changed. This was missing in r28038.
SVN-Revision: 28040
2011-08-18 12:09:42 +00:00
Hauke Mehrtens 5f1d6c6c9b gcc: update gcc-4.5-linaro to 4.5-2011.08
SVN-Revision: 28039
2011-08-18 12:07:15 +00:00