NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-arm/48193: On NetBSD/evbearmv6hf-el for Raspberry Pi, MACHINE_ARCH returns earm, but *hf* is expected in /usr/share/mk/bsd.own.mk .
The following reply was made to PR port-arm/48193; it has been noted by GNATS.
From: Matt Thomas <matt%3am-software.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost,
ryoon%NetBSD.org@localhost
Subject: Re: port-arm/48193: On NetBSD/evbearmv6hf-el for Raspberry Pi,
MACHINE_ARCH returns earm, but *hf* is expected in /usr/share/mk/bsd.own.mk .
Date: Sat, 14 Sep 2013 08:12:22 -0700
On Sep 14, 2013, at 4:45 AM, Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost> wrote:
> The following reply was made to PR port-arm/48193; it has been noted =
by GNATS.
>=20
> From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc:=20
> Subject: Re: port-arm/48193: On NetBSD/evbearmv6hf-el for Raspberry =
Pi,
> MACHINE_ARCH returns earm, but *hf* is expected in
> /usr/share/mk/bsd.own.mk .
> Date: Sat, 14 Sep 2013 19:23:11 +0900 (JST)
>=20
> make -V MACHINE_ARCH in pkgsrc/sysutils/checkperms returns earm,
> in this case it has no *hf* string in it.
> Anyway /usr/share/mk/bsd.own.mk should be improved.
bsd.own.mk is fine.
make just never used sysctl to get hw.machine_arch to set MACHINE_ARCH.
That has been fixed.
./make -f /usr/share/mk/bsd.own.mk -V MACHINE_ARCH =20
earmv7hf
./readelf -n make
Notes at offset 0x0000012c with length 0x00000018:
Owner Data size Description
NetBSD 0x00000004 IDENT 699002300 (6.99.23)
Notes at offset 0x00000144 with length 0x00000014:
Owner Data size Description
PaX 0x00000004 Unknown note type: (0x00000003)
Notes at offset 0x00000158 with length 0x00000020:
Owner Data size Description
NetBSD 0x00000009 MARCH <earmv7hf>
Home |
Main Index |
Thread Index |
Old Index