[Bug 249527] graphics/vulkan-loader: clang 11 crashes on i386 during build
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 22 15:35:05 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249527
--- Comment #3 from Jan Beich <jbeich at FreeBSD.org> ---
Preprocessed source/script generated on crash is unusable:
$ sh unknown_ext_chain_gas-c095a0.sh 2>&1 | head
/usr/lib/clang/11.0.0/include/cet.h:45:11: error: expected absolute
expression in directive
.p2align __PROPERTY_ALIGN
^
/usr/lib/clang/11.0.0/include/cet.h:53:11: error: expected absolute
expression in directive
.p2align __PROPERTY_ALIGN
^
/usr/lib/clang/11.0.0/include/cet.h:54:2: error: unexpected token at start of
statement
/* GNU_PROPERTY_X86_FEATURE_1_AND. */
^
/usr/lib/clang/11.0.0/include/cet.h:61:11: error: expected absolute
expression in directive
However, reproducing outside of ports (cross-compiling from amd64) is trivial:
$ fetch -o "gen_defines.asm"
"https://bugs.freebsd.org/bugzilla/attachment.cgi?id=218180"
$ fetch -o "unknown_ext_chain_gas.S"
"https://bugs.freebsd.org/bugzilla/attachment.cgi?id=218181"
$ clang -m32 -c "unknown_ext_chain_gas.S"
Assertion failed: (Type == RT32_32), function getRelocType32, file
/usr/src/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp,
line 260.
[...]
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list