Summary: | [gnome-next overlay] sys-libs/binutils-libs-2.29.1-r1: compilation of gnome-extra/evolution-data-server-3.27.1 and other packages fails with undefined symbol: _hex_value when LTO is used | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Heidelberg (okias) <david> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | gnome, jstein, slyfox |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | example_build.log |
Description
David Heidelberg (okias)
2017-10-18 09:25:27 UTC
Thank you for the report. Please *attach* the logfiles, https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Report_a_build-time_bug_.28emerge_failed.29 and reopen this ticket (Status:unconfirmed). I'm not able to upload logs (timeout), but I noticed this error shows up when compiling even other software, so it's not gnome related. Reopened since this causing multiple ebuilds to fail at compilation time. Created attachment 499282 [details]
example_build.log
(In reply to David Heidelberg (okias) from comment #2) > I'm not able to upload logs (timeout), but I noticed this error shows up > when compiling even other software, so it's not gnome related. > > Reopened since this causing multiple ebuilds to fail at compilation time. Can you give us a list of other packages that fail for you with the same error? Just the package names for now. (In reply to Andreas K. Hüttel from comment #4) > (In reply to David Heidelberg (okias) from comment #2) > > I'm not able to upload logs (timeout), but I noticed this error shows up > > when compiling even other software, so it's not gnome related. > > > > Reopened since this causing multiple ebuilds to fail at compilation time. > > Can you give us a list of other packages that fail for you with the same > error? > Just the package names for now. Oh and your emerge --info would be useful too. I can not reproduce this problem. gnome-extra/evolution-data-server emerges fine here in my ~amd64 chroot. (To be precise, gnome-extra/evolution-data-server-3.24.6 ... no idea where you get your version from...) The problem here is in 'libbfd-2.29.1.so' (or the linker tryng to read it):
> lookup error: /usr/lib64/libbfd-2.29.1.so: undefined symbol: _hex_value
It should get the read-only symbol:
$ gcc-nm -D /usr/lib64/libbfd-2.29.1.so | fgrep hex_val
000000000063e640 R _hex_value
Do you have it? 'ld -v' should also be useful ('emerge --info' will contain it)
# gcc-nm -D /usr/lib64/libbfd-2.29.1.so | fgrep hex_val U _hex_value # ld -v GNU ld (Gentoo 2.29.1 p2) 2.29.1 I figured it out, it's LTO issue. Now question is if it's in binutils-libs or GCC 7.2.0. # gcc-nm -D /usr/lib64/libbfd-2.29.1.so | fgrep hex_val 000000000010bea0 R _hex_value # ld -v GNU ld (Gentoo 2.29.1 p2) 2.29.1 when binutils-libs are compiled with 5.4.0 + LTO, it fails same way as with 7.2.0 LTO. It _seems_ to be binutils-libs bug. (In reply to David Heidelberg (okias) from comment #10) > when binutils-libs are compiled with 5.4.0 + LTO, it fails same way as with > 7.2.0 LTO. It _seems_ to be binutils-libs bug. Can you attach your 'emerge --info' on a failing system? Is setting CFLAGS/CXXFLAGS/LDFLAGS+=-flto enough to reproduce the failure? Given that error comes from ld itself I'm assuming it's a dupe of bug #666100. *** This bug has been marked as a duplicate of bug 666100 *** |