Bug 13536

Summary: Build issues and workarounds with qemu_aarch64_virt_defconfig
Product: buildroot Reporter: Jarkko Sakkinen <jarkko.sakkinen>
Component: OtherAssignee: unassigned
Status: RESOLVED MOVED    
Severity: normal CC: buildroot, yann.morin.1998
Priority: P5    
Version: 2020.11.2   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Jarkko Sakkinen 2021-02-15 01:03:08 UTC
_STAT_VER
=========

See: https://www.spinics.net/lists/fedora-devel/msg280965.html

I fixed this with a trivial patch:

diff --git a/package/fakeroot/fakeroot-stat_ver.patch b/package/fakeroot/fakeroot-stat_ver.patch
new file mode 100644
index 0000000000..1ff98f324b
--- /dev/null
+++ b/package/fakeroot/fakeroot-stat_ver.patch
@@ -0,0 +1,11 @@
+--- fakeroot-1.25.1.org/libfakeroot.c  2020-10-08 20:13:18.000000000 +0300
++++ fakeroot-1.25.1/libfakeroot.c      2021-02-11 04:54:48.160372740 +0200
+@@ -31,6 +31,8 @@
+ */
+ #define _GNU_SOURCE
+
++#define _STAT_VER 1
++
+ #define FAKEROOT_LIBFAKEROOT
+
+ #ifdef __APPLE__

ld and -no-pie
==============

Neither '-no-pie' nor '--no-pie' works anymore with the binutils version I
have:

❯ pacman -Qe |grep binutils
binutils 2.36-3

So, I just go on and manually edit the QEMU build file, when I hit to the
error.

The build file is:

output/build/host-qemu-5.2.0/build/config-host.mak

And you want to:

LDFLAGS_NOPIE=""
Comment 1 Thomas Petazzoni 2021-02-16 21:26:57 UTC
Thanks for your bug report. Since there are two issues, could you submit two bugs? Indeed the first one is fixed by https://patchwork.ozlabs.org/project/buildroot/patch/20210215185541.111347-1-joerg.krause@embedded.rocks/. But I'm not sure yet about the second issue at this point.
Comment 2 Jarkko Sakkinen 2021-02-18 20:35:07 UTC
(In reply to Thomas Petazzoni from comment #1)
Thanks I can do that.
Comment 3 Yann E. MORIN 2024-06-15 14:56:27 UTC
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!