This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

other/4817: Multib lib configuration C++ link failed



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]