Summary: | media-libs/shaderc-2023.6 fails to compile ld.lld: error: undefined symbol: glslang::TShader::preprocess(TBuiltInResource const*, int, EProfile, bool, bool, EShMessages, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>* | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Denis Strizhkin <strdenis02> |
Component: | Current packages | Assignee: | Nick Sarnie <sarnex> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | jstein, sarnex, strdenis02 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: |
default LDFLAGS and -flto=thin
emerge --info Wl,--undefined-version and -flto=thin Wl,--undefined-version and no flto gcc fallback also fails |
Description
Denis Strizhkin
2023-10-26 22:57:06 UTC
Created attachment 873503 [details]
emerge --info
Created attachment 873504 [details]
Wl,--undefined-version and -flto=thin
Created attachment 873505 [details]
Wl,--undefined-version and no flto
Created attachment 873506 [details]
gcc fallback also fails
Was able to compile by compiling both dev-util/spriv-tools and dev-util/glslang without lto If it's an LTO issue, can you please report this upstream? Thanks Is this still reproducible? IIRC from discussion on irc, i got the impression that libstdc++/libc++ had been mixed, but this was a while ago |