Re: GCC 4.4.0, mips-sgi-irix6.5 and pthread - MORE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tovrea, George W (US SSA) wrote:

This simple program, simple.c, taken from http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html
<snip>
 > Compiled with
gcc -lpthread simple.c

The sample program compiled with
g++ -lpthread simple.c -L/home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0 -L/home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32 -L/home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/lib32 -L/home/users/tovrea/local/sgi6/lib

results in a core with backtrace

In both compiles the option '-pthread' wasn't used...

But the Irix6.x config stuff tells that it has some
meaning with Irix6.x like :

#undef SUBTARGET_CPP_SPEC
#define SUBTARGET_CPP_SPEC "%{pthread:-D_REENTRANT}"

So some standard headers may have different definitions
with and without this option...

I would greatly appreciate if anyone working with gcc 4.4.0 on mips-sgi-irix6.5 and pthreads would contact me ASAP

I don't work with this platform so the previous simple
check, compiling with '-pthread', is all I could suggest :(


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux