Skip to content

"writable SHF_MERGE section is not supported" lld error in s390 __bug_table sections #1992

@nathanchance

Description

@nathanchance

When attempting to build ARCH=s390 defconfig with ld.lld (available after llvm/llvm-project@fe3406e) after applying the patch for #1991, there is an error in all __bug_table sections:

$ make -skj"$(nproc)" ARCH=s390 LLVM=1 OBJCOPY=s390x-linux-gnu-objcopy OBJDUMP=s390x-linux-gnu-objdump mrproper defconfig all
ld.lld: error: net/netlink/diag.o:(__bug_table): writable SHF_MERGE section is not supported

Patch submitted and accepted: https://git.kernel.org/s390/c/3938490e78f443fb0b734a15a50abba020638ff8

Metadata

Metadata

Assignees

No one assigned

    Labels

    [ARCH] s390This bug impacts ARCH=s390[BUG] linuxA bug that should be fixed in the mainline kernel.[FIXED][LINUX] 6.9This bug was fixed in Linux 6.9[TOOL] lldThe issue is relevant to LLD linker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions