NetBSD Problem Report #57846

From  Sat Jan 13 14:32:12 2024
Return-Path: <>
Received: from ( [])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 892C11A9239
	for <>; Sat, 13 Jan 2024 14:32:12 +0000 (UTC)
Message-Id: <>
Date: Sat, 13 Jan 2024 14:32:10 +0000 (UTC)
Subject: erroneous entries in ad.mips when building evbmips64-eb with MKDEBUG=yes
X-Send-Pr-Version: www-1.0

>Number:         57846
>Category:       port-mips
>Synopsis:       erroneous entries in ad.mips when building evbmips64-eb with MKDEBUG=yes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-mips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 13 14:35:00 +0000 2024
>Originator:     Harold Gutch
>Release:        NetBSD 10.0 RC2
Linux h-Precision-T3600 6.5.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:59:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

(Ubuntu 23.10)
Building evbmips64-eb with MKDEBUG=yes gets until the end where it checks the set lists, where this happens:

checkflist ===> distrib/sets
--- check_DESTDIR ---
--- checkflist ---
======  6 missing files in DESTDIR  ========
Files in flist but missing from DESTDIR.                                        
File wasn't installed ?                                                         
========  end of 6 missing files  ==========

*** Failed target: checkflist
*** Failed commands:
        ${SETSCMD} ${.CURDIR}/checkflist  ${MAKEFLIST_FLAGS} ${CHECKFLIST_FLAGS} ${METALOG.unpriv}

The "missing files" are from src/distrib/sets/lists/debug/ad.mips and the last time this was touched was about 2 years ago: .
./ -u -U -j 16 -m evbmips64-eb -O ../obj-evbmips64-eb -V MKDEBUG=yes -V MKCROSSGDB=yes tools

./ -u -U -j 16 -m evbmips64-eb -O ../obj-evbmips64-eb -V MKDEBUG=yes -V MKCROSSGDB=yes release

MKCROSSGDB is probably a red herring, this is very likely to be triggered even without.  But in the off chance that this is needed, I needed the patch from misc/57841 in order to build this on Ubuntu 23.10 which comes with gcc 13.2.0.  Most likely all of this happens in any other environment too, including building this on NetBSD.
Yes please, ideally before the 10.0 release.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.