From owner-freebsd-ports Tue Dec 3 8:18:35 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7444F37B401 for ; Tue, 3 Dec 2002 08:18:34 -0800 (PST) Received: from heaven.gigo.com (heaven.gigo.com [64.57.102.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 174D843E88 for ; Tue, 3 Dec 2002 08:18:24 -0800 (PST) (envelope-from lioux@brturbo.com) Received: from 200-193-225-016-bsace7003.dsl.telebrasilia.net.br (200-193-225-016-bsace7003.dsl.telebrasilia.net.br [200.193.225.16]) by heaven.gigo.com (Postfix) with ESMTP id 7839BB8CD for ; Tue, 3 Dec 2002 08:18:22 -0800 (PST) Received: (qmail 22704 invoked by uid 1001); 3 Dec 2002 15:51:43 -0000 Message-ID: <20021203155143.22703.qmail@exxodus.fedaykin.here> Date: Tue, 3 Dec 2002 13:51:21 -0200 From: Mario Sergio Fujikawa Ferreira To: Peter Pentchev Cc: portmgr@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: [PATCH] PTHREAD_CFLAGS/LIBS on sparc64 References: <20021127155317.GG375@straylight.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20021127155317.GG375@straylight.oblivion.bg> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.7-STABLE X-Disclaimer: I hope you find what you are looking for... in life :) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Nov 27, 2002 at 05:52:55PM +0200, Peter Pentchev wrote: > Hi, >=20 > Since it seems that there is no functioning threads library on sparc64 > for the present, and there is neither libc_r nor libpthread, could you > consider the following patch for bsd.port.mk that will fix ports trying > to use PTHREAD_CFLAGS and PTHREAD_LIBS on sparc64? A prime example is > the security/mhash port, which currently fails during the configure > stage, as it tries to pass -lc_r to the linker, and belatedly discovers > that there is no spoon^Wlibc_r... >=20 > I guess this one might count as a build fix on -CURRENT? Well, I apologize if I say something stupid but if a port requires pthread support... not linking against it won't make the port work. It might not even get the port to compile. Wouldn't be better if a stub (with no internal code) version of libc_r was cooked specially for sparc64? Just to see if the ports build in that ARCH? Since nothing will really work until we have a working thread implemention for sparc64. Regards, --=20 Mario S F Ferreira - DF - Brazil - "I guess this is a signature." Computer Science Undergraduate | FreeBSD Committer | CS Developer flames to beloved devnull@someotherworldbeloworabove.org feature, n: a documented bug | bug, n: an undocumented feature To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message