This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: extend gthr-posix.h with rwlock
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Luke Dalessandro <luked at cs dot rochester dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 05 Jun 2008 14:25:23 -0400
- Subject: Re: extend gthr-posix.h with rwlock
- References: <48482A0B.4080609@cs.rochester.edu>
>>>>> Luke Dalessandro writes:
Luke> My problem is that unwind-dw2-fde.c seems to be compiled multiple times during
Luke> a gcc build, and sometimes my additions are found but other times they are
Luke> not. I am rebuilding again (AIX 5.1), and I'll post more information for
Luke> anyone that needs it.
Luke> In the meantime, is there a how-to anywhere that describes adding or modifying
Luke> gthr.h models in gcc?
AIX multilibs pthread support. Unlike Linux, AIX does not provide
weak versions of the pthread symbols when operating in single-threaded
mode. AIX uses gthr-aix.h, which includes gthr-posix.h or gthr-single.h
depending on the -pthread option.
David