Current-Users archive

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

build fails in libOSMesa if MKXORG=yes



Hello,

building a release for amd64 on i386 failed with

===> build.sh command: ./build.sh -U -m amd64 -O /b/build/nbsd/c/amd64 -T 
/a/tools/amd64 -D /a/dst/amd64 -R /a/rel -V MKXORG=yes release
===> build.sh started: Wed Sep 24 14:11:27 CEST 2008
===> NetBSD version:   4.99.72
===> MACHINE:          amd64
===> MACHINE_ARCH:     x86_64
===> Build platform:   NetBSD 4.99.72 i386
===> HOST_SH:          /bin/sh
===> No /a/tools/amd64/bin/nbmake, needs building.
===> Bootstrapping nbmake
[...]
#   compile  libOSMesa/vbo_save_draw.ln
CC=/a/tools/amd64/bin/x86_64--netbsd-gcc /a/tools/amd64/bin/x86_64--netbsd-lint 
-chapbxzFS -d /a/dst/amd64/usr/include  -DPTHREADS -DCHAN_BITS=32 -DDEFAULT_SO
FTWARE_DEPTH_BITS=31 -D_NETBSD_SOURCE -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader 
-I/usr/xsrc/external/mit/Me
saLib/dist/src/mesa/shader 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader/slang 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader/grammar -I/usr/xs
rc/external/mit/MesaLib/dist/src/mesa/shader 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader/gramm
ar -I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/
. -I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/glapi 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/main -DCSRG_BASED -DFUNCPROTO=15 
-DNARROWPROTO -I/a/dst/
amd64/usr/X11R7/include -D__AMD64__    -i 
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/imports.h(219): warning: 
bitwise operation on signed value possibly nonportable [117]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/imports.h(405): warning: 
bitwise operation on signed value possibly nonportable [117]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/imports.h(451): warning: 
bitwise operation on signed value possibly nonportable [117]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/imports.h(614): warning: 
pointer casts may be troublesome [247]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(53): warning: 
conversion from 'unsigned long' to 'unsigned int' may lose accuracy [132]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(59): warning: 
conversion to 'long' due to prototype, arg #4 [259]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(65): warning: 
cast discards 'const' from pointer target type [275]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(65): warning: 
possible pointer alignment problem [135]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(65): warning: 
pointer casts may be troublesome [247]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(67): warning: 
constant in conditional context [161]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(67): warning: 
fallthrough on case statement [220]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(67): warning: 
fallthrough on case statement [220]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(67): warning: 
fallthrough on case statement [220]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(67): warning: 
constant in conditional context [161]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(67): warning: 
constant in conditional context [161]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(140): warning: 
conversion from 'unsigned long' to 'int' may lose accuracy [132]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(141): warning: 
conversion from 'unsigned long' to 'int' may lose accuracy [132]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(149): warning: 
conversion from 'unsigned long' to 'unsigned int' may lose accuracy [132]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(163): warning: 
possible pointer alignment problem [135]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(163): warning: 
pointer casts may be troublesome [247]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(183): warning: 
constant in conditional context [161]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(183): warning: 
constant in conditional context [161]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c(193): warning: 
constant in conditional context [161]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/imports.h(214): warning: 
static function LOG2 unused [236]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/imports.h(238): warning: 
static function IS_INF_OR_NAN unused [236]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/imports.h(261): warning: 
static function GET_FLOAT_BITS unused [236]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/imports.h(395): warning: 
static function ifloor unused [236]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/imports.h(442): warning: 
static function iceil unused [236]
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/imports.h(611): warning: 
static function _mesa_little_endian unused [236]
#   compile  libOSMesa/vbo_save_draw.o
/a/tools/amd64/bin/x86_64--netbsd-gcc -O2 -pthread  -Werror  
-fno-strict-aliasing     -DPTHREADS -DCHAN_BITS=32 
-DDEFAULT_SOFTWARE_DEPTH_BITS=31  -D_NETBSD_SO
URCE -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader -I/usr
/xsrc/external/mit/MesaLib/dist/src/mesa/shader/slang 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader/grammar 
-I/usr/xsrc/external/mit/MesaLib/dist/src/
mesa/shader -I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader/grammar 
-I/usr/xsrc/external/mit/MesaL
ib/dist/src/mesa/shader -I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/. -I/usr/xsrc/external/mit/MesaLi
b/dist/src/mesa/glapi -I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/main  
-DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/a/dst/amd64/usr/X11R7/include 
-D__AMD6
4__  -nostdinc -isystem /a/dst/amd64/usr/include -c    
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c -o 
vbo_save_draw.o
cc1: warnings being treated as errors
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c: In function 
'vbo_bind_vertex_list':
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c:138: warning: 
cast to pointer from integer of different size

*** Failed target:  vbo_save_draw.o
*** Failed command: /a/tools/amd64/bin/x86_64--netbsd-gcc -O2 -pthread -Werror 
-fno-strict-aliasing -DPTHREADS -DCHAN_BITS=32 -DDEFAULT_SOFTWARE_DEPTH_BITS=31
 -D_NETBSD_SOURCE -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/
shader -I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader/slang 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader/grammar 
-I/usr/xsrc/external/mit/Mesa
Lib/dist/src/mesa/shader -I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader/grammar -I/usr/xsrc/exter
nal/mit/MesaLib/dist/src/mesa/shader 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/shader 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/. -I/usr/xsrc/extern
al/mit/MesaLib/dist/src/mesa/glapi 
-I/usr/xsrc/external/mit/MesaLib/dist/src/mesa/main -DCSRG_BASED -DFUNCPROTO=15 
-DNARROWPROTO -I/a/dst/amd64/usr/X11R7/incl
ude -D__AMD64__ -nostdinc -isystem /a/dst/amd64/usr/include -c 
/usr/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/vbo_save_draw.c -o 
vbo_save_draw.o
*** Error code 1

Stop.
nbmake: stopped in /usr/src/external/mit/xorg/lib/libOSMesa

*** Failed target:  dependall
*** Failed command: cd /usr/src/external/mit/xorg/lib/libOSMesa; 
/a/tools/amd64/bin/nbmake realall
*** Error code 1


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~


Home | Main Index | Thread Index | Old Index