Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2012 17:36:27 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        David Wolfskill <david@catwhisker.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [clang] kernel build failure
Message-ID:  <50250E5B.6060505@passap.ru>
In-Reply-To: <20120809122602.GU1464@albert.catwhisker.org>
References:  <5023A9E8.6040503@passap.ru> <20120809122602.GU1464@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@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



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