[Bug 221864] clang 5.0 crashes on assert: "replacement types must always be canonical"
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Aug 27 19:35:25 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221864
Bug ID: 221864
Summary: clang 5.0 crashes on assert: "replacement types must
always be canonical"
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Keywords: needs-qa
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: freebsd-toolchain at FreeBSD.org
Reporter: jbeich at FreeBSD.org
Created attachment 185824
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185824&action=edit
src/llvm_wrapper/llvm_wrapper.cpp (preprocessed, compressed)
$ pkg install llvm40 cmake sdl2 git
$ cd /tmp
$ git clone https://github.com/programmerjake/vulkan-cpu
$ cd vulkan-cpu
$ cmake .
$ make
[...]
[ 2%] Building CXX object
src/llvm_wrapper/CMakeFiles/vulkan_cpu_llvm_wrapper.dir/llvm_wrapper.cpp.o
cd /tmp/vulkan-cpu/src/llvm_wrapper && /usr/bin/CC
-I/usr/local/llvm40/include -I/tmp/vulkan-cpu/src -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -ftemplate-depth=1024
-Werror "-Wno-error=#warnings" -std=gnu++14 -o
CMakeFiles/vulkan_cpu_llvm_wrapper.dir/llvm_wrapper.cpp.o -c
/tmp/vulkan-cpu/src/llvm_wrapper/llvm_wrapper.cpp
Assertion failed: (Replacement.isCanonical() && "replacement types must always
be canonical"), function getSubstTemplateTypeParmType, file
/poudriere/jails/head-amd64/usr/src/contrib/llvm/tools/clang/lib/AST/ASTContext.cpp,
line 3520.
c++: error: unable to execute command: Abort trap
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 5.0.0 (trunk 308421) (based on LLVM 5.0.0svn)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed
source, and associated run script.
c++: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/llvm_wrapper-eb0531.cpp
c++: note: diagnostic msg: /tmp/llvm_wrapper-eb0531.sh
c++: note: diagnostic msg:
********************
*** Error code 254
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list