NetBSD Problem Report #41518

From he@quattro.urc.uninett.no  Mon Jun  1 09:00:38 2009
Return-Path: <he@quattro.urc.uninett.no>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 9FE6063C282
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  1 Jun 2009 09:00:38 +0000 (UTC)
Message-Id: <200906010756.n517u5Y4024459@quattro.urc.uninett.no>
Date: Mon, 1 Jun 2009 09:56:06 +0200 (CEST)
From: he@NetBSD.org
Reply-To: he@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: vax misses the _lwp_makecontext() C library implementation
X-Send-Pr-Version: 3.95

>Number:         41518
>Category:       port-vax
>Synopsis:       vax misses the _lwp_makecontext() C library implementation
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-vax-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 01 09:05:00 +0000 2009
>Closed-Date:    Sat Mar 05 09:11:28 +0000 2016
>Last-Modified:  Sat Mar 05 09:11:28 +0000 2016
>Originator:     Havard Eidnes
>Release:        NetBSD-current of May 31 2009
>Organization:
	I Try
>Environment:
System: NetBSD quattro.urc.uninett.no 3.1_STABLE NetBSD 3.1_STABLE (QUATTRO) #2: Tue Aug 12 11:13:04 CEST 2008 he@quattro.urc.uninett.no:/usr/obj/sys/arch/i386/compile/QUATTRO i386 (host system)
Architecture: vax
Machine: vax
>Description:
	Trying to build the vax ports reveals a build bug trying
	to build BIND:

       link  dig/dig
/u/build/HEAD/dest/vax/usr/lib/libpthread.so: undefined reference to `_lwp_makecontext'
collect2: ld returned 1 exit status

	A further inspection reveals that the reason is that the vax
	port does not actually have an implementation of _lwp_makecontext
	in the C library, which should have been in

	lib/libc/arch/vax/_lwp.c

>How-To-Repeat:
	Try to build NetBSD-current for vax, watch it fail as above.
>Fix:
	Sorry, don't know.

>Release-Note:

>Audit-Trail:
From: Havard Eidnes <he@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-vax/41518: vax misses the _lwp_makecontext() C library
 implementation
Date: Mon, 01 Jun 2009 12:06:13 +0200 (CEST)

 I might add that nfsd also fails to build, and contrary to BIND,
 it doesn't even have a semi-working "don't build with pthreads"
 setup.

 Regards,

 - Havard

State-Changed-From-To: open->closed
State-Changed-By: ragge@NetBSD.org
State-Changed-When: Sat, 05 Mar 2016 09:11:28 +0000
State-Changed-Why:
_lwp_makecontext() has been added by Christos Zoulas.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.