This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/4817: Multib lib configuration C++ link failed
- To: gcc-gnats at gcc dot gnu dot org
- Subject: other/4817: Multib lib configuration C++ link failed
- From: christophe dot tardy at bnpparibas dot com
- Date: 7 Nov 2001 12:20:13 -0000
- Reply-To: christophe dot tardy at bnpparibas dot com
>Number: 4817
>Category: other
>Synopsis: Multib lib configuration C++ link failed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Wed Nov 07 04:26:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: christophe.tardy@bnpparibas.com
>Release: gcc 3.0.2
>Organization:
>Environment:
>Description:
g++ 3.0.2, AIX 4.3.3 configured with --enable-multilib --enable-threads=posix failed to link single threaded program
because _NOTHREADS is not defined for libstc++. Thus the
linker complains about undefined symbols (pthread_lock, etc..)
>How-To-Repeat:
>Fix:
add %{!pthread:-D_NOTHREADS}
to line
*cpp_options: in the specs file.
>Release-Note:
>Audit-Trail:
>Unformatted: