From owner-freebsd-tinderbox@FreeBSD.ORG Sun Oct 22 02:21:43 2006 Return-Path: X-Original-To: tinderbox@freebsd.org Delivered-To: freebsd-tinderbox@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D97716A412; Sun, 22 Oct 2006 02:21:43 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E8B443D5D; Sun, 22 Oct 2006 02:21:42 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [192.168.0.14] (dsl-63-249-90-35.cruzio.com [63.249.90.35]) by dommail.onthenet.com.au (MOS 3.5.7-GR) with ESMTP id CFT67621 (AUTH peterg@ptree32.com.au); Sun, 22 Oct 2006 12:21:38 +1000 (EST) Message-ID: <453AD5C2.6030507@freebsd.org> Date: Sat, 21 Oct 2006 19:21:54 -0700 From: Peter Grehan User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: FreeBSD Tinderbox References: <20061022000656.C384373068@freebsd-current.sentex.ca> In-Reply-To: <20061022000656.C384373068@freebsd-current.sentex.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: powerpc@freebsd.org, kib@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-tinderbox@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: grehan@freebsd.org List-Id: "Tinderbox reports, responses, and meta-comments" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Oct 2006 02:21:43 -0000 > 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. Any C language geeks out there with advice ? later, Peter.