Subject: -mcpu=ultrasparc problems
To: None <port-sparc64@NetBSD.org>
From: None <segv@netctl.net>
List: port-sparc64
Date: 02/26/2006 15:36:25
Hi, I'm trying to build 32-bit sparc port of NetBSD-current to run on sun4u
platform. Setting  COPTS+=-mcpu=ultrasparc results in the following error:

--- sparc.o ---
/opt/xsrc/xfree/xc/extras/Mesa/src/mesa/sparc/sparc.c: In function
`_mesa_init_sparc_glapi_relocs':
/opt/xsrc/xfree/xc/extras/Mesa/src/mesa/sparc/sparc.c:167: warning: right shift
count >= width of type
/opt/xsrc/xfree/xc/extras/Mesa/src/mesa/sparc/sparc.c:170: warning: right shift
count >= width of type
*** [sparc.o] Error code 1

Shall I file a PR, or can anyone think of a quick patch to fix this?