Subject: Re: pkg/30875: povray don't build on amd64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Quentin Garnier <cube@cubidou.net>
List: pkgsrc-bugs
Date: 08/02/2005 12:22:01
The following reply was made to PR pkg/30875; it has been noted by GNATS.

From: Quentin Garnier <cube@cubidou.net>
To: gnats-bugs@netbsd.org
Cc: wojtek@tensor.3miasto.net
Subject: Re: pkg/30875: povray don't build on amd64
Date: Tue, 2 Aug 2005 14:21:31 +0200

 --D6IIOQQv2Iwyp54J
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sat, Jul 30, 2005 at 03:02:00PM +0000, wojtek@tensor.3miasto.net wrote:
 > >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/sy=
 s/arch/amd64/compile/chylonia.3miasto.net amd64
 >=20
 > >Description:
 > i was not sure if it's pkg category or bin category (gcc)
 >=20
 >=20
 > povray build produce gcc crash:
 >=20
 >=20
 > c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I../..  -I../../source  -I../../un=
 ix  -I../../libraries/zlib -I
 > ../../libraries/png -I/usr/X11R6/include -I/usr/pkg/include -I/usr/includ=
 e  -pipe -Wno-multichar -s -O
 > 3 -march=3Di686 -minline-all-stringops -O2 -I/usr/pkg/include -I/usr/incl=
 ude -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.
 >=20
 > >How-To-Repeat:
 > try to build povray on amd64
 >=20
 > not tested on other arch however with that version of NetBSD and gcc
 > >Fix:
 > maybe ask gcc authors?=20
 
 I reproduced that issue on my amd64 systems.  Using gcc34 makes the
 build complete.  Or you can set CONFIGURE_ARGS to --disable-optimiz
 which remove -O3 and makes the build complete.
 
 --=20
 Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
 "When I find the controls, I'll go where I like, I'll know where I want
 to be, but maybe for now I'll stay right here on a silent sea."
 KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
 
 --D6IIOQQv2Iwyp54J
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (NetBSD)
 
 iQEVAwUBQu9lS9goQloHrPnoAQJx0AgAm426aFpiCo6p/esVwHFA3Y7Sgu8+WJ19
 T3U/SCVVn/Pucd4z3uj8MOgS8B10+jXhQE80gmaYJPljcf3I+L/eQQsbSNj6PdQf
 WiDdJ9Tsx1oFflm4JCHThQQPJE2dWa3dQeHoiSzpmkdbZQ4BLYk1x9RNJzo/b64y
 +XrShl0UrZz8qH9PGJCPUeLyCaU4xItkBWl3Na9h9TRf9QKgJnwExyOOZ2QZkZXi
 094UvlOSfM8R9jZe0umiKZGLwNGW7KUpMnNLhj99D8IcNPfCDUlC5KBhJhcY4d78
 zEZrEw6b09QzYT8OHotFPYJXCvCMqck1spe+H/vx+PHnKAxzqlning==
 =FvHe
 -----END PGP SIGNATURE-----
 
 --D6IIOQQv2Iwyp54J--