bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/23258] Linker cored dump at process_one_opcode


From: lpham54321 at gmail dot com
Subject: [Bug gold/23258] Linker cored dump at process_one_opcode
Date: Fri, 13 Jul 2018 19:05:17 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23258

--- Comment #7 from Lan <lpham54321 at gmail dot com> ---
It's the loader that trapped, but it was clang6 that was generating the object
file.

Can you try just invoking the loader directly against the static archive
libSTdb2gse.a to see if you can repro the trap?

/usr/bin/ld --hash-style=gnu --no-add-needed --eh-frame-hdr -m elf_x86_64
-shared -o db2gse
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbeginS.o -L.
-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5
-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64
-L/usr/local/bin/../lib64 -L/lib/../lib64 -L/usr/lib/../lib64
-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -L/usr/local/bin/../lib
-L/lib -L/usr/lib -soname db2gse --whole-archive libSTdb2gse.a
--no-whole-archive --enable-new-dtags --enable-new-dtags -lpthread -lm -lstdc++
-lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtendS.o
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o

It's likely that clang 6 generated something that is incompatible with the
loader.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]