Subject: port-sparc64/32156: 2.1 stable doesn't build on sparc64
To: None <port-sparc64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <harenberg@physik.uni-wuppertal.de>
List: netbsd-bugs
Date: 11/24/2005 11:03:00
>Number:         32156
>Category:       port-sparc64
>Synopsis:       2.1 stable doesn't build on sparc64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 24 11:03:00 +0000 2005
>Originator:     harenberg@physik.uni-wuppertal.de
>Release:        NetBSD 2.1_STABLE
>Organization:
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Torsten Harenberg         harenberg@physik.uni-wuppertal.de  <>
<> Bergische Universitaet                                       <>
<> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal                                              <>
<>                                                              <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>
>Environment:
	
	
System: NetBSD mailhost 2.1_STABLE NetBSD 2.1_STABLE (GENERIC) #0: Thu Nov 17 12:24:51 CET 2005 root@mailhost:/usr/sparcobj/sys/arch/sparc64/compile/GENERIC sparc64
Architecture: sparc64
Machine: sparc64
>Description:
Trying to build the world on a sparc64 system after upgrading the kernel
to 2.1 result in this:

./build.sh -T /usr/sparctools -O /usr/sparcobj -D /usr/sparcbuild -U
distribution  

[....]

#   compile  cap_mkdb/cap_mkdb.o
/usr/sparctools/bin/sparc64--netbsd-gcc -O2  -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional
-Wno-uninitialized  -Werror    -nostdinc -isystem
/usr/sparcbuild/usr/include  -c    /usr/src/usr.bin/cap_mkdb/cap_mkdb.c
/usr/src/usr.bin/cap_mkdb/cap_mkdb.c: In function db_build':
/usr/src/usr.bin/cap_mkdb/cap_mkdb.c:180: warning: passing arg 2 of
cgetnext' from incompatible pointer type

*** Failed target:  cap_mkdb.o
*** Failed command: /usr/sparctools/bin/sparc64--netbsd-gcc -O2 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
-Wno-traditional -Wno-uninitialized -Werror -nostdinc -isystem
/usr/sparcbuild/usr/include -c /usr/src/usr.bin/cap_mkdb/cap_mkdb.c
*** Error code 1
 

>How-To-Repeat:
check out 2.1 sources and build the world on a sparc64 system.
>Fix:
	

>Unformatted: