From patchwork Thu May 17 07:21:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 915138 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="bajCoREx"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40mjRQ1gM5z9s3G for ; Thu, 17 May 2018 17:21:53 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D0CE486C5D; Thu, 17 May 2018 07:21:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sptuLtEcy7Vr; Thu, 17 May 2018 07:21:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 76E65869C5; Thu, 17 May 2018 07:21:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 0BE771C0D4C for ; Thu, 17 May 2018 07:21:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 08BB126370 for ; Thu, 17 May 2018 07:21:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bq-6EYRZAqrC for ; Thu, 17 May 2018 07:21:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f171.google.com (mail-wr0-f171.google.com [209.85.128.171]) by silver.osuosl.org (Postfix) with ESMTPS id E4B4C22158 for ; Thu, 17 May 2018 07:21:46 +0000 (UTC) Received: by mail-wr0-f171.google.com with SMTP id w18-v6so735187wrn.6 for ; Thu, 17 May 2018 00:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ciwsE0YKllKpnVx+z3IMi69OTRGFW7anidjBmqheRQ8=; b=bajCoRExJfWrfu8/7JNkTAPsJ0mMUKzg+Nnw2PkBHsziWIY6STtBvW0dpaUcb7d9dw jg/w2G6fGoSkeBYVmxmwbEyO2URz8nQ/9SUa2cPx+f0jgAbBE0bqyNtOH8KgFH79h34R sK1u3fjWBOOZuCr9mKSdKw2kndetEJduFQndMfAeo33V1mqYPQ40i0QWSt5kyR+szGLT mIyB7VryP+ncK23fw08o5q/DdbK819VGjRtT/jqBW6RW/nLiZgbTXFxorEzP0vB65ILp l/VYgzYyB67GfU+mJ0qvU7QRv8WQZT4co71U3h1ynrW8aOwxNUSRaqzTOKG/gq6BQnlh E0Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ciwsE0YKllKpnVx+z3IMi69OTRGFW7anidjBmqheRQ8=; b=F8MOSAagd4jMIwOuppiKI9jy4VUjw6Mvh3GWN38ZQqXMOlEGzAzsMamX+WODIVIO3g uou4b3vMDrJDLBHLx4sQmqTZnuD4ddBKuGJlPZ1QUspsTuFFIbqP5sOLetUks3I8e3I5 jnFCfJUtJLyeqlovp6we/eQPvF3jl/tTXQn7a39i+8t0uTreVfRIfQvypbyXgyrtc2WF ZMZJfEqZWl4tojxk4uCd12dDMuz9jvt4UT8oIOdkcUmM97IsUgGK1yl9FjIZxMZZhVhI o3EVAHUP0zCKDjJf2WevYsTtiEY7jmgvu7mf2ZmGVkp6QYsNLHI1YQJO4sDx6PlZP9C4 B2bw== X-Gm-Message-State: ALKqPwcA5SI7+S3KT9KXUdXluWNkOAEMxE5BqnldgEWoBwefy+X10n3W uImA9ufG+aJED9emrPHZWfhYhb6j X-Google-Smtp-Source: AB8JxZrIJf2t0ABQVqvfHz1IExG7hoowWtixjQBU5IcZ51qxScnVZRm2kLcrnVGyGMX1+UEgAtnAxw== X-Received: by 2002:adf:9d15:: with SMTP id k21-v6mr2990782wre.213.1526541705076; Thu, 17 May 2018 00:21:45 -0700 (PDT) Received: from adeos.home (2a01cb00054978001a46adb371a118d7.ipv6.abo.wanadoo.fr. [2a01:cb00:549:7800:1a46:adb3:71a1:18d7]) by smtp.gmail.com with ESMTPSA id a13-v6sm4256873wrc.19.2018.05.17.00.21.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 May 2018 00:21:44 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Thu, 17 May 2018 09:21:40 +0200 Message-Id: <20180517072140.6432-2-romain.naour@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180517072140.6432-1-romain.naour@gmail.com> References: <20180517072140.6432-1-romain.naour@gmail.com> Subject: [Buildroot] [PATCH v3 2/2] Revert "glibc: install the obsolete libnsl" X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" libnsl from Glibc is deprecated and should not be used anymore. Remove libnsl.so.* from GLIBC_LIBS_LIB. libnsl is now an separate library that can be packaged later if necessary [1]. Note: libnsl from Glibc doesn't build with gcc 8 due new warning [2]. [1] https://github.com/thkukuk/libnsl.git [2] http://patchwork.sourceware.org/patch/26437 This reverts commit 398747f5fafca8c07e696612d8eded53d4f935c7. Signed-off-by: Romain Naour Cc: Baruch Siach --- package/glibc/glibc.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk index 3ab673c0cc..c1c5ac687f 100644 --- a/package/glibc/glibc.mk +++ b/package/glibc/glibc.mk @@ -100,7 +100,6 @@ define GLIBC_CONFIGURE_CMDS --disable-profile \ --without-gd \ --enable-obsolete-rpc \ - --enable-obsolete-nsl \ --enable-kernel=$(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)) \ --with-headers=$(STAGING_DIR)/usr/include) $(GLIBC_ADD_MISSING_STUB_H) @@ -113,7 +112,7 @@ endef GLIBC_LIBS_LIB = \ ld*.so.* libanl.so.* libc.so.* libcrypt.so.* libdl.so.* libgcc_s.so.* \ - libm.so.* libnsl.so.* libpthread.so.* libresolv.so.* librt.so.* \ + libm.so.* libpthread.so.* libresolv.so.* librt.so.* \ libutil.so.* libnss_files.so.* libnss_dns.so.* libmvec.so.* ifeq ($(BR2_PACKAGE_GDB),y)