bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/360] internal error, aborting at /netrel/src/binutils-20040725-2


From: dominik dot strasser at infineon dot com
Subject: [Bug ld/360] internal error, aborting at /netrel/src/binutils-20040725-2/bfd/co
Date: 3 Sep 2004 14:03:40 -0000

internal error, aborting at /netrel/src/binutils-20040725-2/bfd/coffcode.h line 
861 in handle_COMDAT
X-Bugzilla-Reason: CC


------- Additional Comments From dominik dot strasser at infineon dot com  
2004-09-03 14:03 -------
Subject: Re:  internal error, aborting at /netrel/src/binutils-20040
 725-2/bfd/co

nickc at redhat dot com wrote:
> internal error, aborting at /netrel/src/binutils-20040725-2/bfd/coffcode.h 
> line 861 in handle_COMDAT
> X-Bugzilla-Reason: Reporter
> 
> 
> ------- Additional Comments From nickc at redhat dot com  2004-09-03 10:58 
> -------
> Subject: Re:  New: internal error,    aborting at 
> /netrel/src/binutils-20040725-2/bfd/co
> 
> Hi Dominik,
Hi Nick,
this seems to work - ld doesn't crash any more.

Thanks.

Now I only have to figure out how to link MSVC libs with gcc on cygwin.

Regards

Dominik

> 
> 
>>internal error, aborting at /netrel/src/binutils-20040725-2/bfd/coffcode.h 
>>line 861 in handle_COMDAT
>>X-Bugzilla-Reason: CC
> 
> 
> Please try the attached patch and let me know if it solves the problem 
> for you.
> 
> Cheers
>    Nick
> 
> 
> Index: coffcode.h
> ===================================================================
> RCS file: /cvs/src/src/bfd/coffcode.h,v
> retrieving revision 1.110
> diff -c -3 -p -r1.110 coffcode.h
> *** coffcode.h        13 Aug 2004 03:15:56 -0000      1.110
> --- coffcode.h        3 Sep 2004 10:55:38 -0000
> *************** handle_COMDAT (abfd, sec_flags, hdr, nam
> *** 829,836 ****
>               /* The first time we've seen the symbol.  */
>               union internal_auxent aux;
>   
> -             seen_state = 1;
> - 
>               /* If it isn't the stuff we're expecting, die;
>                  The MS documentation is vague, but it
>                  appears that the second entry serves BOTH
> --- 829,834 ----
> *************** handle_COMDAT (abfd, sec_flags, hdr, nam
> *** 858,864 ****
>                  function).  See comment above for more.  */
>   
>               if (strcmp (name, symname) != 0)
> !               abort ();
>   
>               /* This is the section symbol.  */
>               bfd_coff_swap_aux_in (abfd, (PTR) (esym + bfd_coff_symesz 
> (abfd)),
> --- 856,865 ----
>                  function).  See comment above for more.  */
>   
>               if (strcmp (name, symname) != 0)
> !               _bfd_error_handler (_("%B: warning: COMDAT symbol '%s' does 
> not match section name '%s'"),
> !                                   abfd, symname, name);
> ! 
> !             seen_state = 1;
>   
>               /* This is the section symbol.  */
>               bfd_coff_swap_aux_in (abfd, (PTR) (esym + bfd_coff_symesz 
> (abfd)),
> 
> 




-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=360

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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