[Bug 223809] archivers/zstd: clang 5.0 crashes during build
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 23 05:48:20 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223809
--- Comment #7 from Jan Beich <jbeich at FreeBSD.org> ---
Doesn't crash with -O0. Here're steps to reproduce on -CURRENT for any
architecture:
$ cd /usr/ports/archivers/zstd
$ make clean patch BATCH=
$ cd `make -V WRKSRC)/programs`
$ cc -target armv6-unknown-freebsd12.0-gnueabihf -I../lib -I../lib/common
-I../lib/compress -I../lib/dictBuilder -DZSTD_NEWAPI -DXXH_NAMESPACE=ZSTD_
-I../lib/legacy -DZSTD_MULTITHREAD -DZSTD_GZCOMPRESS -DZSTD_GZDECOMPRESS
-DZSTD_LZMACOMPRESS -DZSTD_LZMADECOMPRESS -DZSTD_LEGACY_SUPPORT=4 -O2
../lib/compress/zstd_compress.c
Assertion failed: (LiveCPSR && "CPSR liveness tracking is wrong!"), function
UpdateCPSRUse, file
/usr/src/contrib/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp, line 961.
cc: error: unable to execute command: Abort trap
cc: error: clang frontend command failed due to signal (use -v to see
invocation)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list