public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bing Shi <b.shi@comcast.net>
To: gcc-help@gcc.gnu.org
Subject: pthread problem in gcc-3.2.2
Date: Fri, 14 Nov 2003 07:00:00 -0000	[thread overview]
Message-ID: <1068793220.7832.37.camel@bingLinux-PC> (raw)

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


             reply	other threads:[~2003-11-14  7:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-14  7:00 Bing Shi [this message]
2003-11-14  8:22 Dara Hazeghi
2003-11-14 17:07 ` Bing Shi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1068793220.7832.37.camel@bingLinux-PC \
    --to=b.shi@comcast.net \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).