From owner-freebsd-ports@FreeBSD.ORG Sun Feb 12 21:17:45 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C22B1065693; Sun, 12 Feb 2012 21:17:45 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id E15688FC13; Sun, 12 Feb 2012 21:17:44 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.5/8.14.5) with ESMTP id q1CLHi9T093747; Sun, 12 Feb 2012 13:17:44 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.5/8.14.5/Submit) id q1CLHide093746; Sun, 12 Feb 2012 13:17:44 -0800 (PST) (envelope-from sgk) Date: Sun, 12 Feb 2012 13:17:44 -0800 From: Steve Kargl To: Chris Rees Message-ID: <20120212211744.GC86775@troutmask.apl.washington.edu> References: <20120212193927.GA86426@troutmask.apl.washington.edu> <20120212201624.GA86650@troutmask.apl.washington.edu> <4F3820AD.4090702@FreeBSD.org> <20120212204118.GA86775@troutmask.apl.washington.edu> <20120212204526.GB86775@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-ports@freebsd.org, Andriy Gapon Subject: Re: Please test your commits X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2012 21:17:45 -0000 On Sun, Feb 12, 2012 at 08:52:56PM +0000, Chris Rees wrote: > On 12 Feb 2012 20:45, "Steve Kargl" > wrote: > > > > > > laptop:root[252] uname -a > > FreeBSD laptop 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r230975M: Sat Feb 4 > 09:03:27 PST 2012 root@laptop:/usr/obj/usr/src/sys/MOBILE i386 > > Well, that immediately shows that this is a 10.0 error, which means it's > almost certainly due to freebsd1* being matched in some configure script. > Empirical evidence suggests that ghostscript9 developers are using a newer version of the autotools. laptop:root[262] find . -name configure | xargs grep -i "freebsd\[1" | more ./lcms/configure: freebsd[123].*) objformat=aout ;; ./lcms/configure: freebsd[12].*) ./lcms/configure: freebsd[123].*) objformat=aout ;; ./lcms/configure: freebsd[123].*) objformat=aout ;; ./lcms/configure: freebsd[123].*) objformat=aout ;; ./freetype/builds/unix/configure: freebsd[123].*) objformat=aout ;; ./lcms2/configure: freebsd[123].*) objformat=aout ;; ./lcms2/configure: freebsd[12].*) ./lcms2/configure: freebsd[123].*) objformat=aout ;; laptop:root[263] find . -name configure | xargs grep -i "freebsd1" | more ./lcms/configure: freebsd1.*) ./lcms/configure:freebsd1.*) ./lcms/configure:freebsd1.*) ./lcms/configure: freebsd1.*) ./lcms/configure:freebsd1.*) ./lcms/configure: freebsd1.*) ./lcms/configure:freebsd1.*) ./freetype/builds/unix/configure: freebsd1.*) ./freetype/builds/unix/configure:freebsd1.*) ./lcms2/configure: freebsd1.*) ./lcms2/configure:freebsd1.*) The malloc issue will not appear on amd64 because the problematic code is #elif !defined(__amd64__) && !defined(__APPLE__) #define HAVE_MEMALIGN #include #endif with the obvious fix #elif !defined(__amd64__) && !defined(__APPLE__) && !defined(__FreeBSD__) #define HAVE_MEMALIGN #include #endif But, the 2nd issue with too many arguments in a function call is clearly evident on amd64 because I justed test that on FreeBSD 10. -- Steve