Skip to content

"invalid PT_DYNAMIC size" when building MIPS vDSO after -next commit 2db1ec80dfd5f9f1200acc90ec04a9c8ea47701a #2166

@nathanchance

Description

@nathanchance

After commit 2db1ec80dfd5 ("MIPS: VDSO: Fold MIPS_DISABLE_VDSO into MIPS_GENERIC_GETTIMEOFDAY") in -next, I see:

$ make -skj"$(nproc)" ARCH=mips LLVM=1 mrproper allnoconfig arch/mips/vdso/
llvm-readelf: warning: 'arch/mips/vdso/vdso.so.dbg.raw': invalid PT_DYNAMIC size (0xa4)
llvm-readelf: warning: 'arch/mips/vdso/vdso.so.dbg.raw': PT_DYNAMIC dynamic table is invalid: SHT_DYNAMIC will be used

This has come up before (#2093). I think I have a fix for this, just need to do some further digging and write a proper commit message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [ARCH] mipsThis bug impacts ARCH=mips[BUG] linux-nextThis is an issue only seen in linux-next

    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