[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
build of GNU gettext-0.16.1 with posix-threads fails on Solaris 2.6
From: |
anirkko |
Subject: |
build of GNU gettext-0.16.1 with posix-threads fails on Solaris 2.6 |
Date: |
Thu, 12 Apr 2007 12:13:54 +0200 (MET DST) |
Hi
on Solaris 2.6, build of gettext-0.16.1
fails when using the default posix thread model (pthread),
see output below.
(btw, the build also fails when using solaris threads because
of a simple bug in the two tls.c files, separately reported).
Maybe --enable-threads=solaris should be the default on
this platform? (once the tls.c bugs are fixed ;-)
Greetings,
Arto
...
...
gcc -O3 -mcpu=supersparc -mno-app-regs -o test-lock test-lock.o lock.o
-lpthread
test-lock.o(.text+0x310): In function `lock_mutator_thread':
: undefined reference to `sched_yield'
...
...
collect2: ld returned 1 exit status
gmake[3]: *** [test-lock] Error 1
gmake[3]: Leaving directory `/build/gettext-0.16.1/gettext-runtime/tests'
- build of GNU gettext-0.16.1 with posix-threads fails on Solaris 2.6,
anirkko <=