Segfaults under Linux

Sai-Lai Lo S.Lo@orl.co.uk
Thu, 19 Feb 1998 11:26:16 GMT


This question seems to come up frequently. Duncan Grisby has pointed out
earlier on this list that the problem is with libstdc++.so.2.7.2. Let me
repost what he wrote:

 The problem is actually in libstdc++.so.2.7.2 -- it fails to initialise
 mutexes which it later tries to use. The solution is to use the egcs
 compiler, as this comes with libstdc++.so.2.8.0. The optimiser works too. 

 See http://www.orl.co.uk/omniORB/omniORB_240/README.egcs for details of
 how to use it.

Sai-Lai


>>>>> Damyan Pepper writes:

> I have problems with omniORB 2.4.0 under Red Hat Linux 5.0.
> Pretty much every executable I've compiled SEGFAULTS immediately.

> Any ideas?

> ~/src/omniORB_2.4.0$ gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/specs
> gcc version 2.7.2.3

> ~/src/omniORB_2.4.0$ locate libpthread
> /lib/libpthread-0.6.so
> /lib/libpthread.so.0
> /usr/lib/libpthread.a
> /usr/lib/libpthread.so
> /usr/lib/libpthread_p.a

> ~/src/omniORB_2.4.0$ rpm -q glibc
> glibc-2.0.5c-10