platform specific information for aix5.3

Michael Haubenwallner michael.haubenwallner@salomon.at
Wed Mar 7 22:47:00 GMT 2007


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/



More information about the Gcc-help mailing list