Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2020 15:35:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 249527] graphics/vulkan-loader: clang 11 crashes on i386 during build
Message-ID:  <bug-249527-29464-XXKktqDX3k@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249527-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249527-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249527

--- Comment #3 from Jan Beich <jbeich@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 star=
t 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 trivi=
al:

 $ fetch -o "gen_defines.asm"
"https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D218180"
 $ fetch -o "unknown_ext_chain_gas.S"
"https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D218181"
 $ clang -m32 -c "unknown_ext_chain_gas.S"
 Assertion failed: (Type =3D=3D RT32_32), function getRelocType32, file
/usr/src/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/X86ELFObject=
Writer.cpp,
line 260.
 [...]

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249527-29464-XXKktqDX3k>