When running the regression tests on OpenBSD 6.6 on PowerPC, one test fails: mm-pnvi-ae-udi-pointer_copy_user_ctrlflow_bytewise for stm8-large.
I see a SIGABRT. gdb is unable to produce a useful stacktrace:
Starting program: /home/philipp/sdcc/src/sdcc --fverbose-asm -DNO_VARARGS --nostdinc -I../.. -mstm8 --model-large --less-pedantic --out-fmt-ihx -I./fwk/include -I./tests -I../../device/include -c cases/tst_mm-pnvi-ae-udi-pointer_copy_user_ctrlflow_bytewise.c -o gen/stm8-large/tst_mm-pnvi-ae-udi-pointer_copy_user_ctrlflow_bytewise.rel
Breakpoint 2 at 0xb687e6a8: file /usr/src/lib/libc/stdlib/abort.c, line 39.
Pending breakpoint "_libc_abort" resolved
terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
Breakpoint 2, 0xb687e6a8 in *_libc_abort () at /usr/src/lib/libc/stdlib/abort.c:39
39 /usr/src/lib/libc/stdlib/abort.c: No such file or directory.
in /usr/src/lib/libc/stdlib/abort.c
(gdb) bt
#0 0xb687e6a8 in *_libc_abort () at /usr/src/lib/libc/stdlib/abort.c:39
Die: DW_TAG_unspecified_type (abbrev = 4, offset = 259325)
has children: FALSE
attributes:
DW_AT_name (DW_FORM_strp) string: "decltype(nullptr)"
Dwarf Error: Cannot find type of die [in module /usr/lib/libc++abi.so.1.0]