kern/77355: Detect i*86 subarches for uname

Devon H. O'Dell dodell at sitetronics.com
Fri Feb 11 02:18:28 PST 2005


On Fri, 2005-02-11 at 08:40 +0000, Robert Millan wrote:
> The following reply was made to PR kern/77355; it has been noted by GNATS.
> 
> From: Robert Millan <rmh at debian.org>
> To: Kris Kennaway <kris at obsecurity.org>
> Cc: FreeBSD-gnats-submit at FreeBSD.org
> Subject: Re: kern/77355: Detect i*86 subarches for uname
> Date: Fri, 11 Feb 2005 09:30:35 +0100
> 
>  On Thu, Feb 10, 2005 at 03:08:26PM -0800, Kris Kennaway wrote:
>  > > >Description:
>  > > This patch enables the kernel of FreeBSD to give output of i*86 subarches
>  > > in the uname kernel call.  As a result, `uname -m' may print "i686", etc
>  > > instead of always "i386".
>  > 
>  > Why?  Sounds like it could break a lot of stuff.
>  
>  With this change, the config.guess triplet becomes i686-unknown-freebsd5.3
>  (or whatever suitable).  Some programs detect this and use it for optimisation.
>  
>  -- 
>   .''`.   Proudly running Debian GNU/kFreeBSD unstable/unreleased (on UFS2+S)
>  : :' :
>  `. `'    http://www.debian.org/ports/kfreebsd-gnu
>    `-
> _______________________________________________
> freebsd-bugs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at freebsd.org"

The proper way to specify optimizations in FreeBSD is with relevant
entries in /etc/make.conf.

--Devon



More information about the freebsd-bugs mailing list