* [Buildroot] [PATCH 1/1] package/numactl: needs -fPIC @ 2020-11-14 22:11 Fabrice Fontaine 2020-11-16 20:30 ` Peter Korsgaard 2020-11-16 21:30 ` Peter Korsgaard 0 siblings, 2 replies; 3+ messages in thread From: Fabrice Fontaine @ 2020-11-14 22:11 UTC (permalink / raw) To: 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 <fontaine.fabrice@gmail.com> --- 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)) -- 2.29.2 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/numactl: needs -fPIC 2020-11-14 22:11 [Buildroot] [PATCH 1/1] package/numactl: needs -fPIC Fabrice Fontaine @ 2020-11-16 20:30 ` Peter Korsgaard 2020-11-16 21:30 ` Peter Korsgaard 1 sibling, 0 replies; 3+ messages in thread From: Peter Korsgaard @ 2020-11-16 20:30 UTC (permalink / raw) To: buildroot >>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes: > 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 <fontaine.fabrice@gmail.com> Committed, thanks. -- Bye, Peter Korsgaard ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/numactl: needs -fPIC 2020-11-14 22:11 [Buildroot] [PATCH 1/1] package/numactl: needs -fPIC Fabrice Fontaine 2020-11-16 20:30 ` Peter Korsgaard @ 2020-11-16 21:30 ` Peter Korsgaard 1 sibling, 0 replies; 3+ messages in thread From: Peter Korsgaard @ 2020-11-16 21:30 UTC (permalink / raw) To: buildroot >>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes: > 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 <fontaine.fabrice@gmail.com> Committed to 2020.08.x, thanks. -- Bye, Peter Korsgaard ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-16 21:30 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-11-14 22:11 [Buildroot] [PATCH 1/1] package/numactl: needs -fPIC Fabrice Fontaine 2020-11-16 20:30 ` Peter Korsgaard 2020-11-16 21:30 ` Peter Korsgaard
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox