[Bug 263870] clang-13 crashes on the port cad/horizon-eda on aarch64

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 08 May 2022 19:18:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263870

            Bug ID: 263870
           Summary: clang-13 crashes on the port cad/horizon-eda on
                    aarch64
           Product: Base System
           Version: CURRENT
          Hardware: Any
               URL: http://ampere2.nyi.freebsd.org/data/main-arm64-default
                    /p7c6df6757490_s904c148f1c/logs/horizon-eda-2.3.0.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

Assertion failed: (IRFuncTy == TypeFromVal), function EmitCall, file
/usr/local/poudriere/jails/main-arm64/usr/src/contrib/llvm-project/clang/lib/CodeGen/CGCall.cpp,
line 4648.
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the
crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: c++ -c -Isrc -isystem 3rd_party -Ibuild/gen -O2
-pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing
-isystem /usr/local/include -D_USE_MATH_DEFINES -DGLM_ENABLE_EXPERIMENTAL
-DJSON_USE_IMPLICIT_CONVERSIONS=0 -I/usr/local/include
-I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0
-I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6
-I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4
-I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0
-I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4
-I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4
-I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0
-I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo
-I/usr/local/include/pixman-1 -I/usr/local/include/freetype2
-I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local
 /include/harfbuzz -I/usr/local/include/fribidi -I/usr/local/include/gtk-3.0
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0
-I/usr/local/include/libepoll-shim -I/usr/local/include/at-spi2-atk/2.0
-I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include
-I/usr/local/include/at-spi-2.0 -I/usr/local/include/gtk-3.0/unix-print
-I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include
-I/usr/local/include/librsvg-2.0 -D_THREAD_SAFE -pthread
-I/usr/local/include/pgm-5.2 -MP -MD -pthread -Wall -Wshadow -std=c++17
-D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR src/core/tools/tool_move.cpp -o
build/obj/src/core/tools/tool_move.o
1.      <eof> parser at end of file
2.      src/core/tools/tool_move.cpp:21:11: LLVM IR generation of declaration
'horizon'
3.      src/core/tools/tool_move.cpp:23:11: Generating code for declaration
'horizon::ToolMove::ToolMove'
#0 0x000000000489ce4c (/usr/bin/c+++0x489ce4c)
#1 0x000000000489b14c (/usr/bin/c+++0x489b14c)
#2 0x000000000483ad44 (/usr/bin/c+++0x483ad44)
#3 0x000000000483af2c (/usr/bin/c+++0x483af2c)
#4 0x000000008b422fc8 (/lib/libthr.so.3+0x29fc8)
c++: error: clang frontend command failed with exit code 134 (use -v to see
invocation)

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