https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88246

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
I see segfault in driver in:

Thread 2.1 "collect2" received signal SIGABRT, Aborted.
[Switching to process 11687]
0x000003fffbd4192e in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x000003fffbd4192e in raise () from /lib64/libc.so.6
#1  0x000003fffbd2391c in abort () from /lib64/libc.so.6
#2  0x000003fffbd85d00 in __libc_message () from /lib64/libc.so.6
#3  0x000003fffbd8cbe0 in malloc_printerr () from /lib64/libc.so.6
#4  0x000003fffbd9131c in free_check () from /lib64/libc.so.6
#5  0x000000000101005c in find_a_file (pprefix=pprefix@entry=0x10ca7e0 <cpath>,
name=<optimized out>, name@entry=0x1089f78 "real-ld", mode=mode@entry=1) at
../../gcc/file-find.c:104
#6  0x000000000100514a in main (argc=<optimized out>, argv=<optimized out>) at
../../gcc/collect2.c:1141
(gdb) frame 5
#5  0x000000000101005c in find_a_file (pprefix=pprefix@entry=0x10ca7e0 <cpath>,
name=<optimized out>, name@entry=0x1089f78 "real-ld", mode=mode@entry=1) at
../../gcc/file-find.c:104
104       free (temp);
xgcc: fatal error: Killed signal terminated program collect2

It would be handy to run that in valgrind (which I don't have access to).
Can you Andreas please do that?

Reply via email to