Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706266 - sys-libs/compiler-rt-9.0.1 - src_configure(): ld: cannot find /usr/lib/llvm/9/bin/../../../../lib/clang/9.0.1/lib/linux/libclang_rt.builtins-i386.a: No such file or directory
Summary: sys-libs/compiler-rt-9.0.1 - src_configure(): ld: cannot find /usr/lib/llvm/9...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-24 21:10 UTC by David W Noon
Modified: 2020-01-29 08:49 UTC (History)
2 users (show)

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


Attachments
build.log (sys-libs:compiler-rt-9.0.1:20200124-044751.log,4.28 KB, text/plain)
2020-01-24 21:10 UTC, David W Noon
Details
emerge --info (emerge_info.txt,7.36 KB, text/plain)
2020-01-24 21:11 UTC, David W Noon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David W Noon 2020-01-24 21:10:17 UTC
Created attachment 604212 [details]
build.log

During configuration checks, the ebuild fails compiling a test program with the error message:

/usr/lib/gcc/i686-pc-linux-gnu/9.2.0/../../../../i686-pc-linux-gnu/bin/ld: cannot find /usr/lib/llvm/9/bin/../../../../lib/clang/9.0.1/lib/linux/libclang_rt.builtins-i386.a: No such file or directory

The build then terminates.

The emerge --info and ebuild log will be uploaded as attachments in the next few minutes.
Comment 1 David W Noon 2020-01-24 21:11:30 UTC
Created attachment 604214 [details]
emerge --info

emerge --info
Comment 2 Tamas Jantvik 2020-01-25 13:17:15 UTC
I've hit this as well.
I checked, that for 8.0.1, that /usr/lib/clang/8.0.1/lib/linux actually belongs to compiler-rt. So, some build config must be off here.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-29 08:36:48 UTC
Is that clang with USE=default-compiler-rt?
Comment 4 Larry the Git Cow gentoo-dev 2020-01-29 08:49:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e283ddd7e7cfd33203278872556a5b7db34eaa1

commit 8e283ddd7e7cfd33203278872556a5b7db34eaa1
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-01-29 08:47:41 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-01-29 08:47:41 +0000

    sys-libs/compiler-rt: Fix stripping -nodefaultlibs
    
    Closes: https://bugs.gentoo.org/706266
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-libs/compiler-rt/compiler-rt-10.0.0.9999.ebuild | 2 +-
 sys-libs/compiler-rt/compiler-rt-11.0.0.9999.ebuild | 2 +-
 sys-libs/compiler-rt/compiler-rt-7.1.0.ebuild       | 2 +-
 sys-libs/compiler-rt/compiler-rt-8.0.1.ebuild       | 2 +-
 sys-libs/compiler-rt/compiler-rt-9.0.1.ebuild       | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)