This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC-3.0.4 (pre) on AIX requires pthreads


>>>>> Phil Edwards writes:

Phil> That doesn't sound quite correct.

Phil> libstdc++ uses whatever gets printed after "Thread model:" in the output of
Phil> "gcc -v".  We do not check for "pthread" IIRC.

Phil> Have you tried "--enable-threads=aix"?  What do you normally do to get
Phil> gthr-aix.h to be used?

	I am sorry that it does not sound correct, but that is what
happens.  GCC configure *AUTOMATICALLY* sets the thread model to "AIX" by
setting thread_file='aix' in gcc/config.gcc.  --enable-threads=aix is
already done implicitly.  Period.  End of that discussion.  Go read the
source if you disagree.

	libstdc++ trying to treat AIX as either "posix" or "single" in a
multilib is what is coming back to haunt us.  Objective C uses gthr-aix.h,
but libtsdc++ does not.

David


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