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.
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.
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 !
;)
Regards, Stefan
_______________________________________________________
Stefan Seefeld
Departement de Physique
Universite de Montreal
email: [EMAIL PROTECTED]
_______________________________________________________
...ich hab' noch einen Koffer in Berlin...