Date: Mon, 11 Apr 2005 23:08:14 +0200 From: Jose M Rodriguez <josemi@freebsd.jazztel.es> To: freebsd-ports@freebsd.org Cc: Scott Long <scottl@samsco.org> Subject: Re: mozilla's install hanging on amd64 Message-ID: <200504112308.15810.freebsd@redesjm.local> In-Reply-To: <200504111649.19678.mi%2Bmx@aldan.algebra.com> References: <200504102137.j3ALbm0h079084@corbulon.video-collage.com> <20050411194439.GA98521@isis.sigpipe.cz> <200504111649.19678.mi%2Bmx@aldan.algebra.com> 0.73a on corbulon.video-collage.com
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504112308.15810.freebsd>