Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 659732 - sys-libs/libunwind-1.2.1-r1 fails to build when using ld.gold as a linker (fixed upstream)
Summary: sys-libs/libunwind-1.2.1-r1 fails to build when using ld.gold as a linker (fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-01 03:22 UTC by jorgicio
Modified: 2018-07-08 10:00 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The log (build-libunwind.log,491.78 KB, text/x-log)
2018-07-01 03:23 UTC, jorgicio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jorgicio 2018-07-01 03:22:38 UTC
Hi!

I tried to build libunwind 1.2.1, but it fails to build when I use gold as a linker, but it builds with bfd. I had to recurre to package.env as a workaround.

I'll attach the full log then.

Thanks.

Reproducible: Always
Comment 1 jorgicio 2018-07-01 03:23:06 UTC
Created attachment 537946 [details]
The log
Comment 2 Perfect Gentleman 2018-07-01 10:27:31 UTC
confirm
Comment 3 Jiří Moravec 2018-07-01 14:30:21 UTC
Me too :-(
Comment 4 Simone Scanzoni 2018-07-01 17:43:17 UTC
Confirm
Comment 5 Paolo Pedroni 2018-07-02 09:28:52 UTC
Same for me...
Comment 6 Flo Gravo 2018-07-06 08:58:28 UTC
Known and fixed upstream:
https://github.com/libunwind/libunwind/issues/58
Comment 7 wolfwood 2018-07-06 21:50:04 UTC
same
Comment 8 Larry the Git Cow gentoo-dev 2018-07-08 10:00:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=738995e4af3a935b410a8f16663feaf3c7e0332a

commit 738995e4af3a935b410a8f16663feaf3c7e0332a
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-07-08 09:59:49 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-07-08 10:00:05 +0000

    sys-libs/libunwind: fix build with -fuse-ld=gold, bug #659732
    
    Backport upstream patch to drop protected atrribute.
    
    Reported-by: jorgicio
    Closes: https://bugs.gentoo.org/659732
    Package-Manager: Portage-2.3.41, Repoman-2.3.9

 .../libunwind/files/libunwind-1.2.1-no-PROTECTED.patch     | 14 ++++++++++++++
 sys-libs/libunwind/libunwind-1.2.1-r1.ebuild               |  1 +
 2 files changed, 15 insertions(+)