NetBSD Problem Report #33178

From oster@mickey.usask.ca  Sun Apr  2 03:00:55 2006
Return-Path: <oster@mickey.usask.ca>
Received: from mickey.usask.ca (mickey.usask.ca [128.233.111.15])
	by narn.netbsd.org (Postfix) with ESMTP id C4E4C63B9D9
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  2 Apr 2006 03:00:54 +0000 (UTC)
Message-Id: <20060402030048.8321C19CB27@mickey.usask.ca>
Date: Sat,  1 Apr 2006 21:00:48 -0600 (CST)
From: oster@netbsd.org
Reply-To: oster@netbsd.org
To: gnats-bugs@netbsd.org
Subject: Compiler error w/ -O2 building gtk2/pixops.c on m68k
X-Send-Pr-Version: 3.95

>Number:         33178
>Category:       toolchain
>Synopsis:       Compiler error w/ -O2 building gtk2/.../pixops.c on m68k archs
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 02 03:05:00 +0000 2006
>Closed-Date:    Fri Sep 21 14:22:34 +0000 2018
>Last-Modified:  Fri Sep 21 14:22:34 +0000 2018
>Originator:     oster@netbsd.org
>Release:        NetBSD 3.0
>Organization:
>Environment:

System:	NetBSD zoot 3.0 NetBSD 3.0 (GENERIC) #0: Thu Mar 16 01:00:48 CST 2006  oster@gonzo:/u1/builds/build101/src/sys/arch/hp300/compile/GENERIC hp300


Architecture: m68k
Machine: hp300

>Description:

	attempt to build pkgsrc/x11/gtk2 (gtk+-2.8.15) and get the following
compiler error:

   gcc -DHAVE_CONFIG_H -I. -I../.. -DG_DISABLE_CAST_CHECKS -pthread -I/u5/m68k/pkgsrc/x11/gtk2/work.zoot/.buildlink/include/glib/glib-2.0 -I/u5/m68k/pkgsrc/x11/gtk2/work.zoot/.buildlink/lib/glib-2.0/include -I/u5/m68k/pkgsrc/x11/gtk2/work.zoot/.buildlink/include -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPREFIX=\"/usr/pkg\" -DGLX_GLXEXT_LEGACY -I/u5/m68k/pkgsrc/x11/gtk2/work.zoot/.buildlink/include/freetype2 -I/u5/m68k/pkgsrc/x11/gtk2/work.zoot/.x11-buildlink/include -O2 -pthread -Wall -MT pixops.lo -MD -MP -MF .deps/pixops.Tpo -c pixops.c  -fPIC -DPIC -o .libs/pixops.o
pixops.c: In function `linear_box_half':
pixops.c:1325: error: unrecognizable insn:
(insn 144 125 62 6 0x0 (set (reg:DF 16 %fp0)
        (const_double:DF 0 [0x0] 0.0 [0x0.0p+0])) -1 (nil)
    (nil))
pixops.c:1325: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.


>How-To-Repeat:

	See above.

>Fix:

	Workaround: Compile with "-O2 -fno-gcse" instead of "-O2".
The former doesn't exhibit the problem.


>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 08 Apr 2012 17:20:30 +0000
State-Changed-Why:
Does this happen with gcc4 (either 4.1 or 4.5)?


From: Greg Oster <oster@cs.usask.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: toolchain/33178 (Compiler error w/ -O2 building
 gtk2/.../pixops.c on m68k archs)
Date: Mon, 9 Apr 2012 08:34:22 -0600

 On Sun,  8 Apr 2012 17:20:32 +0000 (UTC)
 dholland@NetBSD.org wrote:

 > Synopsis: Compiler error w/ -O2 building gtk2/.../pixops.c on m68k
 > archs
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: dholland@NetBSD.org
 > State-Changed-When: Sun, 08 Apr 2012 17:20:30 +0000
 > State-Changed-Why:
 > Does this happen with gcc4 (either 4.1 or 4.5)?

 No idea... Unfortunately I don't have hardware readily able to test this
 any more :( 

 Later...

 Greg Oster

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 13 Apr 2012 00:54:57 +0000
State-Changed-Why:
Submitter can't test, would be nice if someone else could


State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Fri, 21 Sep 2018 14:22:34 +0000
State-Changed-Why:
the information refers to an old gcc, old gtk2, etc., and submitter can't retest. it won't be surprising that there are still bugs, btu the current information is hard to act on.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.