NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/40025: NetBSD-5 build breaks on Solaris 9 with SunPRO 11



>Number:         40025
>Category:       bin
>Synopsis:       NetBSD-5 build breaks on Solaris 9 with SunPRO 11
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 25 15:55:00 +0000 2008
>Originator:     Ulrich Habel
>Release:        Solaris 9/sparc
>Organization:
>Environment:
SunOS cms-** 5.9 Generic_122300-10 sun4u sparc SUNW,Sun-Fire-V890 Solaris
>Description:
When trying to compile NetBSD-5 on Solaris 9/sparc the build breaks when trying 
to build awk.

#   compile  awk/awkgram.lo
/opt/SUNWspro/bin/cc -O -I/home/admin/compile_things/src/../obj/tools/compat 
-I/home/admin/compile_things/src/../obj/tools/compat/include  -I/h
ome/admin/compile_things/src/tools/awk/../compat -DHAVE_NBTOOL_CONFIG_H=1  
-D_FILE_OFFSET_BITS=64  -I/home/admin/compile_things/src/dist/nawk -
I. -DHAS_ISBLANK -c -o awkgram.lo.o    awkgram.c
mv awkgram.lo.o awkgram.lo
#   compile  awk/b.lo
/opt/SUNWspro/bin/cc -O -I/home/admin/compile_things/src/../obj/tools/compat 
-I/home/admin/compile_things/src/../obj/tools/compat/include  -I/h
ome/admin/compile_things/src/tools/awk/../compat -DHAVE_NBTOOL_CONFIG_H=1  
-D_FILE_OFFSET_BITS=64  -I/home/admin/compile_things/src/dist/nawk -
I. -DHAS_ISBLANK -c -o b.lo.o    /home/admin/compile_things/src/dist/nawk/b.c
"/home/admin/compile_things/src/dist/nawk/b.c", line 304: warning: assignment 
type mismatch:
        pointer to char "=" pointer to unsigned char
"/home/admin/compile_things/src/dist/nawk/b.c", line 331: warning: assignment 
type mismatch:
        pointer to unsigned char "=" pointer to char
"/home/admin/compile_things/src/dist/nawk/b.c", line 773: undefined symbol: 
isblank
"/home/admin/compile_things/src/dist/nawk/b.c", line 773: warning: improper 
pointer/integer combination: op "="
"/home/admin/compile_things/src/dist/nawk/b.c", line 773: non-constant 
initializer: op "NAME"
cc: acomp failed for /home/admin/compile_things/src/dist/nawk/b.c

*** Failed target:  b.lo
*** Failed command: /opt/SUNWspro/bin/cc -O 
-I/home/admin/compile_things/src/../obj/tools/compat 
-I/home/admin/compile_things/src/../obj/tools/
compat/include -I/home/admin/compile_things/src/tools/awk/../compat 
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/home/admin/compile_thing
s/src/dist/nawk -I. -DHAS_ISBLANK -c -o b.lo.o 
/home/admin/compile_things/src/dist/nawk/b.c
*** Error code 2

Stop.



The build.sh script was invoked with the following options:
===> build.sh command: ./build.sh -V MKXORG=yes -X ../xsrc -O ../obj -T 
../tools -U -u tools
===> build.sh started: Tue Nov 25 12:50:20 MET 2008
===> NetBSD version:   5.0_BETA
===> MACHINE:          sparc64
===> MACHINE_ARCH:     sparc64
===> Build platform:   SunOS 5.9 sun4u
===> HOST_SH:          /usr/xpg4/bin/sh


The build was started from scratch, the tools and obj dir have been removed 
before the build started

admin@cms-*:~/compile_things$ cc -V
cc: Sun C 5.8 Patch 121015-05 2007/08/01
>How-To-Repeat:
Try to build NetBSD-5 on Solaris 9/sparc.
>Fix:
yes please



Home | Main Index | Thread Index | Old Index