Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874336 - sys-libs/libcxxabi-15.0.1: x86_64-pc-linux-gnu-ld: error: unable to find library -lc++
Summary: sys-libs/libcxxabi-15.0.1: x86_64-pc-linux-gnu-ld: error: unable to find libr...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-03 00:21 UTC by Rubin Simons
Modified: 2022-10-04 13:05 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,6.72 KB, text/x-log)
2022-10-03 00:21 UTC, Rubin Simons
Details
emerge --info (emerge-info.txt,7.62 KB, text/plain)
2022-10-03 00:22 UTC, Rubin Simons
Details
qlop -d 2022-10-01 -d 2022-10-03 (qlop-out.txt,20.71 KB, text/plain)
2022-10-03 00:23 UTC, Rubin Simons
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rubin Simons 2022-10-03 00:21:41 UTC
Created attachment 816085 [details]
build.log

Was compiling a bunch of ebuilds, ran into this: 

    Run Build Command(s):/usr/bin/ninja cmTC_e7f94 && [1/2] Building CXX object CMakeFiles/cmTC_e7f94.dir/testCXXCompiler.cxx.o
    [2/2] Linking CXX executable cmTC_e7f94
    FAILED: cmTC_e7f94 
    : && /usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-clang++ --target=x86_64-pc-linux-gnu -march=native -O3 -pipe -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_e7f94.dir/testCXXCompiler.cxx.o -o cmTC_e7f94   && :
    x86_64-pc-linux-gnu-ld: error: unable to find library -lc++
    clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
    ninja: build stopped: subcommand failed.
Comment 1 Rubin Simons 2022-10-03 00:22:27 UTC
Created attachment 816088 [details]
emerge --info
Comment 2 Rubin Simons 2022-10-03 00:23:16 UTC
Created attachment 816091 [details]
qlop -d 2022-10-01 -d 2022-10-03
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-04 01:04:13 UTC
I think it's because of the PDEPEND in libcxx, we should probably iterate over the available Clangs and pick the latest one which actually works.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-10-04 06:59:36 UTC
That's a default-libcxx system then?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-04 13:05:50 UTC
(In reply to Michał Górny from comment #4)
> That's a default-libcxx system then?

yes