Closed wheatman closed 9 months ago
From looking at the reproducer files, I think there's a mistake in the flags you're passing to clang
. It looks like your original command had the flags -I -fopencilk
. (In other words, there's a -I
flag, but no include directory after it.) The -I
flag treats the string after it as a directory path, which in this case is the string -fopencilk
. As a result, this command does not actually pass -fopencilk
to clang
, and the compiler ends up not properly targeting OpenCilk.
We should make some user-facing improvements to make this case fail in a cleaner way that's easier to understand. But in this particular case, I think fixing the flags should resolve your problem.
Ah my bad, I had an issue with my Makefile, but yeah an error message instead of a crash there would be helpful.
I'm going to go ahead and close this issue, since I no longer see this compiler crash with the latest release.
Describe the bug
The compiler crashes with the following message
OpenCilk version
System information
Steps to reproduce (include relevant output)
The associated reproducer files are attached
run-7daeeb.sh.txt run-7daeeb.cpp.txt
Additional comments
The full backtrace is