Re: git: 71ac745d76c3 - main - Merge llvm-project release/19.x llvmorg-19.1.5-0-gab4b5a2db582

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sun, 08 Dec 2024 17:06:43 UTC
Please create a PR, with the files:

/tmp/dmioem-9137f8.c
/tmp/dmioem-9137f8.sh

attached.

-Dimitry

> On 8 Dec 2024, at 08:49, Nuno Teixeira <eduardo@freebsd.org> wrote:
> 
> (...)
> 
> Full logs: https://people.freebsd.org/~eduardo/logs/main-n274092-f00fe116dc9d/
> 
> Nuno Teixeira <eduardo@freebsd.org> escreveu (domingo, 8/12/2024 à(s) 07:48):
> 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=====
> 
> ====
> 
> 
> -- 
> Nuno Teixeira
> FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org