NetBSD Problem Report #48832

From www@NetBSD.org  Thu May 22 17:09:14 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6EAD3A5864
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 22 May 2014 17:09:14 +0000 (UTC)
Message-Id: <20140522170913.3A970A64F3@mollari.NetBSD.org>
Date: Thu, 22 May 2014 17:09:13 +0000 (UTC)
From: alex.strauss@arcor.de
Reply-To: alex.strauss@arcor.de
To: gnats-bugs@NetBSD.org
Subject: Problem with disabling ipv6 in 6.1.4 / i386 kernel
X-Send-Pr-Version: www-1.0

>Number:         48832
>Category:       port-i386
>Synopsis:       Problem with disabling ipv6 in 6.1.4 / i386 kernel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 22 17:10:00 +0000 2014
>Closed-Date:    Fri May 23 20:06:00 +0000 2014
>Last-Modified:  Fri May 23 20:06:00 +0000 2014
>Originator:     Alex
>Release:        6.1.4 i386
>Organization:
none
>Environment:
>Description:
When disabling inet6 in the kernel config, the compile (linking) fails with the following error message:

#      link  orkdebug/netbsd
ld -Map netbsd.map --cref -T ../../../../arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
ioconf.o:(.data+0x2fb8): undefined reference to `stfattach'
*** Error code 1








>How-To-Repeat:

>Fix:
The problem can be avoided by deleting the line 

{ stfattach, 1 },

from ioconf.c

I don't know if this may cause any other problems, though.


>Release-Note:

>Audit-Trail:
From: "Jonathan A. Kollasch" <jakllsch@kollasch.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-i386/48832: Problem with disabling ipv6 in 6.1.4 / i386
 kernel
Date: Thu, 22 May 2014 12:14:48 -0500

 Compiling a kernel with pseudo-device stf and without options INET6 is
 not supported, nor need it be.

From: "Alexander Strauss" <alex.strauss@arcor.de>
To: <gnats-bugs@NetBSD.org>,
	<port-i386-maintainer@netbsd.org>,
	<gnats-admin@netbsd.org>,
	<netbsd-bugs@netbsd.org>
Cc: 
Subject: RE: port-i386/48832: Problem with disabling ipv6 in 6.1.4 / i386 kernel
Date: Fri, 23 May 2014 12:37:53 +0200

 You are obviously right - I kind of overlooked that the atf device option
 was still set in my config. Pls close the case.

 -----Original Message-----
 From: Jonathan A. Kollasch [mailto:jakllsch@kollasch.net] 
 Sent: Thursday, May 22, 2014 19:15
 To: port-i386-maintainer@netbsd.org; gnats-admin@netbsd.org;
 netbsd-bugs@netbsd.org; alex.strauss@arcor.de
 Subject: Re: port-i386/48832: Problem with disabling ipv6 in 6.1.4 / i386
 kernel

 The following reply was made to PR port-i386/48832; it has been noted by
 GNATS.

 From: "Jonathan A. Kollasch" <jakllsch@kollasch.net>
 To: gnats-bugs@NetBSD.org
 Cc: 
 Subject: Re: port-i386/48832: Problem with disabling ipv6 in 6.1.4 / i386
 kernel
 Date: Thu, 22 May 2014 12:14:48 -0500

  Compiling a kernel with pseudo-device stf and without options INET6 is  not
 supported, nor need it be.


State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 23 May 2014 20:06:00 +0000
State-Changed-Why:
Withdrawn by submitter.
(It's theoretically possible to have config reject this configuration, and
maybe we should look into that...)


>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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.