Skip to content

can't create dynamic relocation R_386_32 with LLD #579

@tpimh

Description

@tpimh
ld.lld: error: can't create dynamic relocation R_386_32 against symbol: _bss in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in 
>>> referenced by arch/x86/boot/compressed/head_32.o:(.text+0x4)

This is specific to i386 and LLD. Not yet submitted to LLVM bugzilla.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions