Commit Graph

72 Commits (aa6eaba62356b2d4fe46400d326d68f05f205c4b)

Author SHA1 Message Date
Felix Fietkau 8b7d0d34dc eglibc: add support for other mips64 ABI variants as well
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-31 13:00:46 +00:00
Felix Fietkau c1d6e2d564 eglibc: fix mips64 abi selection, default to o64 instead of n32
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-31 12:30:39 +00:00
Felix Fietkau d9f5ee5c27 eglibc: use version 2.19 by default (lots of fixes, some security related)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 15:35:14 +00:00
Felix Fietkau 21199ede76 eglibc: remove versions 2.16 and 2.17 - they are unmaintained
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 15:35:10 +00:00
Felix Fietkau c65ae46030 eglibc: add version 2.19
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-24 15:35:07 +00:00
Luka Perkov c3e64106a6 [toolchain] eglibc: fix build failure on newer make versions
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-02 23:41:35 +00:00
Mirko Vogt a7442fefce [toolchain/eglibc] add patch for eglibc version 2.15
This patch partially reverts an (e)glibc commit
which fixed a memory leak, however introduced lookup
errors in dlopen() with resulting segmentation faults
in certain scenarios.

References:
 - http://comments.gmane.org/gmane.comp.lib.glibc.user/1227
 - http://sourceware.org/ml/libc-alpha/2011-06/msg00006.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-24 14:51:22 +00:00
Felix Fietkau 7ef7ccea3b toolchain: get rid of eglibc version kconfig symbol overloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-18 12:04:55 +00:00
Felix Fietkau ab8468d344 build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:41 +00:00
Florian Fainelli 3b1b3e2fb6 toolchain/eglibc: add missing ld-search-paths patch to 2.17
this patch is a copy of
trunk/toolchain/eglibc/patches/2.16/200-add-dl-search-paths.patch in
trunk/toolchain/eglibc/patches/2.17/200-add-ld-search-paths.patch
please use svn copy instead of applying it (like in
https://dev.openwrt.org/changeset/34290/)

the patch add /usr/lib in the ld search path (for eglibc 2.17),
thus helping libs like libnl-tiny.so (for iw), libjson.so.0 (for ubus,
jshn) to be found

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-29 13:16:09 +00:00
Florian Fainelli e54446c866 toolchain/eglibc: add support for 2.17
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-07 17:34:53 +00:00
Florian Fainelli 41c7dcfcdf [toolchain] eglibc/2.16: add missing dl-search-paths patch
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 20:26:47 +00:00
Florian Fainelli 51229124b9 [toolchain] eglibc: update to r21110
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 17:32:43 +00:00
Felix Fietkau 30168bcc18 eglibc: do not prompt for the revision, it is supposed to be changed by developers, not users.
fixes changing the eglibc version in menuconfig without resetting the config

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 13:16:22 +00:00
Felix Fietkau 2b8f1c2d9b eglibc: remove versions 2.12-2.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 13:16:18 +00:00
Felix Fietkau 164d5a9ac1 eglibc: add a fake libintl.h for cross-rpcgen and cross-zic to fix build on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 00:24:00 +00:00
Felix Fietkau 5dbff00d75 eglibc: enable parallel builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 00:23:55 +00:00
Felix Fietkau c480f34ecd eglibc: disable NIS/SUNRPC by default. RPC support is provided by librpc
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 00:23:51 +00:00
Florian Fainelli b9a33c08d6 [toolchain] eglibc: remove duplicate line introduced in r33738
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-12 14:45:50 +00:00
Florian Fainelli 7bf973ee4e [toolchain] add support for eglibc 2.16
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-12 14:42:38 +00:00
Felix Fietkau 166ea494f1 toolchain: sync eglibc headers/build split with uclibc changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 14:23:32 +00:00
Felix Fietkau 2587312839 eglibc: work around a broken configure test to fix compile errors on x86
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 16:19:48 +00:00
Felix Fietkau 50a8a64404 eglibc: use 2.15 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 12:43:49 +00:00
Felix Fietkau 0d0fe2e858 eglibc: add version 2.15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 12:24:25 +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
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
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
Felix Fietkau 8d53f23ad5 eglibc: remove obsolete dependencies to fix missing config options for eglibc 2.13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-16 10:27:48 +00:00
Florian Fainelli 5730f1c9a3 [toolchain] eglibc: add support for 2.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 09:42:47 +00:00
Florian Fainelli 736856c208 [toolchain] remove reference to old eglibc versions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 09:42:44 +00:00
Felix Fietkau 59d9085226 eglibc: remove old versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 09:47:00 +00:00
Felix Fietkau 4867656d72 eglibc: fix portability issues rpcgen and zic, fixes compile on darwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 09:46:39 +00:00
Mirko Vogt a79052016b [toolchain/eglibc] eglibc CAN be compiled with -Os after all - flags however need to be stated in $EGLIBC_CFLAGS as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-26 21:47:14 +00:00
Mirko Vogt 83e981ca76 [toolchain/eglibc] manual/Makefile: Don't mix pattern rules with normal rules.
This change got committed into the official eglibc repository in commit 11461.

Thanks to Philip Prindeville for pointing this out.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-23 14:38:26 +00:00
Mirko Vogt b8fad49ff3 Revert "[toolchain/eglibc} eglibc in fact can be built with -Os"
Compiling with -Os results in: "error: #error "glibc cannot be compiled without optimization"

Still, building with -Os is listed as feature in
<http://www.eglibc.org/features>:

""
Building with -Os
     EGLIBC supports building the library with compiler optimizing for size -Os instead of for speed -O2.
""

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-20 11:12:46 +00:00
Mirko Vogt 49540823df [toolchain/eglibc] explicitly disable the use of ldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 17:53:41 +00:00
Mirko Vogt 82322c1e1c [toolchain/eglibc] patch: add /usr/lib to default search path of dynamic linker
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 11:14:07 +00:00
Mirko Vogt 8fd46011a8 [toolchain/eglibc] add support for eglibc version 2.13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 11:14:05 +00:00
Mirko Vogt 0cb5e92400 [toolchain/eglibc} eglibc in fact can be built with -Os
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 11:14:01 +00:00
Mirko Vogt 764cdd9817 [toolchain/eglibc] when selecting eglibc, use version 2.12 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-18 07:33:28 +00:00
Felix Fietkau a77e76ae66 eglibc: disable ssp, it breaks the build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-01 16:21:49 +00:00
Imre Kaloz c82aa42db6 cleanup toolchain version handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 13:55:00 +00:00
Felix Fietkau f1f392ab5f toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:51 +00:00
Florian Fainelli c0cf381908 [toolchain] fix eglibc INET_ANL option selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-02 19:47:41 +00:00
Nicolas Thill e61aabfce6 toolchain/eglibc: add preliminary support for eglibc-2.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 20:37:56 +00:00
Nicolas Thill 1bb2ce7d47 toolchain/eglibc: update to latest revision for 2.9, 2.10 & 2.11
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:48:25 +00:00