Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2012 22:13:11 GMT
From:      Eugen Konkov <kes-kes@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/163880: can not build kernel if some device has no buildable code even if 'nodevice' in config file present
Message-ID:  <201201062213.q06MDB8m075452@red.freebsd.org>
Resent-Message-ID: <201201062220.q06MK8fG070475@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163880
>Category:       misc
>Synopsis:       can not build kernel if some device has no buildable code even if 'nodevice' in config file present
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 06 22:20:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Eugen Konkov
>Release:        
>Organization:
ISP FreeLine
>Environment:
>Description:
if I comment out 'device et' or try 'nodevice et' in KERNCONF file and if_et.c contain:
#cat /usr/src/sys/dev/et/if_et.c
aldsfjadl;fadjf NO COMPILEABLE CODE HERE

I can not build kernel at all.

>How-To-Repeat:
comment out some device option in KERNCONF file or add 'nodevice et' for example.
and echo "tra-ta-ta" > /usr/src/sys/dev/et/if_et.c

try to build kernel
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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