Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Tony Hammitt <thammitt@kc.rr.com>
Subject: Re: missing items in GNU and COMPAQ libraries ?
Date: 2000/01/27	[thread overview]
Message-ID: <38905DE6.A53EAA9A@kc.rr.com> (raw)
In-Reply-To: 86pi9e$prr$1@ail.sri.ucl.ac.be

Wow, great bug report...

Usually gcc failing with signal 11 is due to memory error problems.
Too bad Linux doesn't log soft memory errors (yet).

If the memory checks out fine, I don't have anything else to suggest,
perhaps someone else will have a better answer.

Regards,

Tony


Xavier GALLEZ wrote:
> 
> We are encountering problems when compiling our CFD code with either gcc or
> Compaq ccc on a Microway-installed RedHat 6.0 system (164LX). To my
> understanding, some items (variables, functions) are missing in the system
> libraries. Although the compilation stage itself runs fine, we get the
> following error messages when linking shared or non-shared versions of our
> code with either compiler:
> 
> gcc :
> collect2: ld terminated with signal 11 [Segmentation fault]
> 
> gcc -static :
> collect2: ld terminated with signal 11 [Segmentation fault]
> /home/kermadec.users/gallez/NumLab/lib/libNumLabDec.a(managerMemory.)(.lita+
> 0x18): undefined reference to `_iob'
> 
> ccc :
> collect2: ld terminated with signal 11 [Segmentation fault]
> 
> ccc -non_shared :
> /home/kermadec.users/gallez/NumLab/lib/libNumLabDec.a(managerMemory.)(.lita+
> 0x10): undefined reference to `fputs'
> /home/kermadec.users/gallez/NumLab/lib/libNumLabDec.a(managerMemory.)(.lita+
> 0x18): undefined reference to `_iob'
> 
> We first compile all our source files but the main program and build a
> library (libNumLabDec.a), then compile the main program and try to link it
> against libNumLabDec.a. Interestingly, Compaq ccc introduces an additional
> depency (fputs); but in any case, the variable '_iob' is missing.
> 
> There is a linker in /usr/bin/ which comes from a binutils package:
> 
> deepflow:>rpm -qf /usr/bin/ld
> binutils-2.9.1.0.23-4
> deepflow:>
> 
> but neither compilers seem to make use of it:
> 
> gcc:
> 
> deepflow:gallez> gcc -v -o NumLab constriction.o ../lib/libNumLabDec.a
> Reading specs from /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>  /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66/collect2 -m
> elf64alpha -O1 -dynamic-linker /lib/ld-linux.so.2 -o bvr /usr/lib/crt1.o
> /usr/lib/crti.o
> /usr/lib/crtbegin.o -L/usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66 -L/us
> r/alpha-redhat-linux/lib constriction.o
> /home/kermadec.users/gallez/NumLab/lib/libNumLabDec.a -lgcc -lc -lgcc
> /usr/lib/crtend.o /usr/lib/crtn.o
> 
> ccc:
> 
> deepflow:gallez> ccc -v -o bvr constriction.o ../lib/libNumLabDec.a -lm
> comp.config
> ontains:  -SD/usr/lib/compaq/ccc-6.2.9.002-2/alpha-linux/include -SD/usr/loc
> al/include -SD/usr/alpha-redhat-linux/include -SD/usr/lib/gcc-lib/alpha-redh
> at-linux/egcs-2.91.66/include  | -SysIncDir
> /usr/lib/compaq/ccc-6.2.9.002-2/alpha-linux/include -SysIncDir
> /usr/local/include   -SysIncDir /usr/alpha-redhat-linux/include -SysIncDir
> /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66/include -L/usr/lib/compaq/c
> cc-6.2.9.002-2/alpha-linux/lib -L/usr/local/lib   -L/usr/alpha-redhat-linux/
> lib -L/usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66
> 
> /usr/lib/compaq/ccc-6.2.9.002-2/alpha-linux/bin/ld -o bvr -O1 -m
> elf64alpha -G
> 8 -L/usr/lib/compaq/ccc-6.2.9.002-2/alpha-linux/lib -L/usr/local/lib -L/usr/
> alpha-redhat-linux/lib -L/usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66 -d
> ynamic-linker /lib/ld-linux.so.2
> /usr/lib/compaq/ccc-6.2.9.002-2/alpha-linux/bin/crt1.o
> /usr/lib/compaq/ccc-6.2.9.002-2/alpha-linux/bin/crti.o
> /usr/lib/compaq/ccc-6.2.9.002-2/alpha-linux/bin/crtbegin.o constriction.o
> /home/kermadec.users/gallez/NumLab/lib/libNumLabDec.a -lcpml -lm -lgcc -lc -
> lgcc -lots /usr/lib/compaq/ccc-6.2.9.002-2/alpha-linux/bin/crtend.o
> /usr/lib/compaq/ccc-6.2.9.002-2/alpha-linux/bin/crtn.o
> collect2: ld terminated with signal 11 [Segmentation fault]
> deepflow:gallez>
> 
> Packages from Compaq have been installed in this order:
> 
> libots-2.2.7-2.alpha.rpm
> cpml_ev5-5.0.0-1.alpha.rpm
> cfalrtl_rh60-1.0-2.alpha.rpm
> cfal-1.0-7.alpha.rpm
> cxml_ev5-3.6.0-2.alpha.rpm
> ccc-6.2.9.002-2.alpha.rpm
> 
> Is there anything I should install on our system ? Concerning the 'fputs'
> problem, would it be a Compaq specific function that they forgot to include
> in libots ?
> 
> Any hint would be very much appreciated.
> 
> Regards,
> 
>     Xavier
> 
> =============================================================
> Xavier Gallez
> http://www.meca.ucl.ac.be/~gallez
> 
> Centre for Systems Engineering and Applied Mechanics (CESAME)
> Universite Catholique de Louvain
> Batiment Euler, Av. Georges Lemaitre, 4-6
> B-1348 Louvain-la-Neuve, BELGIUM
> 
> Tel: + 32 - 10 - 47 2365
> Fax: + 32 - 10 - 47 2180
> E-mail: gallez@mema.ucl.ac.be
> =============================================================



      reply	other threads:[~2000-01-27  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-27  5:00 missing items in GNU and COMPAQ libraries ? Xavier GALLEZ
2000-01-27  5:00 ` Tony Hammitt [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox