Skip to content

Build fails with LTO #362

Open
Open
@Zer0-One

Description

@Zer0-One

Context here:
https://bugs.gentoo.org/938519

When LTO is enabled, the symbol version script provided to the linker is busted.

/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld:/tmp/portage/dev-util/intel-graphics-compiler-1.0.17537.1/work/intel-graphics-compiler-igc-1.0.17537.1/IGC/igc_symbols.ld:3: syntax error in VERSION script
collect2: error: ld returned 1 exit status

Building with LTO disabled functions correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions