From patchwork Tue Jan 30 04:31:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126197 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp3021585ljd; Mon, 29 Jan 2018 20:32:23 -0800 (PST) X-Google-Smtp-Source: AH8x227NeLzcJ4P5GvqAasXfvL+9vmRreIc2b40VxhrdZEnc7ibEmcpgmxAu5RFdNlHFyWdXxZs7 X-Received: by 10.99.120.8 with SMTP id t8mr14342777pgc.371.1517286742992; Mon, 29 Jan 2018 20:32:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517286742; cv=none; d=google.com; s=arc-20160816; b=hXUNpbM4XteAlmB0hfcSKgq3sqAYhzjt+c7zCHKZCasPd+9+1vXb0+nt6WtxqOVfiN 8GgEb9LT4BmwHlu6Ff6NdgfJ9YU2rhx5MBudchVWZQF0WdlJOU0GRN/X9RxEZyDriIVk Y9cXapphnCaGtm2A2Z5N/cjmmIE6oSOWtvTUt668hGYp/e8OYagS1S5PWR6xc/mVS1X6 UvSRUlbrM6s2fhL7cqLKKMOYUAAibyjPHwKzDzp4hzi/n0G24oLiqsZg7S4mu3Ba/dhu dKi42aD4fjC1MVFksLNVK2rY/bqj9CxIf/SjiYwCAn5f5wKNUI0QHOUdH/8ljRpAXUd8 uZ9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=sE5RTNYncfzVqngWmcoTSNfcQ39SINuuvCJGMnwsVzU=; b=0itIHiXuwzLz1dag4JXL3sZlNzbF865bg9s4gLmkYpGSDjhLD4+oMGmmahJ/4uU7Fu 0WcWDew3cLbnW4UNppTjuJFNV3tqqM9AUPvR+7Gg8HIpZ5rRBsTJeK0AGjGfhEhJ0mSX 1Fjm5eVgRj7f9SoJSBR4db4FRaW0MRD5L3dtqPUnaeGgocwF+FlNKTqAnliNudCYKvJp FR+QSCZshAYf0BVSA0oOnB5dE7Iv/zGUu4laE8rcPW6p0gpDrrkPIUrfIM0i9u29vsqU +jdOf7WBF+N/k9/9HaGlyOGY4O6hx/MmaHWXD9TfmDIfvgIqlp46JL5Q3qF5ZKp1NkzD 513Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=B7CgsWz+; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 91-v6si10748379plf.541.2018.01.29.20.32.22; Mon, 29 Jan 2018 20:32:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=B7CgsWz+; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 94B367888D; Tue, 30 Jan 2018 04:32:14 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id 5A17578886 for ; Tue, 30 Jan 2018 04:32:07 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id a88so7605481pfe.12 for ; Mon, 29 Jan 2018 20:32:08 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=tblmqdq1tet5DZtplj1tfL5gp1bbouI6ARjiBfy+Ny4=; b=B7CgsWz+QsfX1FbGjueG0I2rsSVMr4OcP3LigzyIyli4biu8E4c7jnCo7FYGUzAAZl uQJLt9bkCFonFfqQmuMCxOt1lOOWDs6iBJZBxUWwR2pzjA2aG6sRwFhr4hD8+4A1/cAK 5LxpoNj5Zl1alURRieS+JZEjB8/ju/RpnId5oUq0r7T+5/9WXTIe/UPjR01dsO5UwG8l jnaHYII5r1cWB6b3n4w756DFPVfEPloo6J5HCdoBHpDpQ5bYlm2oPo3be+6DWzbuvyi9 JKvtjTU7RZEi6vvHAUETasMczY+an++bw6XeZ5awmKwXxrCnHMcI2agSkF3GDpQfPXcA Hvvw== 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:mime-version:content-transfer-encoding; bh=tblmqdq1tet5DZtplj1tfL5gp1bbouI6ARjiBfy+Ny4=; b=G65KSgY9Azp7faghpxXbPpqSyB+lQWMTf1ic1JRc+EPrSjSbYyJ1MBBECSG/sAgG5j n7tDelaH4GRE4RYtlA3BtneUO+eV1MEKKoViyk1h72ZGLgofkzsqYQICuiq16OxOJab6 TQKlKWZNso81DfmZ4PRrU+SwEoHbmW240VImX5BDFbRon67De9FneTFQjRNzoD/uCFF+ knuOCxf0i+ckepq9b6eZgJBCwifmgIhKef1DUO8462lo8d9cS+R47xtMkDuBV4vdQEdn Pp008VDWzHcZld542+XbR8RdgneAqE5sdSdV1ThUJqKK08g+v/Y+KA1TdjZOAI2nC3Zl JYRA== X-Gm-Message-State: AKwxytf6AONvXcMjxu7XaWE0dfvkcyDxS95cp0NHj2xuPZuMkW2+uM2p iYd2YMU+Vbv1WXyCIVm1hxx7lg== X-Received: by 2002:a17:902:901:: with SMTP id 1-v6mr4431763plm.349.1517286728351; Mon, 29 Jan 2018 20:32:08 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::a8d6]) by smtp.gmail.com with ESMTPSA id u67sm1134233pfd.169.2018.01.29.20.32.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 20:32:07 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 29 Jan 2018 20:31:51 -0800 Message-Id: <2c07b4f4d01eee5b0bb5356ccc7638f29bbeee43.1517286478.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [OE-core] [PATCH 3/8] perl: Undefine d_libm_lib_version. X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Daniel Díaz A recent commit in GLIBC [1] got rid of _LIB_VERSION, which makes Perl's build fail: | pp.c:47:5: error: unknown type name '_LIB_VERSION_TYPE'; did you mean '__VERSION__'? | _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_; | ^~~~~~~~~~~~~~~~~ | __VERSION__ | pp.c:47:38: error: '_IEEE_' undeclared here (not in a function); did you mean '_SIZET_'? | _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_; | ^~~~~~ | _SIZET_ | make[1]: *** [pp.o] Error 1 The current config.sh enables d_libm_lib_version for everyone, with special cases left to undefine it as fixup (such as MUSL [2]). Since this may only affect some BSDs and Cygwin [3], it follows that the opposite (defining it) should be a fixup for those special cases. [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=813378e9fe17e029caf627cab76fe23eb46815fa [2] http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-devtools/perl/perl_5.24.1.bb?id=8ca61a5464743ff85b6d26886112750d6ddd13e0#n127 [3] https://perl5.git.perl.org/perl.git/blob/443bd156a6baaf7a8fe6b6b05fcf6c4178140ed2:/pp.c#l42 Signed-off-by: Daniel Díaz Signed-off-by: Khem Raj --- meta/recipes-devtools/perl/perl/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/perl/perl/config.sh b/meta/recipes-devtools/perl/perl/config.sh index 4657673005..ac0484ca64 100644 --- a/meta/recipes-devtools/perl/perl/config.sh +++ b/meta/recipes-devtools/perl/perl/config.sh @@ -361,7 +361,7 @@ d_ldbl_dig='define' d_ldexpl='define' d_lgamma='define' d_lgamma_r='define' -d_libm_lib_version='define' +d_libm_lib_version='undef' d_libname_unique='undef' d_link='define' d_llrint='define'