Subject: port-sun2/32389: sun2 GENERIC is not buildable
To: None <port-sun2-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 12/27/2005 09:05:01
>Number:         32389
>Category:       port-sun2
>Synopsis:       sun2 GENERIC is not buildable
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sun2-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 27 09:05:00 +0000 2005
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 3.99.15
>Organization:

>Environment:
	cross-build on i386.
>Description:

	sun2 GENERIC is not buildable.  maybe due to src/common changes.

--- mulsi3.o ---
    compile  kern/mulsi3.o
    /exports/nbsd/src/common/lib/libc/arch/m68k/gen/mulsi3.S: Assembler messages:
    /exports/nbsd/src/common/lib/libc/arch/m68k/gen/mulsi3.S:49: Error: invalid instruction for this architecture; needs 68020 or 68030 or 68040 or 68060 or cpu32 or 5200 or 5206e or 528x or 5307 or 5407 or cfv4e -- statement `mulsl %sp@(8),%d0' ignored
    *** [mulsi3.o] Error code 1
    1 error

>How-To-Repeat:
	
>Fix:
	check ${MACHINE_ARCH} == "m68000" ?