Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938506 - sys-fs/duperemove: unable to find -latomic when compiling with clang/LLVM
Summary: sys-fs/duperemove: unable to find -latomic when compiling with clang/LLVM
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-25 20:51 UTC by iacj9bh6
Modified: 2024-08-27 14:55 UTC (History)
2 users (show)

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


Attachments
emerge-info (emerge-info,6.64 KB, text/plain)
2024-08-27 12:59 UTC, iacj9bh6
Details
build.log (build.log,15.38 KB, text/x-log)
2024-08-27 12:59 UTC, iacj9bh6
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iacj9bh6 2024-08-25 20:51:27 UTC
x86_64-pc-linux-musl-ld.lld: error: unable to find library -latomic
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Reproducible: Always
Comment 1 Alfred Wingate 2024-08-25 21:01:20 UTC
With bug reports please include emerge --info and the build.log.

Looks like upstream has had a history with this.
https://github.com/markfasheh/duperemove/issues/186
https://github.com/markfasheh/duperemove/pull/234
https://github.com/markfasheh/duperemove/pull/258

Gentoo can address this by removing -latomic and using the flag-o-matics eclass function append-atomic-flags.
Comment 2 Mike Gilbert gentoo-dev 2024-08-26 17:25:24 UTC
Please provide emerge --info and attach the build log. Then change the status to UNCONFIRMED.
Comment 3 iacj9bh6 2024-08-27 12:59:05 UTC
Created attachment 901326 [details]
emerge-info
Comment 4 iacj9bh6 2024-08-27 12:59:43 UTC
Created attachment 901327 [details]
build.log