Subject: kern/35855: iop/sp seem to depend on scsi code, but it is not enforced
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Thomas Klausner <wiz@NetBSD.org>
List: netbsd-bugs
Date: 02/27/2007 08:45:00
>Number: 35855
>Category: kern
>Synopsis: iop/sp seem to depend on scsi code, but it is not enforced
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 27 08:45:00 +0000 2007
>Originator: Thomas Klausner
>Release: NetBSD 4.99.12
>Organization:
Dis-
>Environment:
Architecture: x86_64
Machine: amd64
>Description:
Compiling a kernel with iop and sp enabled, but all scsi
stuff removed fails with:
iopsp.o: In function `iopsp_attach':
iopsp.c:(.text+0xb88): undefined reference to `scsi_bustype'
iopsp.c:(.text+0xc2d): undefined reference to `scsiprint'
sbp.o: In function `sbp_scsipi_scan_target':
sbp.c:(.text+0x11f0): undefined reference to `scsi_probe_bus'
sbp.o: In function `sbpattach':
sbp.c:(.text+0x27ae): undefined reference to `scsiprint'
sbp.c:(.text+0x27e7): undefined reference to `scsi_bustype'
>How-To-Repeat:
Remove all SCSI-related stuff from amd64/GENERIC.
>Fix:
Add some dependency somewhere...
>Unformatted: