Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 793200 - sys-devel/binutils-2.36.1-r1 ld.lld: error: undefined symbol: _Unwind_Resume in clang
Summary: sys-devel/binutils-2.36.1-r1 ld.lld: error: undefined symbol: _Unwind_Resume ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 793206 793215 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-05-31 12:21 UTC by vicalcas
Modified: 2021-06-06 12:17 UTC (History)
2 users (show)

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


Attachments
build log (build.log,581.25 KB, text/x-log)
2021-05-31 12:21 UTC, vicalcas
Details
config log (config.log,31.96 KB, text/x-log)
2021-05-31 12:21 UTC, vicalcas
Details
emerge info (info,7.83 KB, text/plain)
2021-05-31 12:21 UTC, vicalcas
Details
emerge pqv (pqv,137 bytes, text/plain)
2021-05-31 12:21 UTC, vicalcas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vicalcas 2021-05-31 12:21:20 UTC
Created attachment 712755 [details]
build log

The compilation fails with the clang toolchain, but i have the suspicion is the fault of lld,to be precise of the -fuse-ld=lld LDFLAG. Does binutils require another linker?
Comment 1 vicalcas 2021-05-31 12:21:37 UTC
Created attachment 712758 [details]
config log
Comment 2 vicalcas 2021-05-31 12:21:47 UTC
Created attachment 712761 [details]
emerge info
Comment 3 vicalcas 2021-05-31 12:21:57 UTC
Created attachment 712764 [details]
emerge pqv
Comment 4 Mike Gilbert gentoo-dev 2021-06-02 16:54:26 UTC
You have some interesting CFLAGS. Please try with a simple set of flags. If that resolves the issue, please try to figure out which flag(s) are triggering the failure.
Comment 5 Ionen Wolkens gentoo-dev 2021-06-06 12:16:17 UTC
From the sound of it in other bugs, you're also using default-* on clang which tend to be further unexpected by packages.

Support for using clang globally (i.e. every packages) is already fairly limited, and along with these *FLAGS is likely to cause generalized failures. So I wouldn't call this an issue with these packages at the moment.

Please use more common toolchain settings.
Comment 6 Ionen Wolkens gentoo-dev 2021-06-06 12:17:17 UTC
*** Bug 793206 has been marked as a duplicate of this bug. ***
Comment 7 Ionen Wolkens gentoo-dev 2021-06-06 12:17:34 UTC
*** Bug 793215 has been marked as a duplicate of this bug. ***