This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: problem with gcc 2.95.1 link on linux NFS (NFS/gcc/binutils bug?)
- To: help-gcc at gnu dot org
- Subject: Re: problem with gcc 2.95.1 link on linux NFS (NFS/gcc/binutils bug?)
- From: "Alain Coetmeur" <alain dot coetmeur at icdc dot caissedesdepots dot fr>
- Date: Tue, 19 Oct 1999 19:05:21 +0200
- Newsgroups: comp.os.linux.development,comp.os.linux.development.apps,gnu.gcc.help
- Organization: Another Netscape Collabra Server User
- References: <7u1m1t$kmu1@puligny.idt.cdc.fr> <7u2ohc$8fe$1@nnrp1.deja.com> <7u4qi0$kn31@puligny.idt.cdc.fr> <7uf0i6$kmu3@puligny.idt.cdc.fr>
- Xref: wodc7nx0 comp.os.linux.development.apps:5567 gnu.gcc.help:1465
Alain Coetmeur a écrit dans le message <7uf0i6$kmu3@puligny.idt.cdc.fr>...
>>>> Recently I've upgraded my suse system to 6.2, and thus upgraded
>>>> egcs to 1.1.2 (from egcs 1.1.1), alias gcc-2.91.66 (from 2.91.60).
>>>> all my large application ... no more run correctly
>>>> and crash with SEGV in unlogical place ...
>>>> without any understandable cause (I've investigated for a long time).
>>>> The only explanation for me is that gcc-2.91.66 introduced a bug
>>>somewhere ...
meanwhile I've installed gcc2.95.1 and made many test and debug...
during one debug session I've noted that some inline base class constructor
were not called, but transforming it into a normal constructor
get things worse, crashing before...
but as soon as I compiled on a local disk instead of my usual
NFS volume (onto a solaris 2.6 server), all get OK magically....
moreover I've noted that the only phase that caused problem
was the g++ linkage.
If I link on a local disk some object compiled on NFS, copied or linked through symblinks,
then the binary is running perfectly.
however when I link the objects on a NFS volume, it often don't works
but sometimes does. when it does works the binary are identical according
to "diff", and they are different when it doesn't work.
it is a well known bug of
binutils-2.9.1.0.25-11, of gcc-2.95.1
of of nfs (I'm under suse 6.2 with a kernel 2.2.12 patched with mosix 0.93.03)