Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2012 05:26:37 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        stable@freebsd.org, i386@freebsd.org
Subject:   Re: [releng_8 tinderbox] failure on i386/i386
Message-ID:  <20120606122637.GJ2102@albert.catwhisker.org>
In-Reply-To: <201206061116.q56BGKNK007027@freebsd-legacy2.sentex.ca>
References:  <201206061116.q56BGKNK007027@freebsd-legacy2.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

--NgG1H2o5aFKkgPy/
Content-Type: multipart/mixed; boundary="zqjkMoGlbUJ91oFe"
Content-Disposition: inline


--zqjkMoGlbUJ91oFe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 06, 2012 at 11:16:20AM +0000, FreeBSD Tinderbox wrote:
> ...
> cc -c -O2 -pipe -fno-strict-aliasing  -std=3Dc99  -Wall -Wredundant-decls=
 -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith=
 -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostd=
inc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_=
HEADERS -include opt_global.h -fno-common -finline-limit=3D8000 --param inl=
ine-unit-growth=3D100 --param large-function-growth=3D1000 -DGPROF -falign-=
functions=3D16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpre=
ferred-stack-boundary=3D2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3=
 -ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/=
cam/scsi/scsi_xpt.c
> /src/sys/cam/scsi/scsi_xpt.c:511: error: 'CAM_QUIRK_NORPTLUNS' undeclared=
 here (not in a function)
> *** Error code 1
>=20
> Stop in /obj/i386/src/sys/LINT.
> *** Error code 1
>=20
> Stop in /src.
> *** Error code 1
>=20
> Stop in /src.
> TB --- 2012-06-06 11:16:20 - WARNING: /usr/bin/make returned exit code  1=
=20
> TB --- 2012-06-06 11:16:20 - ERROR: failed to build LINT kernel
> TB --- 2012-06-06 11:16:20 - 2297.46 user 438.36 system 3000.24 real
> ...

The attached patch fixed the problem for me; now running:

FreeBSD g1-227.catwhisker.org 8.3-STABLE FreeBSD 8.3-STABLE #402 236672M: W=
ed Jun  6 04:48:11 PDT 2012     root@g1-227.catwhisker.org:/common/S1/obj/u=
sr/src/sys/CANARY  i386

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--zqjkMoGlbUJ91oFe
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="scsi_xpt.c.patch"

Index: scsi_xpt.c
===================================================================
--- scsi_xpt.c	(revision 236672)
+++ scsi_xpt.c	(working copy)
@@ -71,6 +71,7 @@
 #define	CAM_QUIRK_NOSERIAL	0x02
 #define	CAM_QUIRK_HILUNS	0x04
 #define	CAM_QUIRK_NOHILUNS	0x08
+#define	CAM_QUIRK_NORPTLUNS	0x10
 	u_int mintags;
 	u_int maxtags;
 };

--zqjkMoGlbUJ91oFe--

--NgG1H2o5aFKkgPy/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEUEARECAAYFAk/PTH0ACgkQmprOCmdXAD2lwQCWKcIhxS4jXnlTdZaMVMmGzAAE
NQCdHUeQaPS/IRiJviKO6Ey8ik9ZiKQ=
=SpRX
-----END PGP SIGNATURE-----

--NgG1H2o5aFKkgPy/--



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