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: ccoutant at gmail dot com
Subject: [Bug gold/23258] Linker cored dump at process_one_opcode
Date: Fri, 13 Jul 2018 19:37:14 +0000

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

--- Comment #8 from Cary Coutant <ccoutant at gmail dot com> ---
I was just using g++ as the linker driver, not to compile the objects.
I linked with the objects you provided, which had been compiled by
clang. Linking just those objects by themselves produces no warnings
at all, since the "tempnam" warning comes from libc.

On Fri, Jul 13, 2018 at 12:05 PM, lpham54321 at gmail dot com
<address@hidden> wrote:
> 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.
> _______________________________________________
> bug-binutils mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-binutils

-- 
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]