NetBSD Problem Report #55266
From tsutsui@ceres.dti.ne.jp Thu May 14 22:14:46 2020
Return-Path: <tsutsui@ceres.dti.ne.jp>
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 69C0D1A9227
for <gnats-bugs@gnats.NetBSD.org>; Thu, 14 May 2020 22:14:46 +0000 (UTC)
Message-Id: <202005142214.04EMEbSI004891@ceres.dti.ne.jp>
Date: Fri, 15 May 2020 07:14:37 +0900 (JST)
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reply-To: tsutsui@ceres.dti.ne.jp
To: gnats-bugs@NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: NetBSD/sh3el 9.0 gcc 7.4.0 ICE on building pkgsrc/graphics/graphviz
X-Send-Pr-Version: 3.95
>Number: 55266
>Category: toolchain
>Synopsis: NetBSD/sh3el 9.0 gcc 7.4.0 ICE on building pkgsrc/graphics/graphviz
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 14 22:15:00 +0000 2020
>Last-Modified: Fri May 15 14:55:01 +0000 2020
>Originator: Izumi Tsutsui
>Release: NetBSD 9.0
>Organization:
>Environment:
System: NetBSD lantank 9.0 NetBSD 9.0 (LANTANK) #1: Sun May 3 17:58:04 JST 2020 tsutsui@mirage:/s/netbsd-9/src/sys/arch/landisk/compile/LANTANK landisk
Architecture: sh3el
Machine: landisk
>Description:
On building pkgsrc-2020Q1 pkgsrc/graphics/graphviz on NetBSD/sh3el 9.0
gcc gets ICE:
---
config.status: creating lib/ast/Makefile
config.status: executing depfiles commands
CC pathpath.lo
[..snip..]
CC error.lo
In file included from ../../lib/sfio/sfio.h:28:0,
from ./ast.h:21,
from error.c:26:
../../config.h:466:0: warning: "NO_POSTSCRIPT_ALIAS" redefined
#define NO_POSTSCRIPT_ALIAS 0
<command-line>:0:0: note: this is the location of the previous definition
error.c: In function '_err_msgv':
error.c:55:47: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (level && ((s = error_info.id) || (s = (char *) id))) {
^
gcc: internal compiler error: Illegal instruction (program cc1 received signal 4)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
*** Error code 1
Stop.
make[3]: stopped in /usr/obj.sh3el/pkgsrc/graphics/graphviz/work.sh3el/graphviz-2.40.1/lib/ast
*** Error code 1
---
>How-To-Repeat:
Build pkgsrc-2020Q1 pkgsrc/graphics/graphviz on NetBSD/sh3el 9.0.
Not reproducible with cross toolchains.
>Fix:
No idea.
Adding "-fno-tree-dominator-opts -fno-tree-vrp" to CFLAGS works around.
---
Izumi Tsutsui
>Audit-Trail:
From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: toolchain/55266: NetBSD/sh3el 9.0 gcc 7.4.0 ICE on building
pkgsrc/graphics/graphviz
Date: Fri, 15 May 2020 14:51:14 +0000
Hi,
could you re-run the build command with -save-temps,
save the build command,
save the .i file
This will save a few steps for anyone attempting to reproduce the
failure (no need to build all the dependencies of graphviz, etc.)
Most likely, the build command will be what comes from
grep error.c work/.work.log
Thanks.
(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.