Issue 125782
Summary Clang + NVPTX reports `ptxas fatal : Unresolved extern function '__assert_fail'`
Labels
Assignees
Reporter clellsolomon
    I'm getting the following error when compiling a file without `-DNDEBUG`:
```
ptxas fatal   : Unresolved extern function '__assert_fail'
clang++: error: ptxas command failed with exit code 255 (use -v to see invocation)
clang version 21.0.0git (https://github.com/llvm/llvm-project.git d13940ee263ff50b7a71e21424913cc0266bf9d4)
Target: aarch64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/projects/eap/users/csolomon/local/install/cos3/venado/clang-trunk/bin
```

I'm using CUDA 12.5 which i understand is marked only partially supported.

The file does compile when `-DNDEBUG` is defined on the compile line.

 I cannot (currently) share the reproducer as the source is controlled.  I've worked (briefly) at generating a reproducer without success.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to