NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/44305: Values of atf_arch and atf_machines are reversed
>Number: 44305
>Category: bin
>Synopsis: Values of atf_arch and atf_machines are reversed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 01 17:20:00 +0000 2011
>Originator: Julio Merino
>Release: atf 0.12 (and head)
>Organization:
Julio Merino
>Environment:
System: NetBSD homeworld.netbsd.org 5.1_STABLE NetBSD 5.1_STABLE (NBMAIL_DOMU)
#1: Sat Dec 25 13:12:37 UTC 2010
root%franklin.NetBSD.org@localhost:/home/netbsd/5/amd64/kern-compile/NBMAIL_DOMU
amd64
Architecture: x86_64
Machine: amd64
>Description:
The values of atf_arch and atf_machine do not match common sense.
arch should refer to the CPU architecture whereas machine should
refer to the machine type. (I.e. there can be multiple machines
with the same arch.)
Unfortunately, for some weird historical reasons, this is not the
case and the values of atf_arch and atf_machine are reversed.
Kyua already does the right thing but we need to make ATF do this
early so that we can correctly propagate the changes everywhere.
>How-To-Repeat:
>Fix:
Reverse the definitions of atf_arch and atf_machine and adjust all
existing test cases to reverse the definitions of these properties.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index