Subject: xsrc/11216: xsrc builds non-reentrant X libraries
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 10/13/2000 12:34:53
>Synopsis: By default, xsrc builds non-reentrant X libs, which breaks threaded programs.
>Arrival-Date: Fri Oct 13 12:34:01 PDT 2000
>Originator: Justin A. Kolodziej
>Release: Oct. 11, 2000
Home-built K6-400 running netbsd-current updated from sup
sources on Oct. 11
System: NetBSD kolodziejj.tower.mu.edu 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (KOLODZIEJJ.4MB) #0: Wed Oct 11 15:33:24 CDT 2000 email@example.com:/usr/src/sys/arch/i386/compile/KOLODZIEJJ.4MB i386
Building X from the current xsrc apparently results in the libraries
not being built reentrant. This results in threaded X applications not being
able to run properly. The most notorious is xmms in pkgsrc, but probably this
will affect all other threaded X apps.
This is only an example for xmms, but other applications that use pthreads will
probably behave similarly.
At this point, things seem to work fine, but trying to load an audio file, or
even trying to exit the program, causes the app to hang.
Looking closely at the compilation output for xmms shows that there was a
warning after the configuration that the X libraries were not reentrant, and,
as a result, xmms won't work.
I don't know how much the X sources for netbsd are customized, but building and
installing the "official" XFree86 sources may result in reentrant X libraries.
It may not build properly at all though...