Subject: pkg/10887: emulators/bochs tries to use i386 assembly code on non-i386
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dmcmahill@netbsd.org>
List: netbsd-bugs
Date: 08/23/2000 11:45:14
>Number: 10887
>Category: pkg
>Synopsis: emulators/bochs tries to use i386 assembly code on non-i386
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 23 11:46:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: dmcmahill
>Release: 1.4.x, recent pkgsrc<NetBSD-current source date>
>Organization:
>Environment:
NetBSD-1.4.2,sparc
NetBSD/{!i386}
>Description:
emulators/bochs tries to compile assembly code (i386) on all archs.
>How-To-Repeat:
on non-i386, cd /usr/pkgsrc/emulators/bochs && make
note it does:
cc -I ./stubs -D__ASSEMBY__ -DPARANOIC -c reg_u_add.S
note that reg_u_add.S is i386 assembly code, not sparc (in my case).
>Fix:
dunno. I've heard rumors of some C versions, but don't know if they work or where they
come from.
>Release-Note:
>Audit-Trail:
>Unformatted: