Summary: | sys-libs/binutils-libs-2.34 fails to build (LTO?) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Patrick Lauer
2020-02-02 07:15:52 UTC
Works fine here on: - ~x86 - ~amd64 - ~amd64 -march=native - ~amd64 -flto=4 Please attach full build.log. I am specifically interested in your ranlib tool. Make sure you use RANLIB=gcc-ranlib. I'm not sure 'ranlib' would work. """ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-libs/binutils-libs-2.34/temp/libctf.so.0.0.0.iDxKnV.ltrans0.ltrans.o: relocation R_386_GOTOFF against undefined symbol `_xexit_cleanup' can not be used when making a shared object /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status """ Missing '_xexit_cleanup' symbol is supposed to be defined in static local libibery.a library. I'd like to see how it was built. Feel free to reopen when you have more logs. |