NetBSD Problem Report #54699

From dholland@macaran.eecs.harvard.edu  Sat Nov 16 10:12:13 2019
Return-Path: <dholland@macaran.eecs.harvard.edu>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id A990D7A17C
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 16 Nov 2019 10:12:13 +0000 (UTC)
Message-Id: <20191116085452.0BA176E2D3@macaran.eecs.harvard.edu>
Date: Sat, 16 Nov 2019 03:54:52 -0500 (EST)
From: dholland@eecs.harvard.edu
Reply-To: dholland@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: netbsd-9 build failure on amd64 in gcc
X-Send-Pr-Version: 3.95

>Number:         54699
>Category:       toolchain
>Synopsis:       netbsd-9 build failure on amd64 in gcc
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 16 10:15:00 +0000 2019
>Closed-Date:    Thu May 06 08:22:44 +0000 2021
>Last-Modified:  Thu May 06 08:22:44 +0000 2021
>Originator:     David Holland
>Release:        NetBSD 9.0_BETA (20191114)
>Organization:
>Environment:
System: NetBSD weatherwax 9.0_BETA NetBSD 9.0_BETA (WEATHERWAX) #2: Thu Nov 14 20:44:52 EST 2019  dholland@weatherwax:/usr/src/sys/arch/amd64/compile/WEATHERWAX amd64
Architecture: x86_64
Machine: amd64
>Description:

Building -9 with a -7 userland (and -9 kernel if that matters) failed
today as follows:

    In file included from min-insn-modes.c:6:0:
    /usr/src/external/gpl3/gcc/dist/gcc/machmode.h:228:8: error: 'CONST_MODE_UNIT_SIZE' does not name a type
     extern CONST_MODE_UNIT_SIZE unsigned char mode_unit_size[NUM_MACHINE_MODES];
	    ^
    /usr/src/external/gpl3/gcc/dist/gcc/machmode.h:372:29: error: 'NUM_INT_N_ENTS' was not declared in this scope
     extern bool int_n_enabled_p[NUM_INT_N_ENTS];
				 ^
    /usr/src/external/gpl3/gcc/dist/gcc/machmode.h:373:38: error: 'NUM_INT_N_ENTS' was not declared in this scope
     extern const int_n_data_t int_n_data[NUM_INT_N_ENTS];
					  ^
    min-insn-modes.c:117:1: error: too many initializers for 'const char* const [87]'
     };
     ^

(followed by more of the same)

I'm sure I've seen this before, but I don't remember when/where and
Google is not helping.

I have checked and I'm reasonably certain the source tree is not
corrupt, and there are no local changes in external/gpl3. The tools
version of gcc seems to have built fine.

>How-To-Repeat:

>Fix:

dunno.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 06 May 2021 08:22:44 +0000
State-Changed-Why:
stale


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.