Bug 2329496
Summary: | kernel FTBFS: arch/x86/tools/insn_decoder_test: error: malformed line 3566260: 2_>:ffffffff81bdd110 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | acaringi, adscvr, airlied, alciregi, awilliam, bskeggs, hdegoede, hpa, jforbes, josef, kernel-maint, linville, masami256, mchehab, paul, ptalbert, steved, suraj.ghimire7 |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Richard W.M. Jones
2024-11-29 15:26:25 UTC
I posted on LKML to ask what happened to that patch: https://lore.kernel.org/lkml/20241129154031.GA7195@redhat.com/ jforbes wondered why this doesn't affect the ELN kernel if that's the problem. I have a theory: I think the ELN kernel builds with the RHEL kernel config, which is very different from and much more stripped down than Fedora's. Notably, given the note in the upstream report that "With rust-code entering the kernel, those symbol-names will include mangled-symbols which might exceed the current line-length-limit of the tool", the Fedora config has CONFIG_RUST=y but the RHEL config has it unset. I downloaded https://kojipkgs.fedoraproject.org//packages/kernel/6.13.0/0.rc1.20241202gite70140ba0d2b.14.eln144/x86_64/kernel-core-6.13.0-0.rc1.20241202gite70140ba0d2b.14.eln144.x86_64.rpm and checked the config file it contains, and indeed CONFIG_RUST is not in it, so I think that supports my theory. Thanks Dan, who pointed out that we have a (downstream only?) patch in the Fedora Rawhide kernel that fixes this: In 'patch-6.14-redhat.patch': ... diff --git a/arch/x86/tools/insn_decoder_test.c b/arch/x86/tools/insn_decoder_te st.c index 472540aeabc2..366e07546344 100644 --- a/arch/x86/tools/insn_decoder_test.c +++ b/arch/x86/tools/insn_decoder_test.c @@ -106,7 +106,7 @@ static void parse_args(int argc, char **argv) } } -#define BUFSIZE 256 +#define BUFSIZE 4096 ... Yes, we are carrying the patch, but upstream keeps ignoring it for some reason. The issue is only in rust which is why it doesn't impact ELN. Over the past couple of releases, multiple people have sent patches upstream which are all variations on this, but none seem to gain traction. |