Closed
Description
Reproducer:
git clone https://github.com/ianlancetaylor/libbacktrace.git
cd libbacktrace
./configure
make check -j16
Note I used GCC 12.
then if I use mold
for one of the tests:
$ gcc -funwind-tables -frandom-seed=ctesta_alloc -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -fuse-ld=mold -Wl,--compress-debug-sections=zlib-gabi -o ctesta_alloc ctesta_alloc-btest.o ctesta_alloc-testlib.o ./.libs/libbacktrace_alloc.a -fuse-ld=mold
$ ./ctesta_alloc
test1: [0]: missing file name or function name
FAIL: backtrace_full noinline
test2: [0]: missing file name or function name
FAIL: backtrace_full inline
test3: [0]: missing file name or function name
FAIL: backtrace_simple noinline
test4: [0]: missing file name or function name
FAIL: backtrace_simple inline
PASS: backtrace_syminfo variable
It's related to --compress-debug-sections=zlib-gabi
as --compress-debug-sections=none
is fine even with mold.
Metadata
Metadata
Assignees
Labels
No labels