pthread problem in gcc-3.2.2
Bing Shi
b.shi@comcast.net
Fri Nov 14 07:00:00 GMT 2003
I installed Redhat-9 and it has gcc-3.2.2 packaged. I tried to compile
a third party software that requires pthread to be configured in gcc. I
got this error message while checking libgcc.a
$ gcc -print-libgcc-file-name
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/libgcc.a
$ nm /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/libgcc.a | grep pthread
nm: _fixtfdi.oS: no symbols
nm: _fixunstfdi.oS: no symbols
nm: _floatditf.oS: no symbols
nm: _trampoline.oS: no symbols
nm: __main.oS: no symbols
nm: _exit.oS: no symbols
nm: _ctors.oS: no symbols
I did the same thing on another Linux box with Redhat-7/gcc-3.2.1. The
check went fine and I could successfully compile the software.
Does anybody have ideas on what's going on?
BTW. Here is my gcc configuration,
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Thanks,
Bing
b.shi@comcast.net
More information about the Gcc-help
mailing list