Summary: | media-libs/game-music-emu-0.6.3 fails to build without gcc[sanitize] (ld: cannot find -lubsan) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Attila Tóth <atoth> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log + emerge --info.txt |
Description
Attila Tóth
2021-05-05 15:34:39 UTC
No build.log and emerge —-info? Sorry to go about it, but it’s really useful for fixing these if we can’t reproduce. (In reply to Sam James from comment #1) > No build.log and emerge —-info? Sorry to go about it, but it’s really useful > for fixing these if we can’t reproduce. Sure, of course - sorry for the missing logs. It just takes time to re-emerge gcc-11 with -sanitize, reproduce and harvest the logs. I'll get back and attach. Created attachment 706602 [details]
build.log + emerge --info.txt
This doesn't seem to be gcc11, I get this with gcc10 as well.
workaround:
MYCMAKEARGS='-DENABLE_UBSAN=off' emerge game-music-emu
(In reply to Ionen Wolkens from comment #3) > Created attachment 706602 [details] > build.log + emerge --info.txt > > This doesn't seem to be gcc11, I get this with gcc10 as well. > > workaround: > MYCMAKEARGS='-DENABLE_UBSAN=off' emerge game-music-emu USE="sanitize" is introduced for gcc:11. For gcc:10 I also come to the workaround conclusion you've mentioned then I proceeded to gcc:11 and with that it's possible to compile with USE="sanitize" and UBSAN=ON. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ea64d9eabcfcd1b34860061a2c8e2f28f588155 commit 0ea64d9eabcfcd1b34860061a2c8e2f28f588155 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2021-07-02 20:11:58 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2021-07-02 20:11:58 +0000 media-libs/game-music-emu: disabled sanitize in 0.6.3 Closes: https://bugs.gentoo.org/788361 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> media-libs/game-music-emu/game-music-emu-0.6.3.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) |