linux-mips-fnet
[Top] [All Lists]

Segfaults while linking

To: linux-mips@fnet.fr
Subject: Segfaults while linking
From: Karsten Merker <karsten@excalibur.cologne.de>
Date: Sun, 20 Jun 1999 18:38:52 +0200
Mail-followup-to: linux-mips@fnet.fr
Hallo,

I have a strange problem on my Maxine and would like to ask if somebody
could try to reproduce this. When compiling the inn-2.2-package from RH60,
I always get the same error:

----------------------------------------------------------------------
cd innd ; make  DESTDIR= all ; cd ..
make[2]: Entering directory `/data/usr/src/redhat/BUILD/inn-2.2/innd'
gcc -o innd art.o cc.o chan.o his.o icd.o innd.o lc.o nc.o newsfeeds.o\
ng.o perl.o proc.o rc.o site.o status.o tcl.o timer.o wip.o\
../storage/libstorage.a ../lib/libinn.a ../lib/perl.o\
-L/usr/lib/perl5/mipsel-linux/5.00404/CORE -rdynamic -L/usr/local/lib\
/usr/lib/perl5/mipsel-linux/5.00404/auto/DynaLoader/DynaLoader.a\
-L/usr/lib/perl5/mipsel-linux/5.00404/CORE -lperl -lgdbm -ldb -ldl -lm\
-lc -lposix -lbsd -lnsl -lcrypt -lresolv -lnsl
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make[2]: *** [innd] Error 1
----------------------------------------------------------------------

A similar effect occurs when trying to compile vim-5.3-7.src.rpm:

----------------------------------------------------------------------
gcc -rdynamic -o vim buffer.o charset.o digraph.o edit.o eval.o ex_cmds.o\
ex_docmd.o ex_getln.o fileio.o getchar.o if_cscope.o main.o mark.o\
memfile.o memline.o message.o misc1.o misc2.o multbyte.o normal.o ops.o\
option.o os_unix.o pathdef.o quickfix.o regexp.o screen.o search.o\
syntax.o tag.o term.o ui.o undo.o window.o gui.o gui_athena.o gui_x11.o\
pty.o gui_at_sb.o gui_at_fs.o if_perl.o if_perlsfio.o if_python.o\
py_config.o version.o -L. -L/usr/X11R6/lib -lXaw -lXmu -lXext -lXt -lSM\
-lICE -lXpm -lX11 -lncurses -rdynamic -L/usr/local/lib\
/usr/lib/perl5/mipsel-linux/5.00404/auto/DynaLoader/DynaLoader.a\
-L/usr/lib/perl5/mipsel-linux/5.00404/CORE -lperl -lnsl -lgdbm -ldb -ldl\
-lm -lc -lposix -lcrypt /usr/lib/python1.5/config/libpython1.5.a -lieee\
-ldl -lm
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
----------------------------------------------------------------------

Involved packages are:
make-3.77-6
egcs-1.0.2-9
perl-5.004-6
glibc-2.0.7-20
glibc-devel-2.0.7-20
gdbm-1.7.3-19
python-1.5.1-4

The system is based on the declinuxroot-990128.tgz; egcs-1.0.2-9,
glibc-devel-2.0.7-20 and perl-5.004-6 are from ftp.linux.sgi.com and
make-3.77-6, gdbm-1.7.3-19 and python-1.5.1-4 are RH60 packages which I
have compiled myself (they are on bolug.uni-bonn.de). The python-package
required some small changes before compiling on a glibc20 system, but that
should not cause the linker to segfault, in particular as python is not
used while building inn. I have tried replacing perl-5.004-6 by
perl-5.00503 from RH6 but that did not change the behaviour.

Any ideas?

Greetings,
Karsten
-- 
#include <standard_disclaimer>
Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung
oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder
Meinungsforschung.

<Prev in Thread] Current Thread [Next in Thread>