https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278868
Bug ID: 278868 Summary: [regression] llvm18/clang18 produces crashing 32 bit code with -malign-double Product: Base System Version: 15.0-CURRENT Hardware: i386 OS: Any Status: New Keywords: regression Severity: Affects Some People Priority: --- Component: bin Assignee: b...@freebsd.org Reporter: eu...@freebsd.org CC: da...@freebsd.org Attachment #250544 text/plain mime type: Created attachment 250544 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=250544&action=edit sample code 32 bit C++ code compiles and works but crashes with SIGSEGV at exit if compiled with -malign-double. Compile attached show.cc: $ c++ -malign-double -o show show.cc Run it: $ ktrace -i ./show /etc/motd; echo $? FreeBSD 15.0-CURRENT (GENERIC) #0 main-n269695-78101d437a92: Thu Apr 25 03:38:32 UTC 2024 Welcome to FreeBSD! Release Notes, Errata: https://www.FreeBSD.org/releases/ Security Advisories: https://www.FreeBSD.org/security/ FreeBSD Handbook: https://www.FreeBSD.org/handbook/ FreeBSD FAQ: https://www.FreeBSD.org/faq/ Questions List: https://www.FreeBSD.org/lists/questions/ FreeBSD Forums: https://forums.FreeBSD.org/ Documents installed with the system are in the /usr/local/share/doc/freebsd/ directory, or can be installed later with: pkg install en-freebsd-doc For other languages, replace "en" with a language code like de or fr. Show the version of FreeBSD installed: freebsd-version ; uname -a Please include that output and any error messages when posting questions. Introduction to manual pages: man man FreeBSD directory layout: man hier To change this login announcement, see motd(5). Segmentation fault (core dumped) 139 -- You are receiving this mail because: You are the assignee for the bug.