From patchwork Sat Nov 14 22:11:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1400345 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.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.a=rsa-sha256 header.s=20161025 header.b=RpxUPwvq; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CYV1G1j4Nz9sPB for ; Sun, 15 Nov 2020 09:11:45 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8663C870A4; Sat, 14 Nov 2020 22:11:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F1LPWUfsqQ-W; Sat, 14 Nov 2020 22:11:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 72284870A0; Sat, 14 Nov 2020 22:11:38 +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 19A271BF28C for ; Sat, 14 Nov 2020 22:11:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id EAE1320365 for ; Sat, 14 Nov 2020 22:11:36 +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 narROFig1leW for ; Sat, 14 Nov 2020 22:11:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by silver.osuosl.org (Postfix) with ESMTPS id 3C26F2011B for ; Sat, 14 Nov 2020 22:11:35 +0000 (UTC) Received: by mail-wr1-f52.google.com with SMTP id s8so14253481wrw.10 for ; Sat, 14 Nov 2020 14:11:35 -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:mime-version :content-transfer-encoding; bh=rJDqSHV3osKYmI/nl73B4Hp9Q2hdgkq5QuIeSRhUOP8=; b=RpxUPwvqSvPCN/nLLPZE6msxXUt8MriaB2wocIHj9f/q2FPFN5y0gopZySXBY9Vhve wgP/NtmMYA3F/qykKWcDjL/FYj7cRZPt62vt1IhRT46HiE67xSPDtRjXBAB1hTVAwNC2 LvLqeZer64wJM8Y1zJR/ecxrqjjZseUpi/sfZKhlgWgE1L3VI1hw/4OI7hoE5dHLdAHk a3wM7NPYT92z1vwJdB8yzyKu5PbjNbiAxV/V3Wvj8KtVHUU0I1n7MdCnrdiC0Ogzanuj OW4IK/UZTLL1EQz55w8KNIbLh3jlTxxFd9iKLcAlCMwbp4xMzZ1SCavDo2cyk1ZKQqY9 gw5A== 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:mime-version :content-transfer-encoding; bh=rJDqSHV3osKYmI/nl73B4Hp9Q2hdgkq5QuIeSRhUOP8=; b=j/79gcE1HFXB7a/eCMIPILnY5ia7kP0HX+8uDstd7E0lgo8y6xKVqbrj26J40h+oqH 4dH5HUeudRj3QgqSHPdJQr13T1hka6V4v7wj3OGGCLGJx9DQ+j3ELMsfbdyOAqj3Q3ER eGb/YCXrvaBS5NWTl32+Ad7xbcSgpYyzc/Do/fn96iiIKP3ImTr9Z+OiwlZN9sfLrQuk uMcr7W+YX9j5yeCFdS9zQEKVzmqQl3CAIlHA9eWpbPd/Dbje8WshHxVsQJksMf9FgSVU 4kQdis/DJ6QRDcIw5JPzj80bgO/lmiLDfp19iaqGvyBkuhtvS5sqH0f1iydVLS04WxH4 LqcQ== X-Gm-Message-State: AOAM532AeNFIRnBIxlnC9cQidqrFG/zkq5IkKRbsPzDmWEcB+fjkiBAm Sp4JhsGwJkKPuxWGqVreaxDGi9M+v770RA== X-Google-Smtp-Source: ABdhPJxJGA5GJ7WHf+ROPbrNXEAcEWvBtUJD1rkimfuhoFVG6evsXdqsZcVJV/ZFmMdPIxwY9QqmlQ== X-Received: by 2002:adf:e351:: with SMTP id n17mr11547688wrj.308.1605391893531; Sat, 14 Nov 2020 14:11:33 -0800 (PST) Received: from kali.home (2a01cb0881b76d00c2afd0dfa851d2b9.ipv6.abo.wanadoo.fr. [2a01:cb08:81b7:6d00:c2af:d0df:a851:d2b9]) by smtp.gmail.com with ESMTPSA id s9sm18589345wrf.90.2020.11.14.14.11.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Nov 2020 14:11:32 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sat, 14 Nov 2020 23:11:24 +0100 Message-Id: <20201114221124.1083376-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/numactl: needs -fPIC X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pierre-Jean Texier , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This will avoid the following build failure with qemu 5.0.0 and above: /srv/storage/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/8.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: /srv/storage/autobuild/run/instance-2/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/lib/../lib64/libnuma.a(libnuma.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC Fixes: - http://autobuild.buildroot.org/results/616dff216a215dc0494c846d337e03e0795b2fb2 Signed-off-by: Fabrice Fontaine --- package/numactl/numactl.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/numactl/numactl.mk b/package/numactl/numactl.mk index d0dd5c26f4..cf9c759693 100644 --- a/package/numactl/numactl.mk +++ b/package/numactl/numactl.mk @@ -10,5 +10,6 @@ NUMACTL_LICENSE = LGPL-2.1 (libnuma), GPL-2.0 (programs) NUMACTL_LICENSE_FILES = README.md NUMACTL_INSTALL_STAGING = YES NUMACTL_AUTORECONF = YES +NUMACTL_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -fPIC" $(eval $(autotools-package))