Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2003 00:48:14 +0200
From:      Thierry Thomas <thierry@pompo.net>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        muc-lists-freebsd-stable@moderators.muc.de
Subject:   Re: 5.0-RELEASE --> cannot build any Mozilla Version
Message-ID:  <20030521224814.GA50517@graf.pompo.net>
In-Reply-To: <1053554366.415.73.camel@gyros>
References:  <bag1rm$rj4ti$1@ID-193052.news.dfncis.de> <20030521200912.GA538@athlon.pn.xcllnt.net> <3ECBE25B.6050106@mukappabeta.de> <1053554366.415.73.camel@gyros>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Mer 21 mai 03 à 23:59:27 +0200, Joe Marcus Clarke <marcus@marcuscom.com>
 écrivait :
> 
> --march=p4 or pentium4 will cause Mozilla to break.

Only when gcc is broken, i.e. if it has been built without `-mno-sse2'.

To fix it, change your CFLAGS in /etc/make.conf, e.g.
CFLAGS= -O -pipe -mno-sse2

and then rebuild gcc (or rebuild + reinstall world), and it will work.

Note that without this trick, you will encounter other problems. For
example, you'll be able to build ogg / vorbis, but it will segfault...

References: PR bin/43299.

Regards,
-- 
Th. Thomas.



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