Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Nov 2016 22:40:33 +0700
From:      Eugene Grosbein <egrosbein@rdtc.ru>
To:        Sean Bruno <sbruno@freebsd.org>, freebsd-mips@freebsd.org, bdrewery@freebsd.org
Subject:   Re: libsysdecode (Re: MFC test request)
Message-ID:  <5831C3F1.1040201@rdtc.ru>
In-Reply-To: <58315FCD.4020102@rdtc.ru>
References:  <20161027172820.GA44678@bluezbox.com> <5813143B.3080308@grosbein.net> <57c4bb4f-1bba-5620-9a88-46364830c0d0@freebsd.org> <58315FCD.4020102@rdtc.ru>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5831C3F1.1040201>