From owner-freebsd-stable@FreeBSD.ORG  Fri Jun 20 10:44:26 2003
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
Delivered-To: freebsd-stable@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D471737B401
	for <freebsd-stable@freebsd.org>;
	Fri, 20 Jun 2003 10:44:26 -0700 (PDT)
Received: from english-breakfast.cloud9.net (english-breakfast.cloud9.net
	[168.100.1.9])	by mx1.FreeBSD.org (Postfix) with ESMTP id 400BF43F75
	for <freebsd-stable@freebsd.org>;
	Fri, 20 Jun 2003 10:44:26 -0700 (PDT)	(envelope-from mark@cloud9.net)
Received: from localhost (localhost [127.0.0.1])
	by english-breakfast.cloud9.net (Postfix) with ESMTP id B5601ABB3
	for <freebsd-stable@freebsd.org>;
	Fri, 20 Jun 2003 13:44:25 -0400 (EDT)
Received: from english-breakfast.cloud9.net (localhost [127.0.0.1])
	by localhost (VaMailArmor-2.0.1.7) id 07283-38CA9778;
	Fri, 20 Jun 2003 13:44:25 -0400
Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1])
	by english-breakfast.cloud9.net (Postfix) with ESMTP id A3C48ABB0
	for <freebsd-stable@freebsd.org>;
	Fri, 20 Jun 2003 13:44:25 -0400 (EDT)
Date: Fri, 20 Jun 2003 13:44:25 -0400 (EDT)
From: Mark Hennessy <mark@cloud9.net>
To: freebsd-stable@freebsd.org
Message-ID: <Pine.BSF.4.53.0306201342280.63807@earl-grey.cloud9.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.7; VAE: 6.20.0.1;
	VDF: 6.20.0.13; host: english-breakfast.cloud9.net)
Subject: Compiling Linuxthreads
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Production branch of FreeBSD source code
	<freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
	<mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
	<mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jun 2003 17:44:27 -0000

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