Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643740 - sys-apps/sandbox-2.1.2 fails with lld linker: Unable to determine LIBC PATH()
Summary: sys-apps/sandbox-2.1.2 fails with lld linker: Unable to determine LIBC PATH()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-06 22:11 UTC by Bjorn Pagen
Modified: 2019-04-26 16:50 UTC (History)
0 users

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


Attachments
build.log (build.log,13.33 KB, text/x-log)
2018-01-06 22:11 UTC, Bjorn Pagen
Details
emerge --info (emerge.info,4.85 KB, text/plain)
2018-01-06 22:11 UTC, Bjorn Pagen
Details
config.log (config.log,138.11 KB, text/x-log)
2018-01-06 22:13 UTC, Bjorn Pagen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bjorn Pagen 2018-01-06 22:11:21 UTC
Created attachment 513556 [details]
build.log

I am experimenting with a clang native gentoo system. Binutils and gcc have been removed from the system set. /usr/bin/ld.lld is symlinked to /usr/bin/ld. Sandbox doesn't finish it's configure, and throws this error:

I am using lld as the linker.

...
checking for stackoverflow_install_handler in -lsigsegv... (cached) false
checking for __sync_lock_test_and_set... yes
checking for va_copy... va_copy
checking for library containing dlopen... none required
checking for dlvsym... no
checking truncate argument type... off_t
checking for RTLD_NEXT... yes
checking libc path... configure: error: Unable to determine LIBC PATH ()
...

This issue is very likely related with resolved issue #291103
Comment 1 Bjorn Pagen 2018-01-06 22:11:57 UTC
Created attachment 513558 [details]
emerge --info
Comment 2 Bjorn Pagen 2018-01-06 22:13:31 UTC
Created attachment 513560 [details]
config.log
Comment 3 Bjorn Pagen 2018-01-06 23:52:16 UTC
Oh, and also, I'm on musl.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2019-04-26 16:50:15 UTC
configure fixed in:
https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=3c001036637930152c038d084334d9a7311ffc6e

Run-time usage fixed in:
https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=c8146cfbcd36f9be4a447bf057811fe2f6c543b2

These changes were released in sys-apps/sandbox-2.16.