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

--- Comment #2 from Lan <lpham54321 at gmail dot com> ---
Created attachment 11107
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11107&action=edit
object files and link command to reproduce the issue

Simply run the lnk.sh command in the package should reproduce the core dump. 
Let me know if there is anything missing that you need.
Here is the sample output from the lnk.sh command:
413a2fed09f8:/home/localhome/bug_23258 >./lnk.sh
clang version 6.0.0 (tags/RELEASE_600/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.2
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.5
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.5
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
 "/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 libGseServices.a
--no-whole-archive --enable-new-dtags --enable-new-dtags -lpthread -lm -ldb2
-ldb2g11n -ldb2locale -ldb2osse -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
clang-6.0: error: unable to execute command: Segmentation fault (core dumped)
clang-6.0: error: linker command failed due to signal (use -v to see
invocation)
413a2fed09f8:/home/localhome/bug_23258 >

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to