Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2024 07:48:44 +0000
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org,  dev-commits-src-main@freebsd.org
Subject:   Re: git: 71ac745d76c3 - main - Merge llvm-project release/19.x llvmorg-19.1.5-0-gab4b5a2db582
Message-ID:  <CAFDf7UL1RAziYATN1doPG0BabRLt0Q0gDGw7_-XC3RfZZ0=a8w@mail.gmail.com>
In-Reply-To: <202412061731.4B6HVxb7024201@gitrepo.freebsd.org>
References:  <202412061731.4B6HVxb7024201@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000df8ecf0628bd7a96
Content-Type: text/plain; charset="UTF-8"

Hello,

On aarch64 I'v started to see ports failing with illegal instructions on
main-n274092-f00fe116dc9d.

So far the following ports are failing:

sysutils/dmidecode
textproc/docbook2mdoc
devel/libpci
lang/lua53

Maybe it is worth to take a check on them?

Thanks

====
./types.h:55:25: note: expanded from macro 'DWORD'
   55 | #define DWORD(x) (u32)(*(const u32 *)(x))
      |                         ^~~~~~~~~~~~~~~~
--- dmioem.o ---
#0 0x0000000004e7d2e0 PrintStackTrace
/usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:723:13
#1 0x0000000004e7b2d8 __cxx_atomic_store<CallbackAndCookie::Status>
/usr/obj/usr/src/arm64.aarch64/tmp/usr/include/c++/v1/__atomic/cxx_atomic_impl.h:304:3
#2 0x0000000004e7b2d8 store
/usr/obj/usr/src/arm64.aarch64/tmp/usr/include/c++/v1/__atomic/atomic_base.h:51:5
#3 0x0000000004e7b2d8 RunSignalHandlers
/usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:107:16
#4 0x0000000004e4b428 HandleCrash
/usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:73:5
#5 0x0000000004e4b428 CrashRecoverySignalHandler
/usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:390:51
#6 0x000000008952ae80 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0:3
cc: error: clang frontend command failed with exit code 132 (use -v to see
invocation)
FreeBSD clang version 19.1.5 (https://github.com/llvm/llvm-project.git
llvmorg-19.1.5-0-gab4b5a2db582)
Target: aarch64-unknown-freebsd15.0
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/dmioem-9137f8.c
cc: note: diagnostic msg: /tmp/dmioem-9137f8.sh
cc: note: diagnostic msg:
====


====

cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -g -W -Wall
-Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c reorg.c -o
reorg.o
--- xmalloc.o ---
Illegal instruction (core dumped)
*** [xmalloc.o] Error code 132

====

====

cc  -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_POSIX -DLUA_USE_DLOPEN
-DLUA_USE_READLINE_DL -isystem /usr/local/include -O2 -pipe  -fPIC
-fstack-protector-strong -isystem /usr/local/include  -c ldebug.c -o
ldebug.o
Illegal instruction (core dumped)
*** [ldebug.o] Error code 132=====

====

--000000000000df8ecf0628bd7a96
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>Hello,</div><div><br></div>On aarch64 I&#39;v st=
arted to see ports failing with illegal instructions on main-n274092-f00fe1=
16dc9d.<br><br></div>So far the following ports are failing:<br><br>sysutil=
s/dmidecode<br>textproc/docbook2mdoc<br>devel/libpci<br><div>lang/lua53</di=
v><div><br></div><div>Maybe it is worth to take a check on them?</div><div>=
<br></div><div>Thanks<br></div><div><br>=3D=3D=3D=3D<br>./types.h:55:25: no=
te: expanded from macro &#39;DWORD&#39;<br>=C2=A0 =C2=A055 | #define DWORD(=
x) (u32)(*(const u32 *)(x))<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~~~~~=
~~~~<br>--- dmioem.o ---<br>#0 0x0000000004e7d2e0 PrintStackTrace /usr/src/=
contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:723:13<br>#1 0x00000=
00004e7b2d8 __cxx_atomic_store&lt;CallbackAndCookie::Status&gt; /usr/obj/us=
r/src/arm64.aarch64/tmp/usr/include/c++/v1/__atomic/cxx_atomic_impl.h:304:3=
<br>#2 0x0000000004e7b2d8 store /usr/obj/usr/src/arm64.aarch64/tmp/usr/incl=
ude/c++/v1/__atomic/atomic_base.h:51:5<br>#3 0x0000000004e7b2d8 RunSignalHa=
ndlers /usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:107:16<br=
>#4 0x0000000004e4b428 HandleCrash /usr/src/contrib/llvm-project/llvm/lib/S=
upport/CrashRecoveryContext.cpp:73:5<br>#5 0x0000000004e4b428 CrashRecovery=
SignalHandler /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryC=
ontext.cpp:390:51<br>#6 0x000000008952ae80 handle_signal /usr/src/lib/libth=
r/thread/thr_sig.c:0:3<br>cc: error: clang frontend command failed with exi=
t code 132 (use -v to see invocation)<br>FreeBSD clang version 19.1.5 (<a h=
ref=3D"https://github.com/llvm/llvm-project.git">https://github.com/llvm/ll=
vm-project.git</a> llvmorg-19.1.5-0-gab4b5a2db582)<br>Target: aarch64-unkno=
wn-freebsd15.0<br>Thread model: posix<br>InstalledDir: /usr/bin<br>cc: note=
: diagnostic msg: <br>********************<br><br>PLEASE ATTACH THE FOLLOWI=
NG FILES TO THE BUG REPORT:<br>Preprocessed source(s) and associated run sc=
ript(s) are located at:<br>cc: note: diagnostic msg: /tmp/dmioem-9137f8.c<b=
r>cc: note: diagnostic msg: /tmp/dmioem-9137f8.sh<br>cc: note: diagnostic m=
sg:<br>=3D=3D=3D=3D<br><br><br>=3D=3D=3D=3D<br><br>cc =C2=A0-O2 -pipe =C2=
=A0-fstack-protector-strong -fno-strict-aliasing =C2=A0-g -W -Wall -Wstrict=
-prototypes -Wno-unused-parameter -Wwrite-strings -c reorg.c -o reorg.o<br>=
--- xmalloc.o ---<br>Illegal instruction (core dumped)<br>*** [xmalloc.o] E=
rror code 132<br><br>=3D=3D=3D=3D<br><br>=3D=3D=3D=3D<br><br>cc =C2=A0-Wall=
 -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_USE_READLI=
NE_DL -isystem /usr/local/include -O2 -pipe =C2=A0-fPIC -fstack-protector-s=
trong -isystem /usr/local/include =C2=A0-c ldebug.c -o ldebug.o<br>Illegal =
instruction (core dumped)<br>*** [ldebug.o] Error code 132=3D=3D=3D=3D=3D<b=
r><br>=3D=3D=3D=3D</div></div>

--000000000000df8ecf0628bd7a96--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UL1RAziYATN1doPG0BabRLt0Q0gDGw7_-XC3RfZZ0=a8w>