On Tue, Jul 20, 2010 at 6:07 AM, John Baldwin <[email protected]> wrote:
> On Monday, July 19, 2010 5:30:54 pm Kostik Belousov wrote:
>> Hi,
>> I intend to commit the following change, that makes sysctls
>> hw.machine_arch and hw.machine to return "i386" for 32 bit
>> binaries run on amd64. In particular, 32 bit uname -m and uname -p
>> print "i386", that is good for i386 jails on amd64 kernels.
>>
>> I find the change very useful for me, but I wonder why such trivial
>> modification is not yet done. Can anybody note a possible fallout from
>> it ?
>
> Presumably ia64 and powerpc64 would need a similar change as well?  It looks
> fine to me.  I suspect Y! used the UNAME_* approach as it didn't add yet-
> another local diff to maintain in the kernel, and the uname fixes at Y! might
> have predated SCTL_MASK32.

I thought amd64 was a special case because we run biarch, whereas ia64
was always 64-bit...

Wouldn't this change also create problems later on down the line when
we're no longer biarch?

Thanks,
-Garrett
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "[email protected]"

Reply via email to