Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2002 13:51:21 -0200
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        Peter Pentchev <roam@ringlet.net>
Cc:        portmgr@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: [PATCH] PTHREAD_CFLAGS/LIBS on sparc64
Message-ID:  <20021203155143.22703.qmail@exxodus.fedaykin.here>
In-Reply-To: <20021127155317.GG375@straylight.oblivion.bg>
References:  <20021127155317.GG375@straylight.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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