On Mon, 2010-01-18 at 16:26 +0100, David Sveningsson wrote:
> The callstack I get is similar but not quite the same:
> 
> (gdb) bt
> #0  0x00000000004442bb in coff_write_relocs (abfd=0x196ff20) at 
> /home/ext/temp/cegcc/src/binutils/bfd/coffcode.h:2651
> #1  coff_write_object_contents (abfd=0x196ff20) at 
> /home/ext/temp/cegcc/src/binutils/bfd/coffcode.h:4131
> #2  0x000000000042fb57 in bfd_make_readable (abfd=0x196ff20) at 
> /home/ext/temp/cegcc/src/binutils/bfd/opncls.c:865
> #3  0x0000000000424510 in make_singleton_name_imp (rel=0x1db62a0, 
> s=<value optimized out>, addend=0)
>      at /home/ext/temp/cegcc/src/binutils/ld/pe-dll.c:2253
> #4  pe_create_import_fixup (rel=0x1db62a0, s=<value optimized out>, 
> addend=0) at /home/ext/temp/cegcc/src/binutils/ld/pe-dll.c:2570
> #5  0x000000000041dda2 in make_import_fixup (rel=0x1db62a0, s=0x19810c0) 
> at earm_wince_pe.c:957
> #6  0x00000000004203e7 in pe_walk_relocs_of_symbol (info=<value 
> optimized out>, name=0x1981ea0 "av_pix_fmt_descriptors",
>      cb=0x41dd20 <make_import_fixup>) at 
> /home/ext/temp/cegcc/src/binutils/ld/pe-dll.c:1262
> #7  0x000000000041d1eb in pe_find_data_imports () at earm_wince_pe.c:1027
> #8  0x000000000041d3ba in gld_arm_wince_pe_after_open () at 
> earm_wince_pe.c:1124
> #9  0x0000000000410e48 in lang_process () at 
> /home/ext/temp/cegcc/src/binutils/ld/ldlang.c:6293
> #10 0x0000000000415907 in main (argc=83, argv=0x7fff39dc8b58) at 
> /home/ext/temp/cegcc/src/binutils/ld/ldmain.c:455
> 
> 
> (gdb) frame 0
> #0  0x00000000004442bb in coff_write_relocs (abfd=0x196ff20) at 
> /home/ext/temp/cegcc/src/binutils/bfd/coffcode.h:2651
> 2651              if (q->sym_ptr_ptr[0]->the_bfd != abfd)
> 
> 
> 
> (gdb) p q->sym_ptr_ptr[0]
> $5 = (struct bfd_symbol *) 0x0

FYI I've had little time lately but I'm continuing to pursue this issue.

I've created a small test program that got ld to crash in a different
way, and solved that yesterday. Unfortunately, that fix (it's in SVN)
didn't solve the original program.

I'll try to get at this with a better test program :-)

If anyone has any, please don't hesitate to send it.

        Danny

-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to