Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 22:21:20 +0200
From:      Jose M Rodriguez <josemi@freebsd.jazztel.es>
To:        freebsd-gnome@freebsd.org
Cc:        Scott Long <scottl@samsco.org>
Subject:   Re: mozilla's install hanging on amd64
Message-ID:  <200504112221.21758.freebsd@redesjm.local>
In-Reply-To: <200504111229.39072.mi%2Bmx@aldan.algebra.com>
References:  <200504102137.j3ALbm0h079084@corbulon.video-collage.com> <425AA274.2090604@samsco.org> <200504111229.39072.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 18:29, Mikhail Teterin escribi=F3:
> > I don't really care to argue with you on this.  If you want to be
> > upset that your special gcc flags don't work, that's your business.
>
> My whole point, Scott, is that there is nothing special about "my gcc
> flags". NOTHING. Setting CPUTYPE to match one's processor flavor is a
> long-documented way to do things -- fact. Such setting results in the
> corresponding -march=3DXXX automatically -- fact. All ports must handle
> this. Those that can not are broken. Plan and simple. There is
> nothing to argue: `-O -pipe -march=3Dopteron' must work.
>


This is a very agressive aproach. -march=3Dopteron is supported in=20
previous versions of gcc(3)?  I think no. Can you try a more=20
conservative approach like -march=3Dpentium-mmx -mtune=3Doptetron?

But, in the meantime, I think that behave as firefox maybe a better=20
aproach:

=2E...
=2Eif defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS:=3D	-O2 -fno-strict-aliasing ${CFLAGS:N-O*}
=2Eelse
CFLAGS:=3D	-O ${CFLAGS:N-O*:N-m*}
CONFIGURE_ARGS+=3D	--enable-optimize=3D-O
=2Eendif

=2D-
  josemi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504112221.21758.freebsd>