* pthread problem in gcc-3.2.2
@ 2003-11-14 7:00 Bing Shi
0 siblings, 0 replies; 3+ messages in thread
From: Bing Shi @ 2003-11-14 7:00 UTC (permalink / raw)
To: gcc-help
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pthread problem in gcc-3.2.2
@ 2003-11-14 8:22 Dara Hazeghi
2003-11-14 17:07 ` Bing Shi
0 siblings, 1 reply; 3+ messages in thread
From: Dara Hazeghi @ 2003-11-14 8:22 UTC (permalink / raw)
To: b.shi; +Cc: gcc-help
Hello,
I'm not sure how much help this is, but on RedHat 8, I
see all the references to pthreads are in libgcc_eh.a.
What third party package is breaking?
Dara
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: pthread problem in gcc-3.2.2
2003-11-14 8:22 Dara Hazeghi
@ 2003-11-14 17:07 ` Bing Shi
0 siblings, 0 replies; 3+ messages in thread
From: Bing Shi @ 2003-11-14 17:07 UTC (permalink / raw)
To: 'Dara Hazeghi'; +Cc: gcc-help
Thanks! That should solve the problem because the configuration script
is written in the way that checks pthread symbols in libgcc.a. This is
not a problem in gcc-2.96.x. Somehow, the pthread references are
archived in libgcc_eh.a in gcc-3.2.2.
-----Original Message-----
From: Dara Hazeghi [mailto:dhazeghi@yahoo.com]
Sent: 2003年11月14日 0:22
To: b.shi@comcast.net
Cc: gcc-help@gcc.gnu.org
Subject: Re: pthread problem in gcc-3.2.2
Hello,
I'm not sure how much help this is, but on RedHat 8, I
see all the references to pthreads are in libgcc_eh.a.
What third party package is breaking?
Dara
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-11-14 17:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-14 7:00 pthread problem in gcc-3.2.2 Bing Shi
2003-11-14 8:22 Dara Hazeghi
2003-11-14 17:07 ` Bing Shi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).