From owner-freebsd-stable@FreeBSD.ORG Fri Nov 20 19:46:16 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B2E1106566C for ; Fri, 20 Nov 2009 19:46:16 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id E97C88FC08 for ; Fri, 20 Nov 2009 19:46:15 +0000 (UTC) Received: from OMTA22.westchester.pa.mail.comcast.net ([76.96.62.73]) by QMTA05.westchester.pa.mail.comcast.net with comcast id 7TXg1d0501ap0As55XmF9P; Fri, 20 Nov 2009 19:46:15 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by OMTA22.westchester.pa.mail.comcast.net with comcast id 7XsJ1d00P3S48mS3iXsK2w; Fri, 20 Nov 2009 19:52:19 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id D21B11E3035; Fri, 20 Nov 2009 11:46:13 -0800 (PST) Date: Fri, 20 Nov 2009 11:46:13 -0800 From: Jeremy Chadwick To: freebsd-stable@freebsd.org Message-ID: <20091120194613.GA81572@icarus.home.lan> References: <4B02B7D4.7020502@madhaus.cns.utoronto.ca> <4B06E274.3090207@madhaus.cns.utoronto.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B06E274.3090207@madhaus.cns.utoronto.ca> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: NSIS compile failed on FreeBSD 7.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2009 19:46:16 -0000 On Fri, Nov 20, 2009 at 01:39:48PM -0500, Matt Wilks wrote: > Just a note of closure. Apparently NSIS doesn't compile on 64-bit > architectures. Compiled fine on an i386 7.2 install (same machine), > once the proper library paths were provided. > > Matt Wilks wrote: > >I'm attempting to install NSIS (http://nsis.sourceforge.net/) on > >an amd64 FreeBSD 7.2 system and having trouble. When I run > > > >scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all > >NSIS_CONFIG_CONST_DATA_PATH=no > > > >in the source directory for NSIS, I get a bunch of errors that look like: > > > >/usr/include/c++/4.2/new:95: error: 'operator new' takes type > >'size_t' ('unsigned int') as first parameter > > > >A google search gives me a link to this bug > >http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28582 that doesn't > >seem to have been touched since 2006. Is there someway around > >this compile error? > > > >Thanks, > >Matt If that's indeed the case, then the port Makefile needs to be modified to reject building on any architectures other than i386. This should suffice: ONLY_FOR_ARCHS= i386 If you could file a PR on this matter, the FreeBSD Project folks would likely appreciate it. :-) -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |