Subject: pkg/25760: sysutils/toshutils fails to compile
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <bsd@allegory.demon.co.uk>
List: pkgsrc-bugs
Date: 05/31/2004 11:45:23
>Number:         25760
>Category:       pkg
>Synopsis:       sysutils/toshutils fails to compile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 31 11:17:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Bob
>Release:        NetBSD 1.6ZL
>Organization:
	
>Environment:
	
	
System: NetBSD tenebres.loc 1.6ZL NetBSD 1.6ZL (TENEBRES) #0: Sat Mar 27 02:04:18 GMT 2004 rob@tenebres.loc:/usr/src/sys/arch/i386/compile/TENEBRES i386
Architecture: i386
Machine: i386
>Description:

    sysutils/toshutils no longer compiles.

>How-To-Repeat:

    Typing make produces the error

	gcc -m486 -Wall -c sci.c
	`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
	sci.c: In function `SciSupportCheck':
	sci.c:91: error: impossible constraint in `asm'
	*** Error code 1

    I thought that changing the Makefile to replace occurrences of
    -m486 with -mcpu=i486 might help.  This doesn't fix the main
    problem however, since the "impossible constraint" error remains.

	cd src; /usr/bin/make all
	gcc -mcpu=i486 -Wall -c sci.c
	sci.c: In function `SciSupportCheck':
	sci.c:91: error: impossible constraint in `asm'
	*** Error code 1

	Stop.
	make: stopped in /usr/pkgsrc/sysutils/toshutils/work/toshutils-991217/src
	*** Error code 1

>Fix:
	

>Release-Note:
>Audit-Trail:
>Unformatted: