libsysdecode (Re: MFC test request)

Eugene Grosbein egrosbein at rdtc.ru
Sun Nov 20 15:40:54 UTC 2016


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.



More information about the freebsd-mips mailing list