From owner-freebsd-ports@FreeBSD.ORG Mon Apr 11 21:08:27 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 883DE16A4CE; Mon, 11 Apr 2005 21:08:27 +0000 (GMT) Received: from 62-15-209-148.inversas.jazztel.es (62-15-209-148.inversas.jazztel.es [62.15.209.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 896A243D41; Mon, 11 Apr 2005 21:08:26 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from redesjm.local (orion.redesjm.local [192.168.254.16]) j3BL8GXK084884; Mon, 11 Apr 2005 23:08:16 +0200 (CEST) (envelope-from freebsd@redesjm.local) Received: from localhost (localhost [[UNIX: localhost]]) by redesjm.local (8.13.3/8.13.3/Submit) id j3BL8FRU001104; Mon, 11 Apr 2005 23:08:15 +0200 (CEST) (envelope-from freebsd@redesjm.local) From: Jose M Rodriguez To: freebsd-ports@freebsd.org Date: Mon, 11 Apr 2005 23:08:14 +0200 User-Agent: KMail/1.8 References: <200504102137.j3ALbm0h079084@corbulon.video-collage.com> <20050411194439.GA98521@isis.sigpipe.cz> <200504111649.19678.mi+mx@aldan.algebra.com> 0.73a on corbulon.video-collage.com In-Reply-To: <200504111649.19678.mi+mx@aldan.algebra.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200504112308.15810.freebsd@redesjm.local> X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-3; AVE: 6.30.0.7; VDF: 6.30.0.45; host: antares.redesjm.local) cc: ports@freebsd.org cc: doc@freebsd.org cc: Mikhail Teterin cc: Roman Neuhauser cc: Scott Long Subject: Re: mozilla's install hanging on amd64 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 21:08:27 -0000 El Monday 11 April 2005 22:49, Mikhail Teterin escribi=F3: > > patches for -march-related bugs welcome" (most reasonable IMNSHO) > > *All* patches are welcome -- including -march-related ones. That > -march should work follows simply from the documented CPUTYPE setting > and the bsd.cpu.mk "magic". Porters' handbook can help in > _clarifying_ this, true. > > When mozilla compiles on amd64, plenty of warnings are thrown up > regarding conversions between pointers and integers of different > size. Could this be my problem -- exposed by some opteron-specific > trick in gcc? > > -mi > Have you try firefox? Can you try the attached patch? Have you a real advantage using CPUTYPE? can you meter this? =2D-- patch mozilla begins here --- =2D-- /usr/HEAD/ports/www/mozilla/Makefile Wed Apr 6 22:25:05 2005 +++ www/mozilla/Makefile Mon Apr 11 23:04:02 2005 @@ -210,8 +210,10 @@ .endif =20 .if defined(WITH_OPTIMIZED_CFLAGS) =2DCFLAGS+=3D -O2 =2DCONFIGURE_ARGS+=3D --enable-optimize=3D-O2 +CFLAGS:=3D -O2 -fno-strict-aliasing ${CFLAGS:N-O*} +.else +CFLAGS:=3D -O ${CFLAGS:N-O*:N-m*} +CONFIGURE_ARGS+=3D --enable-optimize=3D-O .endif =20 .if !defined(WITHOUT_MENU_ENTRY) =2D-- patch mozilla ends here --- =2D- josemi