From patchwork Sun Mar 15 00:32:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Luiz Angelo Daros de Luca X-Patchwork-Id: 450240 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B39EC1400B7 for ; Sun, 15 Mar 2015 11:33:13 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=ldoek/fK; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 65129281070; Sun, 15 Mar 2015 01:32:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id EFB65281070 for ; Sun, 15 Mar 2015 01:32:29 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-ob0-f182.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -8.5 Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Sun, 15 Mar 2015 01:32:29 +0100 (CET) Received: by obdfc2 with SMTP id fc2so13317064obd.3 for ; Sat, 14 Mar 2015 17:32:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=ms1FqWtZw50ny8v/tMStZygZlYrUxctjSHh0zC1oZ8s=; b=ldoek/fKfnn2u1I+1O9XxEcYlCvtpKQJ6sj8Mh38ldlT2YulP3pyYlPPrGWwaK8/ZI n6rTcQnxVotLvudyvEJOYCznfBg8+TUJLU7tM13jQc04RyfAa03527ZA+hZVnSDTyY9j srCljI4ZcM7P4vdu0F/g3XQ5naamTPpTu8IttuUUU7DbEt/3fy3e9ANxx1IrOEtnkM6B dZ1uLNO4MvAtjZ9yeA6Wf3LfPgBcHywXO1IAweRsiw/CJ0CqaS4/0Jfh7rA9O94zdrSV v+VIUXLX2sp1xn4d8JrIslr3ej0ORhq+2UQLmptCYEEfIP4whndynbY4qLst+uotBAiR 8Hdw== X-Received: by 10.182.88.136 with SMTP id bg8mr27871103obb.86.1426379571243; Sat, 14 Mar 2015 17:32:51 -0700 (PDT) MIME-Version: 1.0 References: <20150311171728.GA29615@ubuntu> <5501E792.8090706@openwrt.org> <5501E812.2020102@openwrt.org> In-Reply-To: From: Luiz Angelo Daros de Luca Date: Sun, 15 Mar 2015 00:32:50 +0000 Message-ID: To: Jeff Waugh , John Crispin Cc: openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH 1/2] toolchain: The glorious return of glibc, ver 2.21 X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" 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. https://github.com/openwrt-mirror/openwrt/commit/60e0b4c321836f6523c25a1de1a6a79085a1bdc6#diff-8912cc62562db921fbbf1e444d6b4e3dL215 As a probably side effect, buildbot for x86 is using glibc now: https://downloads.openwrt.org/snapshots/trunk/x86/generic/OpenWrt-Toolchain-x86-generic_gcc-4.8-linaro_glibc-2.19.Linux-x86_64.tar.bz2 While in my local buildroot, I get uclibc, even defining target before defconfig. $ rm .config $ cat >.config CONFIG_TARGET_x86=y CONFIG_TARGET_x86_generic=y $ make defconfig $ egrep USE_.*LIBC .config CONFIG_USE_UCLIBCXX=y CONFIG_USE_UCLIBC=y I though that buildbot config where only "set target+defconfig+select all packages". This is the relevant patch part: Em qui, 12 de mar de 2015 às 20:01, Jeff Waugh escreveu: > On Fri, Mar 13, 2015 at 6:25 AM, John Crispin 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@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > 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" choice 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) help 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