NetBSD-Bugs archive

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

Re: PR/57807 CVS commit: src/sys/sys



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

From: Rin Okuyama <rokuyama.rk%gmail.com@localhost>
To: Taylor R Campbell <riastradh%NetBSD.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost, netbsd-bugs%NetBSD.org@localhost, kre%NetBSD.org@localhost
Subject: Re: PR/57807 CVS commit: src/sys/sys
Date: Thu, 26 Sep 2024 19:10:53 +0900

 On 2024/09/26 7:29, Taylor R Campbell wrote:
 > Does this failure still reproduce after christos's fix to osnet
 > sys/types.h?
 > 
 > https://mail-index.netbsd.org/source-changes/2024/09/11/msg153276.html
 > 
 >> The failure occurs because:
 >> (1) During configure in tools/compat, _NETBSD_SOURCE is disabled.
 >> (2) For other tools build, _NETBSD_SOURCE is defined.
 > 
 > _NETBSD_SOURCE should absolutely never be defined during any part of
 > the tools build, and it was a mistake for it to appear in the osnet
 > sys/types.h hacks.
 > 
 > If christos's change doesn't fix it, can you find where _NETBSD_SOURCE
 > is getting defined so we can fix that too?
 
 Ah, that's it!
 
 With amd64-current host dated 2024-09-22, cross build for
 evbarmv7hf-eb:
 
 (1) succeeds for -current
 (2) fails for netbsd-10, but
 (3) succeeds (with X11) if above-mentioned commit is cherry-picked
 (4) same situation for netbsd-9
 
 So, we should pullup external/cddl/osnet/sys/sys/types.h
 rev. 1.21 to netbsd-10 and -9, in order to keep cross build
 possible for recent -current.
 
 I will update the host side to today's current, and check other
 target platforms (or trying all subdirs in tools??) for sure.
 
 Thanks,
 rin
 


Home | Main Index | Thread Index | Old Index