This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
platform specific information for aix5.3
- From: Michael Haubenwallner <michael dot haubenwallner at salomon dot at>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 07 Mar 2007 22:30:04 +0100
- Subject: platform specific information for aix5.3
Hi,
there's one more thing which IMO should be mentioned on the
platform-specific site:
On AIX 5.3 there is a bug where 'thread_creds_t' is a global variable
instead of a typedef in /usr/include/sys/threads.h
In case of C, the linker may give 'duplicate symbol' on this one.
What can happen in case of C++, see
http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=747&thread=119546&cat=72
The workaround is to define 'thread_creds_t' to nothing:
-Dthread_creds_t=
This only affects AIX 5.3, not AIX <= 5.2.
According to IBM, the fix for this APAR IY90737 is incorporated into
Service Pack 5300-05-04.
Thanks,
/haubi/