Subject: pkg/30875: povray don't build on amd64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <wojtek@tensor.3miasto.net>
List: pkgsrc-bugs
Date: 07/30/2005 15:02:00
>Number:         30875
>Category:       pkg
>Synopsis:       povray don't build on amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 30 15:02:00 +0000 2005
>Originator:     Wojciech Puchar
>Release:        -current
>Organization:
TENSOR ap
>Environment:
NetBSD chylonia.3miasto.net 3.99.7 NetBSD 3.99.7 (chylonia.3miasto.net) #2: Thu Jul 28 23:02:58 CEST 2005  root@chylonia.3miasto.net:/usr/src/src/sys/arch/amd64/compile/chylonia.3miasto.net amd64

>Description:
i was not sure if it's pkg category or bin category (gcc)


povray build produce gcc crash:


c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I../..  -I../../source  -I../../unix  -I../../libraries/zlib -I
../../libraries/png -I/usr/X11R6/include -I/usr/pkg/include -I/usr/include  -pipe -Wno-multichar -s -O
3 -march=i686 -minline-all-stringops -O2 -I/usr/pkg/include -I/usr/include -c -o povms.o `test -f 'pov
ms.cpp' || echo './'`povms.cpp
povms.cpp: In function `int POVMSUtil_TempAlloc(void**, int)':
povms.cpp:3830: error: unrecognizable insn:
(insn:HI 82 81 64 2 0x20236fb40 (set (reg:SI 58)
        (plus:SI (mult:SI (reg:SI 58)
                (const_int 2 [0x2]))
            (const_int -2 [0xfffffffffffffffe]))) -1 (insn_list 81 (nil))
    (nil))
povms.cpp:3830: 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:
try to build povray on amd64

not tested on other arch however with that version of NetBSD and gcc
>Fix:
maybe ask gcc authors?