gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnustep base on NetBSD 4.0 i386


From: Richard Frith-Macdonald
Subject: Re: gnustep base on NetBSD 4.0 i386
Date: Sun, 6 Jan 2008 09:05:13 +0000


On 5 Jan 2008, at 11:48, David Wetzel wrote:

Matt Rice wrote:
adding -pthread on the gcc command line seems to fix it

Neither -lpthread nor -pthread works for me on intel...

<snip>

/Users/dave/projects/gnustep-testfarm/core/base/Testing/obj/ diningPhilosophers: Uncaught exception NSInternalInconsistencyException, reason: Unable to detach thread (perhaps No such file or
directory)

That's an odd error message... I changed the code to clear errno immediately before detaching the thread, so as to be sure we don't have a value hanging round form an earlier call.

Possibly what you are seeing is an objc runtime bug such that the detach succeeds but appears to fail because the thread ID is zero?
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18573

Alternatively, could it possibly be that you are picking up a different/wrong version of the objc runtime library, so that the runtime is built with a different thread model to what the compiler was built with?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]