Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2013 10:27:47 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   Re: [head tinderbox] failure on i386/i386
Message-ID:  <20130512172747.GJ1287@albert.catwhisker.org>
In-Reply-To: <20130512141648.GB1287@albert.catwhisker.org>
References:  <201305121145.r4CBjbsm018759@freebsd-current.sentex.ca> <20130512141648.GB1287@albert.catwhisker.org>

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

--2nTeH+t2PBomgucg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

It appears that the issue is i386- (or 32-bit-) specific.

On Sun, May 12, 2013 at 07:16:48AM -0700, David Wolfskill wrote:
> On Sun, May 12, 2013 at 11:45:37AM +0000, FreeBSD Tinderbox wrote:
> > TB --- 2013-05-12 05:50:18 - tinderbox 2.10 running on freebsd-current.=
sentex.ca
> > TB --- 2013-05-12 05:50:18 - FreeBSD freebsd-current.sentex.ca 8.3-PRER=
ELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012     des@free=
bsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
> > TB --- 2013-05-12 05:50:18 - starting HEAD tinderbox run for i386/i386
> > TB --- 2013-05-12 05:50:18 - cleaning the object tree
> > TB --- 2013-05-12 05:50:18 - /usr/local/bin/svn stat /src
> > TB --- 2013-05-12 05:50:23 - At svn revision 250553
> > TB --- 2013-05-12 05:50:24 - building world
> ...
> ...
> ctfconvert -L VERSION -g vfs_lookup.o
> clang -c -O -pipe  -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs=
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-=
qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs=
 -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empt=
y-body  -Wno-error-parentheses-equality -nostdinc  -I. -I/usr/src/sys -I/us=
r/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_=
global.h  -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -=
fstack-protector -Werror  /usr/src/sys/kern/vfs_mountroot.c
> :> export_syms
> awk -f /usr/src/sys/conf/kmod_syms.awk drm2.kld  export_syms | xargs -J% =
objcopy % drm2.kld
> clang -c -O -pipe  -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs=
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-=
qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs=
 -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empt=
y-body  -Wno-error-parentheses-equality -nostdinc  -I. -I/usr/src/sys -I/us=
r/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_=
global.h  -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -=
fstack-protector -Werror  /usr/src/sys/kern/vfs_subr.c
> ctfconvert -L VERSION -g vfs_mount.o
> /usr/src/sys/kern/vfs_subr.c:305:1: error: '__assert_4' declared as an ar=
ray with a negative size
> PCTRIE_DEFINE(BUF, buf, b_lblkno, buf_trie_alloc, buf_trie_free);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/src/sys/sys/pctrie.h:40:66: note: expanded from macro 'PCTRIE_DEFINE'
> CTASSERT(sizeof(((struct type *)0)->field) =3D=3D sizeof(uint64_t));     =
   \
>                                                                         ^
> /usr/src/sys/sys/systm.h:100:21: note: expanded from macro '\
> CTASSERT'
> #define CTASSERT(x)     _Static_assert(x, "compile-time assertion failed")
>                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/src/sys/sys/cdefs.h:251:30: note: expanded from macro '_Static_asser=
t'
> #define _Static_assert(x, y)    __Static_assert(x, __COUNTER__)
>                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/src/sys/sys/cdefs.h:252:31: note: expanded from macro '__Static_asse=
rt'
> #define __Static_assert(x, y)   ___Static_assert(x, y)
>                                 ^~~~~~~~~~~~~~~~~~~~~~
> /usr/src/sys/sys/cdefs.h:253:60: note: expanded from macro '___Static_ass=
ert'
> #define ___Static_assert(x, y)  typedef char __assert_ ## y[(x) ? 1 : -1]
>                                                             ^~~~~~~~~~~~
> 1 error generated.
> *** [vfs_subr.o] Error code 1
> ....
>=20
>=20
> Based on the above, I reverted r250551 and re-started the "make
> buildkernel" -- which succeeded:
>=20
> FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #897  r25=
0557M/250558:1000032: Sun May 12 06:44:01 PDT 2013     root@g1-227.catwhisk=
er.org:/usr/obj/usr/src/sys/CANARY  i386
> ....

However, I did not need to revert r250551 to build successfully on amd64:

FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #2  rM/:100=
0032: Sun May 12 10:09:59 PDT 2013     root@g1-227.catwhisker.org:/usr/obj/=
usr/src/sys/CANARY  amd64

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

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

--2nTeH+t2PBomgucg
Content-Type: application/pgp-signature

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

iEYEARECAAYFAlGP0RMACgkQmprOCmdXAD19ZACeOd7HoxFiVFRt1MRaSI+K8EbV
wfAAn1HcHLX7Ddq4PKyqXvOl3lHHscWU
=mt0N
-----END PGP SIGNATURE-----

--2nTeH+t2PBomgucg--



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