delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/15/14:29:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199906151721.MAA09768@mercury.xraylith.wisc.edu>
To: tjoen AT dds DOT nl
cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: as.exe: bfd assertion fail...
In-Reply-To: Your message of "Tue, 15 Jun 1999 17:33:57 +0200."
<199906151533 DOT RAA17669 AT localhost DOT localdomain>
Date: Tue, 15 Jun 1999 12:21:48 -0500
From: Mumit Khan <khan AT xraylith DOT wisc DOT EDU>

tjoen AT dds DOT nl writes:
> 
> Q: How can I solve this problem?
> 
> NT4 SP4 cygwin b20.1 (gcc egcs-2.91.57=egcs-1.1)
> 
> Attempting to build ACE (corba) for cygwin.
> 
> The second invocation of g++ (parameters sorted apphabetically):
> 
> g++ -c
>     -DACE_HAS_EXCEPTIONS
>     -fPIC 
[ ... ]
> 
> gave errors like this:
> 
> as.exe: bfd assertion fail 
>    /home/noer/src/b20/comp-tools/devo/bfd/coff-i386.c:479
> {standard input}: Assembler messages:
> {standard input}:2391: 
>     Error: Cannot represent relocation type BFD_RELOC_386_GOTPC

This was a bug caused by -fPIC, which is unnecessary on x86-win32 where 
all code is position independent. This has been fixed for a while now
(I released egcs-1.1.2 Cygwin/Mingw binaries March 17), so I suggest 
you upgrade your compiler. Quite a few other problems found in egcs-1.1 
are fixed 1.1.2 as well.
  
  http://www.xraylith.wisc.edu/~khan/software/gnu-win32/

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019