Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 02:33:29 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Piotr Gnyp <toread@discordia.pl>
Cc:        questions@freebsd.org
Subject:   Re: make.conf question
Message-ID:  <20050411093328.GA18884@xor.obsecurity.org>
In-Reply-To: <20050411111418.J998@discordia.pl>
References:  <20050411111418.J998@discordia.pl>

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

--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 11, 2005 at 11:27:22AM +0200, Piotr Gnyp wrote:
> Hi.
> My 4.11 boxes:
> uname -r
> 4.11-RELEASE-p1
> CPU:
> 1. CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.30-MHz 686-class CPU)
>   Origin =3D "GenuineIntel"  Id =3D 0xf27  Stepping =3D 7
>=20
> Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,
> SSE2,SS,HTT,TM,PBE>
>   Hyperthreading: 2 logical CPUs
>=20
> 2. CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2798.66-MHz 686-class CPU)
>   Origin =3D "GenuineIntel"  Id =3D 0xf29  Stepping =3D 9
>=20
> Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,C
> MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>=20
> make.conf:
> CPUTYPE=3Dp4
>=20
> During build i can see:
> -march=3Dpentiumpro
>=20
> instead of pentium4. On my 5.3 box everything works great. Is this=20
> setting not working on FreeBSD 4.x? Or maybe i should set it somewhere=20
> else also.

The version of gcc that comes with FreeBSD 4.x can't do better than
this, i.e. it doesn't know about optimizations for newer CPUs.  In
practise this isn't important.

Kris

--Dxnq1zWXvFF0Q93v
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCWkRoWry0BWjoQKURAjc/AKDqChOF950p00EihMIXs7xIPPiAhgCgolLT
NchOwY3jy1RikWUmIA1ny/I=
=G0/T
-----END PGP SIGNATURE-----

--Dxnq1zWXvFF0Q93v--



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