This is the mail archive of the gcc-help@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 format: [Raw text]

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/


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