Bugzilla – Bug 1216042
Kernels fail to build in Kernel:stable:Backport
Last modified: 2024-05-09 16:35:28 UTC
The recently updated binutils in openSUSE_Leap_15.4 generate new DT_ tags which dwarves does not know about: [ 1122s] Unsupported DW_TAG_unspecified_type(0x3b) [ 1122s] Encountered error while encoding BTF. osc branch --nodevelproject openSUSE:Factory dwarves Kernel:stable:Backport would probably solve this issue.
IMO dwarves should be updated to 1.25 in Leap, so that it can handle updated tags which the new binutils generate.
(Forgot to note that I temporarily worked around this by linking dwarves from Factory (1.25) to Kernel:stable:Backport.)
dwarves is part of SLE so it needs to be updated there, and SLE does not have the required libraries for that. The current dwarves can be only built with vendored libbpf.
(In reply to Michal Suchanek from comment #3) > dwarves is part of SLE so it needs to be updated there, and SLE does not > have the required libraries for that. OTOH 1.25 builds fine in Kernel:stable:Backport, i.e. against Leap:15.5:Update (it was :15.4: yesterday before Takashi did the switch and was OK too). I didn't check SLE, but does Leap have enough and SLE not?
No, it's built with vendored libbpf which probably works but is unfit for releasing in SLE.
*** Bug 1222388 has been marked as a duplicate of this bug. ***
Seen on 15.5
This is also a problem in 15.5. Is this going to be fixed, or do we have to wait until 16 which is over a year away?
dwarves are updated in 15.6
(In reply to Michal Suchanek from comment #11) > dwarves are updated in 15.6 I do not think it is acceptable that we have to wait until 15.6 for a fix.
(In reply to Bob Goddard from comment #12) > (In reply to Michal Suchanek from comment #11) > > dwarves are updated in 15.6 > > I do not think it is acceptable that we have to wait until 15.6 for a fix. It is NOT acceptable that this issue is not being fixed. The inability to build a kernel should not be left until 15.6.
You can install the build tools from Kernel:stable:Backport project as well as the prebuilt kernels. In 15.6 dwarves is new enough to build the upstream kernel out of the box, for now.
(In reply to Michal Suchanek from comment #14) > You can install the build tools from Kernel:stable:Backport project as well > as the prebuilt kernels. > > In 15.6 dwarves is new enough to build the upstream kernel out of the box, > for now. That is NOT acceptable. We should not have to go through hoops & I am sure as heck NOT going to install a whole bunch of other packages.. I just tried to install from https://download.opensuse.org/repositories/Kernel:/stable:/Backport/standard/aarch64/ & there is no build tools or any dwarves package listed.