Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2002 21:43:56 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        <current@freebsd.org>
Cc:        <kan@freebsd.org>
Subject:   -march=pentium4 (CPUTYPE?=p4) breaks libm (src/lib/msun)
Message-ID:  <20021008212852.G451-100000@levais.imp.ch>

next in thread | raw e-mail | index | archive | help

Hi,

If one does libm compile with -march=pentium4, there seem some
math related functions be broken. -march=pentiumpro still works fine.

Happens with gcc 3.1.1 and gcc 3.2.1 prerelease.

Ports which are broken with libm and -march=pentium4

- xmms (no sound)
- mpg123 (no sound)
- openoffice (no text everywhere and no menues)

So until this is fixed, people should stay away from using
-march=pentium4. I'll see if I can find the broken function.

-march=athlon seems to work fine.
-march=pentiumpro seems to work fine
-march=pentium seems to work fine

So don't use CPUTYPE?=p4 in your /etc/make.conf. Looks like there could
be some crashes related to this one. Bezier and X-Server crashes ? Or is
nobody using CPUTYPE?=p4 ?

Martin

Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 061 826 93 00: +41 61 826 93 01
PGP: <finger -l mbr@freebsd.org>
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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