Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941581 - sci-libs/cholmod-3.0.14-r1: USE=cuda: failed to build with comma-containing LDFLAGS
Summary: sci-libs/cholmod-3.0.14-r1: USE=cuda: failed to build with comma-containing L...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-15 12:45 UTC by Benjamino Masyura
Modified: 2024-10-16 13:13 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.