Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2001 02:02:09 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        stable@FreeBSD.org
Subject:   HEADS UP: lots of updates
Message-ID:  <20010304020209.A29788@mollari.cthul.hu>

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

--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

There have been quite a few merges to -stable tonight -- I tried to
test everything before committing, but there's still a chance
something was broken.  Keep an eye out for reports of build failures
before updating.

The big news is the new CPUTYPE code (described in
/etc/defaults/make.conf), which is a hook for describing the CPU type
you want to optimize the build for (pentium, pentium pro, alpha EV6,
...).  The makefile logic will add the correct gcc compiler flags to
produce CPU-optimized code, and this also causes any available
assembler code for that CPU to be enabled.  Currently this is only
used by OpenSSL, which now builds asm code on the i386 by default (all
CPUs - though the code generated for a 386 or 486 has not been
tested).  This gives substantial performance increases :-)

This will also be used to enable asm optimizations in ports, instead
of the various ad-hoc methods currently used.

To start using this, I think you'll need to do two make worlds,
because the CPUTYPE stuff won't be picked up on the first pass.  If
you're feeling adventurous, rebuild and reinstall make in
/usr/src/usr.bin/make, and make install in /usr/src/share/mk, then add
the appropriate CPUTYPE value (see /usr/src/etc/defaults/make.conf) to
your environment or /etc/make.conf, and it should work on the first
pass.

Kris

--6c2NcOVqGQ03X4Wi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE6ohKhWry0BWjoQKURArreAKCdXsQ60Rq1xsHJLNudIbjHtN+3+ACggVCN
bApX+wZRQHGzF4d5Qip8A2c=
=7JDN
-----END PGP SIGNATURE-----

--6c2NcOVqGQ03X4Wi--

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




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