NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/49879: netbsd-7 ixgbe.o link failure without 'pseudo-device vlan'



>Number:         49879
>Category:       kern
>Synopsis:       ixgbe.o link failure without 'pseudo-device vlan'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 05 11:50:00 +0000 2015
>Originator:     Hauke Fath
>Release:        netbsd-7
>Organization:
Technische Universitaet Darmstadt
>Environment:
	
	
System: NetBSD netbsd-7 of 2015-05-05 sources
Architecture: i386
Machine: i386
>Description:

	A kernel configured without 'pseudo-device vlan' fails to link:

#      link  VLANTEST/netbsd
/u/netbsd-builds/7/i386/tools/bin/i486--netbsdelf-ld -Map netbsd.map --cref -T /public/netbsd-7/sys/arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
ixgbe.o: In function `ixgbe_detach':
ixgbe.c:(.text+0x32fc): undefined reference to `vlan_ifdetach'
*** [netbsd] Error code 1

nbmake: stopped in /var/obj/netbsd-builds/7/i386/sys/arch/i386/compile/VLANTEST
1 error

>How-To-Repeat:

Build a kernel with the following config

# Non MODULAR
#
include "arch/i386/conf/GENERIC"

no options		MODULAR
no pseudo-device	vlan	# IEEE 802.1q encapsulation


>Fix:
	Conditionally compile vlan support in ixgbe.c, I guess.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index