This is the mail archive of the gcc-patches@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]

Re: [patch] remove darwin from libgomp's target.


Richard Henderson wrote:
On Mon, Jan 30, 2006 at 11:06:45PM +0100, Andreas Tobler wrote:
Shantonu Sen wrote:
Here's what I have so far, with the new files as attachments. In particular, I haven't verified that the cancellation point semantics are preserved with respect to the POSIX semaphore version. I also dumped the files in libgomp/config/darwin. A longer term fix would probably involve more autoconf checks, and having this version alongside the POSIX semaphore version in libgomp/config/posix, and using the appropriate version, since they both use POSIX features.

I guess I should get a copyright assignment process going...
Shantonu,

I've taken your work and tried to integrate it into the current infrastructure.

Actually, I think Shantonu did a better job. I'm not as in favour of the HAVE_BROKEN_POSIX_SEMAPHORES define as I am of
using the directory search mechanism. It would be different,
perhaps, if you were autoconfing and detecting a failure in
the posix semaphores.


I would like that a comment be added why Darwin can't use the
regular posix implementation.

This would be the comment snippet:


# sem_init returns: sem_init error: Function not implemented.

Ok, I drop the ball. Shantonu it's your turn, if the directory search is preferred.

Andreas


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