bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/23980] powerpc64 ld segfault when linking libc on FreeBSD


From: amodra at gmail dot com
Subject: [Bug ld/23980] powerpc64 ld segfault when linking libc on FreeBSD
Date: Thu, 13 Dec 2018 22:27:03 +0000

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
> #1  0x0000000000d5a1f8 in ppc64_elf_hide_symbol (info=0x119d208 <link_info>,
> h=0x804bd64e0, force_local=1) at elf64-ppc.c:6243

"p *(struct ppc_link_hash_entry *) h" might be useful here, if you can recreate
the problem.

> #2  0x0000000000bece39 in elf_link_add_object_symbols (abfd=0x8047d7a80,
> info=0x119d208 <link_info>) at elflink.c:5020

Also, "p *abfd" here.  And "p abfd->filename" then (outside of gdb) report the
output of "file" for this file.  There is some possibility you might be
attempting to link in a non-ppc64 file somehow.

Another useful debug exercise would be to use "watch" on the h->oh field of the
symbol involved here to see where it is being set to -1.

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