From owner-freebsd-mips@freebsd.org Sun Nov 20 15:40:54 2016 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BE68C4BC47 for ; Sun, 20 Nov 2016 15:40:54 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 075DD78F; Sun, 20 Nov 2016 15:40:52 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id uAKFegwQ039019 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 20 Nov 2016 16:40:43 +0100 (CET) (envelope-from egrosbein@rdtc.ru) X-Envelope-From: egrosbein@rdtc.ru X-Envelope-To: sbruno@freebsd.org Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id uAKFeXZ9082303; Sun, 20 Nov 2016 22:40:33 +0700 (KRAT) (envelope-from egrosbein@rdtc.ru) Subject: Re: libsysdecode (Re: MFC test request) To: Sean Bruno , freebsd-mips@freebsd.org, bdrewery@freebsd.org References: <20161027172820.GA44678@bluezbox.com> <5813143B.3080308@grosbein.net> <57c4bb4f-1bba-5620-9a88-46364830c0d0@freebsd.org> <58315FCD.4020102@rdtc.ru> From: Eugene Grosbein Message-ID: <5831C3F1.1040201@rdtc.ru> Date: Sun, 20 Nov 2016 22:40:33 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <58315FCD.4020102@rdtc.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, SPF_SOFTFAIL,T_DATE_IN_FUTURE_96_Q autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) * 0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain * 0.0 T_DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: * date * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2016 15:40:54 -0000 On 20.11.2016 15:33, Eugene Grosbein wrote: > I could not finish mips buildworld due to a breakage in libsysdecode: > > --- all_subdir_lib/libsysdecode --- > ioctl.c: In function 'sysdecode_ioctlname': > ioctl.c:428: error: 'CCISS_PASSTHRU32' undeclared (first use in this function) > ioctl.c:428: error: (Each undeclared identifier is reported only once > ioctl.c:428: error: for each function it appears in.) > > The symbol CCISS_PASSTHRU32 is defined in the sys/dev/ciss/cissio.h header for __amd64 only. > And another one: > > --- all_subdir_lib/libsysdecode --- > ioctl.c:1382: error: 'RAID_ACTION32' undeclared (first use in this function) > ioctl.c:1386: error: 'MPTIO_READ_CFG_HEADER32' undeclared (first use in this function) > ioctl.c:1390: error: 'MPTIO_READ_CFG_PAGE32' undeclared (first use in this function) > ioctl.c:1394: error: 'MPTIO_READ_EXT_CFG_HEADER32' undeclared (first use in this function) > ioctl.c:1398: error: 'MPTIO_READ_EXT_CFG_PAGE32' undeclared (first use in this function) > ioctl.c:1402: error: 'MPTIO_WRITE_CFG_PAGE32' undeclared (first use in this function) > > These originate from sys/dev/mpt LSI Fusion-MPT SCSI/Fibre Channel driver driver. > Not sure if it runs within the MIPS universe. > > Reading r308603 commit log message, I suspect this part of code should not be built > during buildworld stage but it does for mips. Looking for an advice. Nevermind, that's a knob WITHOUT_CPP induces this problem. I've moved it from buildworld to installworld stage and problem is gone. Sorry for noise.