From owner-freebsd-current@FreeBSD.ORG Sun May 12 20:41:13 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CA1B4CFD for ; Sun, 12 May 2013 20:41:13 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-pd0-f182.google.com (mail-pd0-f182.google.com [209.85.192.182]) by mx1.freebsd.org (Postfix) with ESMTP id A5D7FDD8 for ; Sun, 12 May 2013 20:41:13 +0000 (UTC) Received: by mail-pd0-f182.google.com with SMTP id 3so3907363pdj.27 for ; Sun, 12 May 2013 13:41:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:from:x-x-sender:to:cc:subject:in-reply-to :message-id:references:user-agent:mime-version:content-type :x-gm-message-state; bh=6+hPN5VdQJxtTfQt+FouWWnfM1UkGsVod9xIfk9INpY=; b=ovz1k+gTVXrV76Ay/PgZR3Z6T+71nY0aRszMwN8cI8eon8nOJPQD7iQiSIVNStmetP v1aELyQcmD5bLy5bH4B7lOa2CbMjmQmihGntBEJDFndcl/d712lmN6nC1awqScOIPNfi TlVK1iblbHm577uSbgmlEgqOowl7vTj11nrp2nBcxDTJ9z+FstwgyxgFXjiVOziYBtIM tlvymV4k6xDb+oLTmvMBGWkHCfyWrlyoAPl87zhHwYXAC3AnSeVKG8P+ttNsnGFBKaoW omgcZPtlEAwGbKtjppq/oymT1J5Xfgjb1pP5qfevf4bYky6+RhDKwVqq9rWnDwAHC87V h3/A== X-Received: by 10.68.232.42 with SMTP id tl10mr26303506pbc.72.1368391271616; Sun, 12 May 2013 13:41:11 -0700 (PDT) Received: from rrcs-66-91-135-210.west.biz.rr.com (rrcs-66-91-135-210.west.biz.rr.com. [66.91.135.210]) by mx.google.com with ESMTPSA id xl10sm11943230pac.15.2013.05.12.13.41.09 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 12 May 2013 13:41:10 -0700 (PDT) Date: Sun, 12 May 2013 10:35:29 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: David Wolfskill Subject: Re: [head tinderbox] failure on i386/i386 In-Reply-To: <20130512172747.GJ1287@albert.catwhisker.org> Message-ID: References: <201305121145.r4CBjbsm018759@freebsd-current.sentex.ca> <20130512141648.GB1287@albert.catwhisker.org> <20130512172747.GJ1287@albert.catwhisker.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Gm-Message-State: ALoCoQmWRBKBoOz0DvRBEp7Yiov68XVm/ZkzyJ0zH1NaWhhq8IPSoJJbV8usza0Y8LvqpNh8pyKF Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 May 2013 20:41:13 -0000 On Sun, 12 May 2013, David Wolfskill wrote: > 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-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-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=c99 -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-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/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=c99 -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-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/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 array 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) == 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_assert' >> #define _Static_assert(x, y) __Static_assert(x, __COUNTER__) >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> /usr/src/sys/sys/cdefs.h:252:31: note: expanded from macro '__Static_assert' >> #define __Static_assert(x, y) ___Static_assert(x, y) >> ^~~~~~~~~~~~~~~~~~~~~~ >> /usr/src/sys/sys/cdefs.h:253:60: note: expanded from macro '___Static_assert' >> #define ___Static_assert(x, y) typedef char __assert_ ## y[(x) ? 1 : -1] >> ^~~~~~~~~~~~ >> 1 error generated. >> *** [vfs_subr.o] Error code 1 >> .... >> >> >> Based on the above, I reverted r250551 and re-started the "make >> buildkernel" -- which succeeded: >> >> FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #897 r250557M/250558:1000032: Sun May 12 06:44:01 PDT 2013 root@g1-227.catwhisker.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/:1000032: Sun May 12 10:09:59 PDT 2013 root@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY amd64 > Thanks. It looks like it's actually an alignment problem and that compile error is erroneous. I'm going to check in a fix by weakening the alignment requirement to 32bit and then build locally but I will probably race tinderbox to verify that it resolves 32bit. Jeff > Peace, > david > -- > 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. >