From owner-freebsd-apache@FreeBSD.ORG Wed Feb 10 10:15:07 2010 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52C491065694 for ; Wed, 10 Feb 2010 10:15:07 +0000 (UTC) (envelope-from jeremie@le-hen.org) Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [212.27.42.1]) by mx1.freebsd.org (Postfix) with ESMTP id D930E8FC4A for ; Wed, 10 Feb 2010 10:15:04 +0000 (UTC) Received: from smtp1-g21.free.fr (localhost [127.0.0.1]) by smtp1-g21.free.fr (Postfix) with ESMTP id 67145940172; Wed, 10 Feb 2010 11:14:59 +0100 (CET) Received: from endor.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp1-g21.free.fr (Postfix) with ESMTP id 42A80940203; Wed, 10 Feb 2010 11:14:57 +0100 (CET) Received: from felucia.tataz.chchile.org (felucia.tataz.chchile.org [192.168.1.9]) by endor.tataz.chchile.org (Postfix) with ESMTP id 3949C33E4E; Wed, 10 Feb 2010 10:14:57 +0000 (UTC) Received: by felucia.tataz.chchile.org (Postfix, from userid 1000) id 2733AA1128; Wed, 10 Feb 2010 10:14:57 +0000 (UTC) Date: Wed, 10 Feb 2010 11:14:57 +0100 From: Jeremie Le Hen To: "Philip M. Gollucci" Message-ID: <20100210101456.GH60054@felucia.tataz.chchile.org> References: <20100209221846.GD60054@felucia.tataz.chchile.org> <20100209222117.GE60054@felucia.tataz.chchile.org> <4B721611.5040509@p6m7g8.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B721611.5040509@p6m7g8.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-apache@freebsd.org, Jeremie Le Hen Subject: Re: error: Size of "void *" is less than size of "long" X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2010 10:15:07 -0000 Hi Philip, On Tue, Feb 09, 2010 at 09:12:33PM -0500, Philip M. Gollucci wrote: > On 2/9/2010 5:21 PM, Jeremie Le Hen wrote: > > Forgot the attachments :). > > Your system is confused!! The problem isn't the port is something local > in your system or config or some odd cross compile foobar. > > $ ./size > sizeof(long) = 4 > sizeof(void*) = 4 > > Can you run this please and post your output ? > > #include > > int main (int argc, char **argv) { > > (void)fprintf(stdout, "sizeof(long) = %d\n", sizeof(long)); > (void)fprintf(stdout, "sizeof(void*) = %d\n", sizeof(void*)); > > return 0; > } > > If either of them are '8' I'd look towards cross compile foobars. Actually, I had already extracted the guilty test from the configure script and it didn't return an error when run manually: axl# cat /tmp/test.c int main(void) { return sizeof(void *) < sizeof(long); } axl# gcc -o /tmp/test /tmp/test.c axl# /tmp/test ; echo $? 0 Here is your test program: axl# cat > /tmp/test2.c #include int main (int argc, char **argv) { (void)fprintf(stdout, "sizeof(long) = %d\n", sizeof(long)); (void)fprintf(stdout, "sizeof(void*) = %d\n", sizeof(void*)); return 0; } ^Daxl# gcc -o /tmp/test2 /tmp/test2.c axl# /tmp/test2 sizeof(long) = 4 sizeof(void*) = 4 I am utterly puzzled. I don't have any local change. Regards, -- Jeremie Le Hen Humans are born free and equal. But some are more equal than the others. Coluche