Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 941581

Summary: sci-libs/cholmod-3.0.14-r1: USE=cuda: failed to build with comma-containing LDFLAGS
Product: Gentoo Linux Reporter: Benjamino Masyura <benjama>
Component: Current packagesAssignee: Paul Zander <negril.nx+gentoo>
Status: RESOLVED NEEDINFO    
Severity: normal CC: sci
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Benjamino Masyura 2024-10-15 12:45:00 UTC
LDFLAGS are passed along with CFLAGS directly to `nvcc` via `-Xcompiler`, and it treats arguments containing commas (such as `-Wl,-z,now`) as separate flags (`-Wl -z now`), causing a build error. 

Perhaps escaping commas in *FLAGS passed to `nvcc` would help.
Source: https://gitlab.kitware.com/cmake/cmake/-/issues/23069
Comment 1 Paul Zander 2024-10-15 12:50:19 UTC
Please attach the build log and emerge --info.
Comment 2 Paul Zander 2024-10-16 13:13:36 UTC
Please attach the requested logs and reopen. I can't reproduce this. And I have nothing else to check for.