[Ecls-list] trouble building current HEAD on cygwin

Anton Vodonosov avodonosov at yandex.ru
Wed Dec 12 00:25:11 UTC 2007


Hi All.

After checkouting current CVS HEAD and 
running './configure', 'make' fails with
the following messages:

...
m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_dive_1 -DPIC dive_1.asm >tmp-dive_1.s
 gcc -fPIC -c -DHAVE_CONFIG_H -I. -I/cygdrive/c/usr/projects/ecl/ecl/src/gmp/mpn -I.. -D__GMP_WITHIN_GMP -I/cygdrive/c/usr/projects/ecl/ecl/src/gmp -DOPERATION_dive_1 -m32 -O2 -fomit-frame-pointer -mtune=k8 -march=k8 tmp-dive_1.s -DPIC -o dive_1.o
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as: BFD 2.17.50 20060817 assertion fail /netrel/src/binutils-20060817-1/bfd/coff-i386.c:576
tmp-dive_1.s: Assembler messages:
tmp-dive_1.s:112: Error: cannot represent relocation type BFD_RELOC_386_GOTPC
make[3]: *** [dive_1.lo] Error 1
make[3]: Leaving directory `/cygdrive/c/usr/projects/ecl/ecl/build/gmp/mpn'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/usr/projects/ecl/ecl/build/gmp'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/cygdrive/c/usr/projects/ecl/ecl/build/gmp'
make: *** [libeclgmp.a] Error 2
bash-3.2$

It may be related to the issue in this thread: 
http://gmplib.org/list-archives/gmp-devel/2006-April/000618.html.

I even tried to edit 'configure' as author suggests. 
After this build goes further, but anyway it fails
at some point with the same message. I'm not an expert
in the GNU build system, so I was unable to fix it and 
build ECL. 

Note, release ecl-0.9i builds successfully on my cygwin.
The cygwin was updated yesterday, so all the tools seem
to be fresh.

In particular, gcc --version
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as --version
GNU assembler 2.17.50 20060817
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i686-pc-cygwin'.

Best regards,
-Anton




More information about the ecl-devel mailing list