From owner-freebsd-current@FreeBSD.ORG Fri Aug 10 13:36:30 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CAC03106564A for ; Fri, 10 Aug 2012 13:36:30 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward5h.mail.yandex.net (forward5h.mail.yandex.net [IPv6:2a02:6b8:0:f05::5]) by mx1.freebsd.org (Postfix) with ESMTP id 495F78FC18 for ; Fri, 10 Aug 2012 13:36:30 +0000 (UTC) Received: from smtp4h.mail.yandex.net (smtp4h.mail.yandex.net [84.201.186.21]) by forward5h.mail.yandex.net (Yandex) with ESMTP id 108B3D00D24; Fri, 10 Aug 2012 17:36:27 +0400 (MSK) Received: from smtp4h.mail.yandex.net (localhost [127.0.0.1]) by smtp4h.mail.yandex.net (Yandex) with ESMTP id CE62F2C0169; Fri, 10 Aug 2012 17:36:27 +0400 (MSK) Received: from 87.249.28.59.tel.ru (87.249.28.59.tel.ru [87.249.28.59]) by smtp4h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id aRAag9MM-aRAm1ieZ; Fri, 10 Aug 2012 17:36:27 +0400 Message-ID: <50250E5B.6060505@passap.ru> Date: Fri, 10 Aug 2012 17:36:27 +0400 From: Boris Samorodov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:14.0) Gecko/20120728 Thunderbird/14.0 MIME-Version: 1.0 To: David Wolfskill References: <5023A9E8.6040503@passap.ru> <20120809122602.GU1464@albert.catwhisker.org> In-Reply-To: <20120809122602.GU1464@albert.catwhisker.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-current@freebsd.org Subject: Re: [clang] kernel build failure X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2012 13:36:30 -0000 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