From dmmiller@lca67.cvzoom.net  Tue Dec 28 22:22:46 1999
Return-Path: <dmmiller@lca67.cvzoom.net>
Received: from lca67.cvzoom.net (lca67.cvzoom.net [63.65.158.67])
	by hub.freebsd.org (Postfix) with ESMTP id DF42514C26
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Dec 1999 22:22:44 -0800 (PST)
	(envelope-from dmmiller@lca67.cvzoom.net)
Received: (from dmmiller@localhost)
	by lca67.cvzoom.net (8.9.3/8.9.3) id BAA03106;
	Wed, 29 Dec 1999 01:21:47 -0500 (EST)
	(envelope-from dmmiller)
Message-Id: <199912290621.BAA03106@lca67.cvzoom.net>
Date: Wed, 29 Dec 1999 01:21:47 -0500 (EST)
From: Donn Miller <dmmiller@lca67.cvzoom.net>
Reply-To: dmmiller@cvzoom.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: Compile errors with port of "aview"
X-Send-Pr-Version: 3.2

>Number:         15758
>Category:       bin
>Synopsis:       When compiling /usr/ports/graphics/aview, I get compile errors
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 28 22:30:01 PST 1999
>Closed-Date:    Sat Jan 15 22:38:11 PST 2000
>Last-Modified:  Sat Jan 15 22:38:26 PST 2000
>Originator:     Donn Miller
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
None
>Environment:
output of uname -a:

FreeBSD lca67.cvzoom.net 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Mon Dec 27 14:53:42
 EST 1999     dmmiller@lca111.cvzoom.net:/usr/src/sys/compile/CUSTOM  i386
	
output of gcc -v:

Using builtin specs.
gcc version 2.95.2 19991024 (release)

>Description:

When I tried to compile aview in the ports collection, I get the following errors:

===>  Building for aview-1.2
cc -mpentium -O3 -pipe  -I/usr/X11R6/include -I/usr/local/include -c main.c
cc -mpentium -O3 -pipe  -I/usr/X11R6/include -I/usr/local/include -c ui.c
cc -mpentium -O3 -pipe  -I/usr/X11R6/include -I/usr/local/include -c shrink.c
cc -mpentium -O3 -pipe  -I/usr/X11R6/include -I/usr/local/include -c image.c
cc -mpentium -O3 -pipe  -I/usr/X11R6/include -I/usr/local/include -O -o aview main.o  ui.o  shrink.o  image.o -laa -lncurses -lm    -L/usr/X11R6/lib -lX11 -L/usr/local/lib -L/usr/local/lib
cc -mpentium -O3 -pipe  -I/usr/X11R6/include -I/usr/local/include -c flip.c
flip.c: In function `dcd_delta_flc':
sstring.h:493: Invalid `asm' statement:
sstring.h:493: fixed or forbidden register 2 (cx) was spilled for class CREG.
flip.c: In function `dcd_delta_fli':
sstring.h:493: Invalid `asm' statement:
sstring.h:493: fixed or forbidden register 2 (cx) was spilled for class CREG.
flip.c: In function `dcd_byte_run':
sstring.h:493: Invalid `asm' statement:
sstring.h:493: fixed or forbidden register 2 (cx) was spilled for class CREG.
flip.c: In function `dcd_black':
sstring.h:669: Invalid `asm' statement:
sstring.h:669: fixed or forbidden register 2 (cx) was spilled for class CREG.
flip.c: In function `processframechunk':
sstring.h:493: Invalid `asm' statement:
sstring.h:493: fixed or forbidden register 2 (cx) was spilled for class CREG.
*** Error code 1

Stop in /usr/ports/graphics/aview/work/aview-1.2.
*** Error code 1

Stop in /usr/ports/graphics/aview.
*** Error code 1

Stop in /usr/ports/graphics/aview.
*** Error code 1

Stop in /usr/ports/graphics/aview.
*** Error code 1

Stop in /usr/ports/graphics/aview.
>How-To-Repeat:

Just try building aview in /usr/ports/graphics/aview

>Fix:

Not known.  (If I did, I wouldn't be submitting this report. :-)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->obrien 
Responsible-Changed-By: steve 
Responsible-Changed-When: Fri Dec 31 12:05:14 PST 1999 
Responsible-Changed-Why:  
This is believed to be a compiler issue in current and not necessarily a 
problem with the port. 

From: "David O'Brien" <obrien@NUXI.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/15758: When compiling /usr/ports/graphics/aview, I get compile errors
Date: Sat, 15 Jan 2000 19:23:06 -0800

 This port's source contains bogus ASM code.  So it actually is a problem
 with the port itself.  GCC versions prior to 2.95 was just willing to
 tolerate the bogus code.
 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Sat Jan 15 22:38:11 PST 2000 
State-Changed-Why:  
Bogus ASM fixed. 
>Unformatted:
