NetBSD-Bugs archive

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

toolchain/55266: NetBSD/sh3el 9.0 gcc 7.4.0 ICE on building pkgsrc/graphics/graphviz



>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
>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



Home | Main Index | Thread Index | Old Index