Summary: | sci-libs/lapack-3.12.0 fails to build with clang-17 and lto enabled | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Pritchard <chris> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | abbotta4 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963, 618550 | ||
Attachments: | build.log |
Description
Chris Pritchard
2023-12-11 23:14:13 UTC
Created attachment 878819 [details]
build.log
main.c:(.text.main+0x15): undefined reference to `VerifyFortran' seems to be the main culprit!
note wrt linker: We have to use bfd here because clang->gfortran (we don't have flang yet). with lld, we get the standard 'undefined reference to main' thing because lld doesn't support gcc lto. |