"ld: bfd assertion fail" making eda.so on Linux (Redhat 6.0)

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Fri, 9 Jul 1999 18:05:28 +0200


I've (remote) access to a new Linux system which has some flavor of Rehat
installed.

Compiling R-0.64.2 fails -- at the end when  eda.so should be made.

    make[4]: Entering directory `/u/u2/maechler/Linux/R/R-0.64.2/src/library/eda/src'
    gcc -g -O2 -fpic -I../../../../include -c line.c -o line.o
    gcc -g -O2 -fpic -I../../../../include -c smooth.c -o smooth.o
    ld -shared -o eda.so line.o smooth.o
    ld: bfd assertion fail elf32-i386.c:621
    ld: bfd assertion fail elf32-i386.c:1414
    make[4]: *** [eda.so] Segmentation fault
    make[4]: *** Deleting file `eda.so'
    make[4]: Leaving directory `/u/u2/maechler/Linux/R/R-0.64.2/src/library/eda/src'
    <.....>
    make: *** [R] Error 1

---
Interestingly, "mva" {instead of "eda"} works fine...

Further, the number of
	 "ld: bfd assertion fail ..." 
lines is not constant.  Above we had 2 of them;
but I have also seen 5 :
    ld -shared -o eda.so line.o smooth.o
    ld: bfd assertion fail elf32-i386.c:621
    ld: bfd assertion fail elf32-i386.c:621
    ld: bfd assertion fail elf32-i386.c:621
    ld: bfd assertion fail elf32-i386.c:621
    ld: bfd assertion fail elf32-i386.c:1414
or three....

-----------

mkellers{maechler}425% gcc --version
egcs-2.91.66
mkellers{maechler}426% ld --version
GNU ld 2.9.1
Copyright 1997 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.
  Supported emulations:
   elf_i386
   i386linux

------------------

I'm guessing that the  gcc/ld/library combination hasn't been 
installed/configured properly... 
???

Martin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._