Commit Graph

48 Commits (2b8c75f0c141361e7777bb3b7ce311f7deb4299b)

Author SHA1 Message Date
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
Nicolas Thill 93bf8f3ff6 toolchain/eglibc: allow building eglibc-2.11 with gcc-4.5.x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 15:33:44 +00:00
Nicolas Thill aa621b0160 [toolchain] eglibc: add support for v2.11
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-24 07:03:04 +00:00
Nicolas Thill 5573d95e06 [toolchain] eglibc: update v2.10 to rev. 9289
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-24 00:43:31 +00:00
Nicolas Thill fdc4247f72 cosmetic: more reformatting missed from [18480]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-22 15:49:35 +00:00
Nicolas Thill b7ca76eaa5 cosmetic: reformat library configuration submenu
- adjust indent & spaces
 - use coherent config symbol names in help


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-22 15:34:26 +00:00
Nicolas Thill b92d9f5067 eglibc: fix wrong config symbol name if library configuration submenu
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-22 15:30:11 +00:00
Nicolas Thill 8e684d3bd2 [toolchain] eglibc: don't use minor version numbers in config symbols, only in version strings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-22 12:27:39 +00:00
Nicolas Thill bedbad16bc [toolchain] eglibc: use 'select' instead of 'depends' for configuration options, add dependencies for features avalaible in 2.8 or later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-26 21:22:51 +00:00
Nicolas Thill 1a3bb764f6 [toolchain] eglibc: add support for 2.10 branch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-26 18:59:22 +00:00
Nicolas Thill e182ea63e9 [cosmetic] and fix another typo, still in eglibc configuration file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-26 18:57:53 +00:00
Nicolas Thill 15e238df7c [cosmetic] fix typo in eglibc configuration file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-26 18:56:26 +00:00
Nicolas Thill 470c49ec8e [toolchain] eglibc: update svn revisions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-26 18:28:37 +00:00
Florian Fainelli d7618f3bce [toolchain] define libc_cv_slibdir, fixes mips64 compilation (#5011)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30 20:21:57 +00:00
Nicolas Thill da31c0be07 [toolchain] uClibc cleanup:
- use full version string (0.9.30.1), instead of base (0.9.30) + extra (.1)
 - remove support for 0.9.28 and snapshots (building from SVN to be added later)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24 02:07:24 +00:00
Felix Fietkau b161730496 fix stampfile variables for the toolchain build (fixes gcc compile error)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-13 12:50:23 +00:00
Nicolas Thill 84f43d1453 [toolchain] move common variables to a dedicated include file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 23:52:27 +00:00
Felix Fietkau b892e1fb85 build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
Nicolas Thill 293b872934 [toolchain] cosmetic & coherency fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 21:25:48 +00:00
Felix Fietkau d2d687867c eglibc: replace the use of stpncpy with strncpy + manual termination (stpncpy is not available on darwin)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 19:49:26 +00:00
Felix Fietkau b9bd90012a port the eglibc cross compiling fix to version 2.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 19:47:27 +00:00
Felix Fietkau f5e43e7dbd fix eglibc 2.8 cross-compile under darwin / mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 19:44:47 +00:00
Nicolas Thill 3b75e47f8f [massive] add support for alternative C libraries (currently only glibc/eglibc)
other (related) changes:
 - kernel headers are now installed using "make headers_install" on 2.6
 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu)
 - build directory names now contain gcc/libc name/version
 - default cpu for x86 is now i486 (required to build glibc/eglibc)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00