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

[-- Attachment #1 --]
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=====

====

[-- Attachment #2 --]
<div dir="ltr"><div><div>Hello,</div><div><br></div>On aarch64 I&#39;v started to see ports failing with illegal instructions on main-n274092-f00fe116dc9d.<br><br></div>So far the following ports are failing:<br><br>sysutils/dmidecode<br>textproc/docbook2mdoc<br>devel/libpci<br><div>lang/lua53</div><div><br></div><div>Maybe it is worth to take a check on them?</div><div><br></div><div>Thanks<br></div><div><br>====<br>./types.h:55:25: note: expanded from macro &#39;DWORD&#39;<br>   55 | #define DWORD(x) (u32)(*(const u32 *)(x))<br>      |                         ^~~~~~~~~~~~~~~~<br>--- dmioem.o ---<br>#0 0x0000000004e7d2e0 PrintStackTrace /usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:723:13<br>#1 0x0000000004e7b2d8 __cxx_atomic_store&lt;CallbackAndCookie::Status&gt; /usr/obj/usr/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/include/c++/v1/__atomic/atomic_base.h:51:5<br>#3 0x0000000004e7b2d8 RunSignalHandlers /usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:107:16<br>#4 0x0000000004e4b428 HandleCrash /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:73:5<br>#5 0x0000000004e4b428 CrashRecoverySignalHandler /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:390:51<br>#6 0x000000008952ae80 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0:3<br>cc: error: clang frontend command failed with exit code 132 (use -v to see invocation)<br>FreeBSD clang version 19.1.5 (<a href="https://github.com/llvm/llvm-project.git">https://github.com/llvm/llvm-project.git</a>; llvmorg-19.1.5-0-gab4b5a2db582)<br>Target: aarch64-unknown-freebsd15.0<br>Thread model: posix<br>InstalledDir: /usr/bin<br>cc: note: diagnostic msg: <br>********************<br><br>PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:<br>Preprocessed source(s) and associated run script(s) are located at:<br>cc: note: diagnostic msg: /tmp/dmioem-9137f8.c<br>cc: note: diagnostic msg: /tmp/dmioem-9137f8.sh<br>cc: note: diagnostic msg:<br>====<br><br><br>====<br><br>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<br>--- xmalloc.o ---<br>Illegal instruction (core dumped)<br>*** [xmalloc.o] Error code 132<br><br>====<br><br>====<br><br>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<br>Illegal instruction (core dumped)<br>*** [ldebug.o] Error code 132=====<br><br>====</div></div>

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