mozilla's install hanging on amd64

Jose M Rodriguez josemi at freebsd.jazztel.es
Mon Apr 11 14:08:27 PDT 2005


El Monday 11 April 2005 22:49, Mikhail Teterin escribió:
> > 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?

--- patch mozilla begins here ---
--- /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
 
 .if defined(WITH_OPTIMIZED_CFLAGS)
-CFLAGS+=		-O2
-CONFIGURE_ARGS+=	--enable-optimize=-O2
+CFLAGS:=		-O2 -fno-strict-aliasing ${CFLAGS:N-O*}
+.else
+CFLAGS:=		-O ${CFLAGS:N-O*:N-m*}
+CONFIGURE_ARGS+=	--enable-optimize=-O
 .endif
 
 .if !defined(WITHOUT_MENU_ENTRY)
--- patch mozilla ends here ---

--
  josemi


More information about the freebsd-ports mailing list