From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 11681] New: .../buildroot/output/host/bin/x86_64-buildroot-linux-gnu-ld: arch/x86/kernel/head_64.o: unable to initialize decompress status for section .debug_line
Date: Wed, 20 Feb 2019 09:45:26 +0000 [thread overview]
Message-ID: <bug-11681-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=11681
Bug ID: 11681
Summary: .../buildroot/output/host/bin/x86_64-buildroot-linux-g
nu-ld: arch/x86/kernel/head_64.o: unable to initialize
decompress status for section .debug_line
Product: buildroot
Version: 2018.11.2
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: janusz.krzysztofik at intel.com
CC: buildroot at uclibc.org
Target Milestone: ---
Hi,
Buildroot 2018.11.2 hosted on Fedora 29 here. The failure started appearing
during kernel build surprisingly after elfutils RPMs had been upgraded from
0.174 to 0.176.
Two workarounds worked for me:
- downgrading elfutils RPMs back to 0.174,
- symlinking .../buildroot/output/host/bin/x86_64-buildroot-linux-gnu-ld to a
fixed one provided by Fedora 29 RPM bintuils-2.31.1-18.fc19 (see Changelog on
https://koji.fedoraproject.org/koji/buildinfo?buildID=1211905).
For more details, please see:
https://bugzilla.redhat.com/show_bug.cgi?id=1678204#c11
https://sourceware.org/bugzilla/show_bug.cgi?id=23919
My conclusion is, something under output/ (probably
output/build/linux-xxx/tools/objtool/objtool) used for building the kernel is
using host provided libelf.
$ ldd ./output/build/linux-custom/tools/objtool/objtool
linux-vdso.so.1 (0x00007ffc5bed4000)
libelf.so.1 => /lib64/libelf.so.1 (0x00007f1c23c78000)
libc.so.6 => /lib64/libc.so.6 (0x00007f1c23ab2000)
libz.so.1 => /home/jkrzyszt/git/buildroot/output/host/lib/libz.so.1
(0x00007f1c23a98000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1c23cb7000)
I can see 2 possible ways of fixing the issue:
a) making objtool (or other executable which exposes the issue if that's not
objtool) use libelf provided by buildroot (the preferred way, I believe),
or
b) applying the fix from
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=88739f776b733b0b84600b283417f862a010bb5d
on binutils so it doesn't suffer from the issue whatever libelf version is
installed on a host.
BTW, the bug also exists in 2019.02-rc1.
Thanks,
Janusz
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2019-02-20 9:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-20 9:45 bugzilla at busybox.net [this message]
2019-02-20 21:17 ` [Buildroot] [Bug 11681] .../buildroot/output/host/bin/x86_64-buildroot-linux-gnu-ld: arch/x86/kernel/head_64.o: unable to initialize decompress status for section .debug_line bugzilla at busybox.net
2019-02-21 8:05 ` bugzilla at busybox.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-11681-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.