Skip to content

Build fails with LTO #362

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Zer0-One opened this issue Apr 10, 2025 · 0 comments
Open

Build fails with LTO #362

Zer0-One opened this issue Apr 10, 2025 · 0 comments

Comments

@Zer0-One
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant