NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/57320: ATF test case kernel/t_magic_symlinks:machine_arch fails on RPI02W/evbarm only



The following reply was made to PR kern/57320; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/57320: ATF test case kernel/t_magic_symlinks:machine_arch
 fails on RPI02W/evbarm only
Date: Wed, 12 Apr 2023 07:47:34 +0200

 On Wed, Apr 12, 2023 at 03:35:02AM +0000, David H. Gutteridge wrote:
 >  This is occurring because the test assumes that @machine_arch will
 >  resolve to the same value as "uname -p". For your hardware, this isn't
 >  the case. "uname -p" returns (I assume) "earmv6hf" (as would "sysctl
 >  hw.machine_arch"). However, @machine_arch there becomes simply "earm",
 >  so there's a mismatch.
 
 I am confused. uname -p and -m print hw.machine ("evbarm") and
 hw.machine_arch ("earmv6hf") respectively. Those are the values that
 the magic symlinks should use too (and I think they do).
 
 Where does the ABI name ("earm") come into play?
 
 Martin
 


Home | Main Index | Thread Index | Old Index