Re: [clang] kernel build failure

From: Boris Samorodov <bsam_at_passap.ru>
Date: Fri, 10 Aug 2012 17:36:27 +0400
09.08.2012 16:26, David Wolfskill пишет:
> On Thu, Aug 09, 2012 at 04:15:36PM +0400, Boris Samorodov wrote:
>> Hi!
>>
>> The kernel build fails at fresh CURRENT...
>> And then I get an error:
>> -----
>> linking kernel.debug
>> cam_periph.o: In function `cam_periph_error':
>> /usr/src/sys/cam/cam_periph.c:1776: undefined reference to
>> `scsi_extract_sense_ccb'
>> scsi_cd.o: In function `cdasync':
>> /usr/src/sys/cam/scsi/scsi_cd.c:571: undefined reference to
>> `scsi_extract_sense_ccb'
>> scsi_da.o: In function `daasync':
>> /usr/src/sys/cam/scsi/scsi_da.c:1394: undefined reference to
>> `scsi_extract_sense_ccb'
>> *** [kernel.debug] Error code 1
>> -----
>>
>> The system...:
>> -----
>> % uname -a
>> FreeBSD bsam.wart.ru 10.0-CURRENT FreeBSD 10.0-CURRENT #21 r238828M: Fri
>> Jul 27 16:26:02 SAMT 2012     bsam_at_bsam.wart.ru:/usr/obj/usr/src/sys/BBX
>>    i386
>> -----
>
> I had no trouble (just now); was running:
>
> FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #645 239138M: Wed Aug  8 04:44:43 PDT 2012     root_at_g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386
>
> now running:
>
> FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #646 239148M: Thu Aug  9 05:04:05 PDT 2012     root_at_g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386

I appeared to have some stale patches:
-----
% svn st /usr/src
M       /usr/src/sys/cam/cam_periph.c
M       /usr/src/sys/cam/scsi/scsi_all.c
M       /usr/src/sys/cam/scsi/scsi_all.h
M       /usr/src/sys/cam/scsi/scsi_cd.c
M       /usr/src/sys/cam/scsi/scsi_da.c
-----

Reverting helped here. Thanks for your cooperation!

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Received on Fri Aug 10 2012 - 11:36:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:29 UTC