From owner-freebsd-current@FreeBSD.ORG Mon Oct 23 01:47:52 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE9ED16A540 for ; Mon, 23 Oct 2006 01:47:52 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 327B243D60 for ; Mon, 23 Oct 2006 01:47:49 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so1019631uge for ; Sun, 22 Oct 2006 18:47:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lKCnKSF0f0fpUkYB8VMIq9ltxrNOSn0m1XK2Mp5a0P7KAThWu5yFGTJhExJabCAnUToKqaEPiIqwrOu43VQedPHHgGddIX3besxU9XpvfrFQYx8i6pT2PT6D3mj1kPERLzAX7jAkLS08+cj3OxIP8s3z3Z7mhTSbdQ563uhHz+Y= Received: by 10.66.220.17 with SMTP id s17mr6462357ugg; Sun, 22 Oct 2006 18:47:49 -0700 (PDT) Received: by 10.67.86.8 with HTTP; Sun, 22 Oct 2006 18:47:49 -0700 (PDT) Message-ID: <790a9fff0610221847u3494e76dsd3d8328d499d6200@mail.gmail.com> Date: Sun, 22 Oct 2006 20:47:49 -0500 From: "Scot Hetzel" To: kib@freebsd.org, current@freebsd.org In-Reply-To: <453AD5C2.6030507@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061022000656.C384373068@freebsd-current.sentex.ca> <453AD5C2.6030507@freebsd.org> Cc: Subject: Re: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 23 Oct 2006 01:47:53 -0000 On 10/21/06, Peter Grehan wrote: > > cc -O2 -pipe -I/src/lib/libc/include -I/src/lib/libc/../../include -I/src/lib/libc/powerpc -D__DBINTERFACE_PRIVATE -I/src/lib/libc/../../contrib/gdtoa -DINET6 -I/obj/powerpc/src/lib/libc -I/src/lib/libc/resolv -DPOSIX_MISTAKE -I/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/src/lib/libc/rpc -DYP -DNS_CACHING -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/lib/libc/stdio/xprintf.c > > /src/lib/libc/stdio/xprintf.c: In function `__v2printf': > > /src/lib/libc/stdio/xprintf.c:279: warning: passing arg 2 of `__builtin_va_copy' discards qualifiers from pointer target type > > *** Error code 1 > > I did a quick change of > > va_copy(ap, ap1); > > to > > va_copy(ap, (va_list) ap1); > > .. and ended up with: > > /usr/home/grehan/freebsd/dev_head/src/lib/libc/stdio/xprintf.c: In > function `__v2printf': > /usr/home/grehan/freebsd/dev_head/src/lib/libc/stdio/xprintf.c:279: > error: cast specifies array type > > A va_list on powerpc is a struct, but va_copy should do the right thing. > I'm also seeing this problem on FreeBSD/amd64-CURRENT. I had reverted the change back to revision 1.3. And was able to sucessfully complete a buildworld. Maybe this change should be made I386 specific, since it is breaking builds for other arches. -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.