[OpenWrt-Devel] [PATCH 1/2] toolchain: The glorious return of glibc, ver 2.21

Luiz Angelo Daros de Luca luizluca at gmail.com
Sat Mar 14 20:32:50 EDT 2015

Hi Jeff and John,

This patch removed the "default" line about the "C Library implementation".
Is it
intentional? I guess this was the part that John modified.

As a probably side effect, buildbot for x86 is using glibc now:

While in my local buildroot, I get uclibc, even defining target before

$ rm .config
$ cat >.config
$ make defconfig
$ egrep USE_.*LIBC .config

I though that buildbot config where only "set target+defconfig+select all

This is the relevant patch part:

diff --git a/toolchain/Config.in b/toolchain/Config.in
index ecd9d20..0d03a28 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -211,14 +211,13 @@ comment "C Library"

        prompt "C Library implementation" if TOOLCHAINOPTS
-       default LIBC_USE_EGLIBC if (aarch64 || aarch64_be)
-       default LIBC_USE_UCLIBC
+       default LIBC_USE_GLIBC if (aarch64 || aarch64_be)
          Select the C library implementation.

-       config LIBC_USE_EGLIBC
-               bool "Use eglibc"
-               select USE_EGLIBC
+       config LIBC_USE_GLIBC
+               bool "Use glibc"
+               select USE_GLIBC
                depends on !avr32

        config LIBC_USE_UCLIBC

Em qui, 12 de mar de 2015 às 20:01, Jeff Waugh <jdub at bethesignal.org>

> On Fri, Mar 13, 2015 at 6:25 AM, John Crispin <blogic at openwrt.org> wrote:
> >> Please don't just compile test. Right now /usr/lib is not added as a
> >> searchable path for so-libs which renders it pretty much unusable.
> >> That was what the now missing patch 200-add-dl-search-paths.patch dealt
> >> with.
> >
> > already fixed :) i will push jeffs patch with a few minor fixes in the
> > next hour or so
> Aha, had been trying to figure that one out. :-)
> Thanks,
> Jeff
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150315/1a4cd428/attachment.htm>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list