https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249527

--- Comment #3 from Jan Beich <jbe...@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.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to