Re: linuxthreads compilation error

2005-07-01 Thread Kris Kennaway
On Fri, Jul 01, 2005 at 07:56:21PM +0200, BLONDEL Vincent wrote:
> 
> My system:
> 
> Athlon Xp 2000+
> FreeBSD 6.0-CURRENT (build 30/06/2005)

You sent it to the wrong list (6.0 is *current* not *stable*), but
this is a known problem.  Talk to the port maintainer (although he has
already been informed).

Kris


pgpYyH91QnczE.pgp
Description: PGP signature


linuxthreads compilation error

2005-07-01 Thread BLONDEL Vincent

My system:

Athlon Xp 2000+
FreeBSD 6.0-CURRENT (build 30/06/2005)
CFLAGS = -march=athlon-xp -O2 -pipe
COPTFLAGS = -O -pipe



I am trying to compile linuxthreads on my brand new FreeBSD system but I
encounter some problems whith this port. I tried the compilation with
CFLAGS= -O -pipe but it seems there are some conflicts between these threads
and those one from FreeBSD (native).

===>  Vulnerability check disabled, database not found

You can use an experimental patch to reduce the number of
condition variable triggered context switches by defining
WITH_CONDWAIT_PATCH


Some unsafe calls to exit() can be detected by defining
LINUXTHREADS_DETECT_UNSAFE_EXIT, see files/README.FreeBSD
for more info.


Some conflicts with native threads can be avoided by defining
LINUXTHREADS_WRAP_API, see files/README.FreeBSD
for more info.


Use of POSIX priority scheduling can be turned off by
defining LINUXTHREADS_NO_POSIX_PRIORITY_SCHEDULING,
see files/README.FreeBSD for more info.

===>  Extracting for linuxthreads-2.2.3_16
=> Checksum OK for glibc-linuxthreads-2.2.3.tar.gz.
===>  Patching for linuxthreads-2.2.3_16
===>  Applying FreeBSD patches for linuxthreads-2.2.3_16
===>  Configuring for linuxthreads-2.2.3_16
===>  Building for linuxthreads-2.2.3_16
Warning: Object directory not changed from original
/usr/cvs/ports/devel/linuxthreads/work/linuxthreads-2.2.3_16/libgcc_r
make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tm.h
echo '#ifndef GCC_TM_H' > tm.h
echo '#define GCC_TM_H' >> tm.h
echo '#ifdef IN_GCC'>> tm.h
echo '#include "i386/i386.h"'   >> tm.h
echo '#include "i386/unix.h"'   >> tm.h
echo '#include "i386/att.h"'>> tm.h
echo '#include "dbxelf.h"'  >> tm.h
echo '#include "elfos.h"'   >> tm.h
echo '#include "freebsd-native.h"'  >> tm.h
echo '#include "freebsd-spec.h"'>> tm.h
echo '#include "freebsd.h"' >> tm.h
echo '#include "i386/freebsd.h"'>> tm.h
echo '#include "defaults.h"'>> tm.h
echo '#if !defined GENERATOR_FILE && !defined USED_FOR_TARGET' >> tm.h
echo '# include "insn-constants.h"' >> tm.h
echo '# include "insn-flags.h"' >> tm.h
echo '#endif'   >> tm.h
echo '#endif'   >> tm.h
echo '#define EXTRA_MODES_FILE "i386/i386-modes.def"' >> tm.h
echo '#endif /* GCC_TM_H */'>> tm.h
make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tconfig.h
echo '#ifndef GCC_TCONFIG_H'> tconfig.h
echo '#define GCC_TCONFIG_H'>> tconfig.h
echo '#ifdef IN_GCC'>> tconfig.h
echo '# include "ansidecl.h"'   >> tconfig.h
echo '#endif'   >> tconfig.h
echo '#define USED_FOR_TARGET'  >> tconfig.h
echo '#endif /* GCC_TCONFIG_H */'   >> tconfig.h
cc -c -O -pipe  -D_PTHREADS -I../ -I../sysdeps/i386 -I../sysdeps/pthread -I.
./sysdeps/unix/sysv/linux -fexceptions -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_N
OT_NEEDED  -DFINE_GRAINED_LIBRARIES -D_PTHREADS -DGTHREAD_USE_WEAK -I/usr/sr
c/gnu/lib/libgcc/../../usr.bin/cc/cc_tools  -I/usr/src/gnu/lib/libgcc/../../
../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I.  -D
L_muldi3 -o _muldi3.o /usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c
cc -c -O -pipe  -D_PTHREADS -I../ -I../sysdeps/i386 -I../sysdeps/pthread -I.
./sysdeps/unix/sysv/linux -fexceptions -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_N
OT_NEEDED  -DFINE_GRAINED_LIBRARIES -D_PTHREADS -DGTHREAD_USE_WEAK -I/usr/sr
c/gnu/lib/libgcc/../../usr.bin/cc/cc_tools  -I/usr/src/gnu/lib/libgcc/../../
../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I.  -D
L_negdi2 -o _negdi2.o /usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c
cc -c -O -pipe  -D_PTHREADS -I../ -I../sysdeps/i386 -I../sysdeps/pthread -I.
./sysdeps/unix/sysv/linux -fexceptions -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_N
OT_NEEDED  -DFINE_GRAINED_LIBRARIES -D_PTHREADS -DGTHREAD_USE_WEAK -I/usr/sr
c/gnu/lib/libgcc/../../usr.bin/cc/cc_tools  -I/usr/src/gnu/lib/libgcc/../../
../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I.  -D
L_lshrdi3 -o _lshrdi3.o
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c
cc -c -O -pipe  -D_PTHREADS -I../ -I../sysdeps/i386 -I../sysdeps/pthread -I.
./sysdeps/unix/sysv/linux -fexceptions -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_N
OT_NEEDED  -DFI