[tlbuild] icu build fails on FreeBSD-5/i386: problem with pthread lib?

Nikola Lečić nikola.lecic at anthesphoria.net
Thu Mar 25 13:31:30 CET 2010


On Wed, Mar 24, 2010 at 12:13:09PM +0100
  in <alpine.LNX.2.00.1003241158550.11240 at pcl321.mppmu.mpg.de>
  Peter Breitenlohner <peb at mppmu.mpg.de> wrote:

> On Tue, 23 Mar 2010, Nikola Lecic wrote:
[...]
> > Can you try to disable -lpthread for icu *binaries*? Tweaking mh-bsd-gcc
> > and passing --disable-threads through TL_CONF_THREADS seem to have no
> > effect on this particular part of the build process.
> 
> Ouch. Due to the complicted way to cross-compile ICU, the top-level
> configure arguments are not passed on to ICU, but I have explicitly added
> '--disable-treads' and now get ICU binaries without threads (r17546).  This
> should now also work for FreeBSD.

Great, thank you, icu now builds fine on 5-STABLE.

While we are here, there is only one trace of incorrect use of
'-lpthread' on FreeBSD left in TL build, in asymptote. It should be
patched to use -pthread, or, to respect diversity of architectures,
to use PTHREAD_LIBS like this:

  PTHREAD_CFLAGS?=
  PTHREAD_LIBS?= -pthread

(cf. http://www.freebsd.org/doc/en/books/porters-handbook/dads-pthread.html).

Is it on me to patch it locally since asymptote's configure is not
part of TL build structure or you can make threading in asymptote
depentant on the underlying system like this?

Best regards,
-- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
URL: <http://tug.org/pipermail/tlbuild/attachments/20100325/aaac0995/attachment.bin>


More information about the tlbuild mailing list