bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Bug in ld 2.11.90.0.29


From: Alan Modra
Subject: Re: Bug in ld 2.11.90.0.29
Date: Sat, 8 Sep 2001 10:36:21 +0930
User-agent: Mutt/1.3.17i

On Fri, Sep 07, 2001 at 11:11:55PM +0200, Allan Jensen wrote:
> In <address@hidden>, Alan Modra wrote:
> 
> > On Wed, Sep 05, 2001 at 12:18:14PM -0700, Russ wrote:
> 
> > Can you fire up "gdb /usr/bin/ld", "set args ..."
> > as for the failing run, put a breakpoint on line 1750, then report the
> > results of "p *h" ? "p input_section->name" and "p
> > input_section->owner->filename" might be useful too.
> 
> Hello,
> 
> I've got the same problem when relinking some of the Oracle executables.
> The output from gdb is below:
> 
> Starting program: /root/binutils-2.11.90.0.31/ld/ld-new -o ott ...
> <lots of args deleted>
> 
> Breakpoint 1, elf_i386_relocate_section (output_bfd=0x80d76c0, 
> info=0x80cb120, 
>     input_bfd=0x811cd08, input_section=0x814bbf8, contents=0x85f6f48 "", 
>     relocs=0x814c1e0, local_syms=0x85ff460, local_sections=0x8512000)
>     at elf32-i386.c:1752
> 1752                      sreloc = bfd_get_section_by_name (dynobj, name);
> (gdb) p *h
> $1 = {root = {root = {next = 0x81b9f3c, string = 0x812dd84 "kpuadef", 
>       hash = 117290136}, type = bfd_link_hash_defined, next = 0x0, u = {
>       undef = {abfd = 0x18}, def = {value = 24, section = 0x814baa8}, i = {
>         link = 0x18, warning = 0x814baa8 "sÂș\024\b!\001"}, c = {size = 24, 
>         p = 0x814baa8}}}, indx = -1, size = 55, dynindx = 101, 
>   dynstr_index = 1551, weakdef = 0x0, got = {refcount = -1, 
>     offset = 4294967295}, plt = {refcount = -1, offset = 4294967295}, 
>   linker_section_pointer = 0x0, verinfo = {verdef = 0x0, vertree = 0x0}, 
>   vtable_entries_size = 0, vtable_entries_used = 0x0, vtable_parent = 0x0, 
>   type = 2 '\002', other = 0 '\000', elf_hash_value = 41646790, 
>   elf_link_hash_flags = 10}
> (gdb) p input_section->name
> $2 = 0x814ba83 ".data"
> (gdb) p input_section->owner->filename
> $3 = 0xbffff94d "/home/oracle/rdbms/lib/kpuadef.o"

Thanks.  I know what the problem is now.  :-)

> I also get an (perhaps related?) error when relinking sqlplus:

Almost certainly a symptom of the same problem.  Expect a fix shortly.

Alan Modra




reply via email to

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