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, both eglibc 2.12 and eglibc 2.14 provoke
build errors when compiling the base-files package (example, for 2.12):

$ 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.12.so':
 No such file or directory
make[2]: *** 
[/home/me/openwrt/trunk/bin/omap4/packages/libc_trunk-106_omap4.ipk] Error 1
make[1]: *** [package/base-files/compile] Error 2
make -r package/base-files/compile: build failed. Please re-run make with V=99 
to see what's going on
make: *** [package/base-files/compile] Erreur 1

Signed-off-by: Emmanuel Deloget <[email protected]>

Index: toolchain/eglibc/Config.version
===================================================================
--- toolchain/eglibc/Config.version     (révision 31444)
+++ toolchain/eglibc/Config.version     (copie de travail)
@@ -1,7 +1,7 @@
 config EGLIBC_VERSION
        string
        depends on USE_EGLIBC
-       default "2.12"   if EGLIBC_VERSION_2_12
+       default "2.12.2" if EGLIBC_VERSION_2_12
        default "2.13"   if EGLIBC_VERSION_2_13
-       default "2.14"   if EGLIBC_VERSION_2_14
+       default "2.14.1" if EGLIBC_VERSION_2_14
        default "trunk"

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to