Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2003 13:34:43 -0400 (EDT)
From:      Mark Hennessy <mark@cloud9.net>
To:        freebsd-stable@freebsd.org, freebsd-ports@freebsd.org, freebsd-questions@freebsd.org
Subject:   Compiling Linuxthreads
Message-ID:  <Pine.BSF.4.53.0306231332110.4119@earl-grey.cloud9.net>

next in thread | raw e-mail | index | archive | help

I'm trying to compile Linuxthreads from ports on my FreeBSD 4.8 system
here, and for some reason I keep getting this:

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.

===>  Extracting for linuxthreads-2.2.3_10
>> Checksum OK for glibc-linuxthreads-2.2.3.tar.gz.
===>  Patching for linuxthreads-2.2.3_10
===>  Applying FreeBSD patches for linuxthreads-2.2.3_10
===>  Configuring for linuxthreads-2.2.3_10
===>  Building for linuxthreads-2.2.3_10
Warning: Object directory not changed from original
/usr/ports/devel/linuxthreads/work/linuxthreads-2.2.3_10/libgcc_r
echo '#include <i386/xm-i386.h>'        > config.h
echo '#include <xm-freebsd.h>'                          >> config.h
echo '#include "gansidecl.h"'                           > tconfig.h
echo '#include "i386/xm-i386.h"'        >> tconfig.h
echo '#include "i386/i386.h"'   > tm.h
echo '#include "i386/att.h"'                    >> tm.h
echo '#include <freebsd.h>'                             >> tm.h
echo '#include "i386/freebsd.h"'                >> tm.h
echo '#include "i386/perform.h"'                >> tm.h
make: don't know how to make libgcc1.c. Stop
*** Error code 2

Stop in /usr/ports/devel/linuxthreads.

I know that Linux binary compatibility is installed, as well as
/usr/src/gnu (installed that today, machine was upgraded to 4.8
a couple of months ago)

Any ideas on where I should look next?

--
 Mark P. Hennessy					      mark@cloud9.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.53.0306231332110.4119>