On Mon, Nov 20, 2000 at 10:54:36AM -0500, Stefan Seefeld wrote:
> Nicolas Souchu wrote:
> 
> > As an introduction, I'd say that I'm a french FreeBSD developer,
> > sponsored by my company to provide support to free software in
> > general. FreeBSD is a very cool OS, well designed, rock stable...
> > Have a look at http://www.freebsd.org, but I'm sure you've already
> > eared about it.
> 
> I'm sorry but I think I need to correct you. It may be cool, and even
> well designed, but it is not rock stable. As this concerns berlin and
> GGI I might as well bring that up here:
> 
> we tried to run berlin on freebsd, and got problems into trouble with
> threading issues. It appears freebsd provides two sets of libraries,for
> example libc and libc_r. Normally, packages are linked against libc, those
> which are built with '-pthreads' are linked against libc_r.

This is rather a portability issue then.

> 
> We built berlin with thread support on (as we use threads heavily), but
> we linked to packages which were not compiled with thread support. That shouldn't
> be a problem, as we serialize access to these libraries ourself. One of these
> libs was GGI.
> The server crashed before 'main', somewhere in the thread initialization.
> 'ldd' reported that the server required both, libc, and libc_r. This may
> be the cause of the trouble.

Certainly, since I had such trouble with GGI demos.

> Of course, we could have recompiled all third party libraries (inclusively
> GGI) with explicit thread support. However, if you think about it, this can't
> be a viable option. Some libraries may be available only in binary form, others
> might have complex build systems where it would be hard to figure out what to
> change in order to add the necessary flags...
> Anyway, you asked for it :) As a strong freebsd supporter, go ahead and fix
> the way the OS deals with threading issues. Good luck !

Yes, libc and libc_r are being merged.

Nicholas

-- 
Nicolas Souchu
Alc�ve - Open Source Software Engineer - http://www.alcove.fr

Reply via email to