This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: as.exe: bfd assertion fail...
- To: tjoen@dds.nl
- Subject: Re: as.exe: bfd assertion fail...
- From: Mumit Khan <khan@xraylith.wisc.EDU>
- Date: Tue, 15 Jun 1999 12:21:48 -0500
- cc: cygwin@sourceware.cygnus.com
tjoen@dds.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@sourceware.cygnus.com