NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
xsrc/52492: netbsd-7 xsrc fails build with llvm
>Number: 52492
>Category: xsrc
>Synopsis: netbsd-7 xsrc fails build with llvm
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: xsrc-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 18 18:40:00 +0000 2017
>Originator: Greg Oster
>Release: NetBSD 7.1_STABLE
>Organization:
>Environment:
System: NetBSD thog 7.1_STABLE NetBSD 7.1_STABLE (THOG) #0: Mon Aug 14 09:33:54 CST 2017 oster@thog:/u1/builds/build160/src/obj/amd64/u1/builds/build160/src/sys/arch/amd64/compile/THOG amd64
Architecture: x86_64
Machine: amd64
>Description:
Attempting to build a LLVM-only build, with the following build options:
./build.sh -U -u -m amd64 -j 16 -V MKLLVM=yes -V MKGCC=no -V MKGCCCMDS=no -V HAVE_LLVM=yes -V MAKECONF=/u1/builds/mk.conf -D /u1/builds/build161/install/amd64 -R /u1/builds/build161/release -T /u1/builds/build161/tools/amd64 -X /u1/builds/build161/xsrc -x -M obj/amd64 release
resulted in the following errors, and a failed build:
# create pixman/pixman-gradient-walker.d
CC=/u1/builds/build161/tools/amd64/bin/x86_64--netbsd-clang /u1/builds/build161/tools/amd64/bin/nbmkdep -f pixman-gradient-walker.d.tmp -- -msse2 -mssse3 -mssse3 -fvisibility=hidden -std=gnu99 --sysroot=/u1/builds/build161/install/amd64 -DUSE_SSE2 -DUSE_SSSE3 -DHAVE_CONFIG_H -I/u1/builds/build161/xsrc/external/mit/pixman/dist/../include -I/u1/builds/build161/xsrc/external/mit/pixman/dist/../combine -I/u1/builds/build161/xsrc/external/mit/pixman/dist/pixman -DHAVE_PTHREAD_SETSPECIFIC -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/u1/builds/build161/install/amd64/usr/X11R7/include -D__AMD64__ /u1/builds/build161/xsrc/external/mit/pixman/dist/pixman/pixman-gradient-walker.c && mv pixman-gradient-walker.d.tmp pixman-gradient-walker.d
--- dependall-libdrm_nouveau ---
In file included from /u1/builds/build161/xsrc/external/mit/libdrm/dist/nouveau/private.h:6:
/u1/builds/build161/xsrc/external/mit/libdrm/dist/xf86atomic.h:120:31: error: passing 'int *' to parameter of type 'volatile unsigned int *' converts between pointers to integer types with different sign [-Werror,-Wpointer-sign]
while (c != unless && (old = atomic_cmpxchg(v, c, c + add)) != c)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/u1/builds/build161/xsrc/external/mit/libdrm/dist/xf86atomic.h:108:57: note: expanded from macro 'atomic_cmpxchg'
# define atomic_cmpxchg(x, oldv, newv) atomic_cas_uint (&(x)->atomic, oldv, newv)
^~~~~~~~~~~~
/u1/builds/build161/install/amd64/usr/include/sys/atomic.h:86:53: note: passing argument to parameter here
unsigned int atomic_cas_uint(volatile unsigned int *, unsigned int,
^
1 error generated.
*** [abi16.po] Error code 1
nbmake[8]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libdrm_nouveau
--- dependall-libxcb ---
/u1/builds/build161/tools/amd64/bin/x86_64--netbsd-objcopy -x bigreq.pico
A failure has been detected in another branch of the parallel make
nbmake[9]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libxcb/libxcb
*** [dependall] Error code 2
nbmake[8]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libxcb/libxcb
1 error
nbmake[8]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libxcb/libxcb
*** [dependall-libxcb] Error code 2
nbmake[7]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libxcb
1 error
nbmake[7]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libxcb
*** [dependall-libxcb] Error code 2
nbmake[6]: stopped in /u1/builds/build161/src/external/mit/xorg/lib
--- dependall-libdrm_nouveau ---
--- abi16.pico ---
In file included from /u1/builds/build161/xsrc/external/mit/libdrm/dist/nouveau/abi16.c:33:
In file included from /u1/builds/build161/xsrc/external/mit/libdrm/dist/nouveau/private.h:6:
/u1/builds/build161/xsrc/external/mit/libdrm/dist/xf86atomic.h:120:31: error: passing 'int *' to parameter of type 'volatile unsigned int *' converts between pointers to integer types with different sign [-Werror,-Wpointer-sign]
while (c != unless && (old = atomic_cmpxchg(v, c, c + add)) != c)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/u1/builds/build161/xsrc/external/mit/libdrm/dist/xf86atomic.h:108:57: note: expanded from macro 'atomic_cmpxchg'
# define atomic_cmpxchg(x, oldv, newv) atomic_cas_uint (&(x)->atomic, oldv, newv)
^~~~~~~~~~~~
/u1/builds/build161/install/amd64/usr/include/sys/atomic.h:86:53: note: passing argument to parameter here
unsigned int atomic_cas_uint(volatile unsigned int *, unsigned int,
^
1 error generated.
*** [abi16.pico] Error code 1
nbmake[8]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libdrm_nouveau
--- bufctx.pico ---
# compile libdrm_nouveau/bufctx.pico
/u1/builds/build161/tools/amd64/bin/x86_64--netbsd-clang -O2 -pipe -std=gnu99 -Werror -fno-strict-aliasing --sysroot=/u1/builds/build161/install/amd64 -I/u1/builds/build161/install/amd64/usr/X11R7/include/libdrm -I/u1/builds/build161/install/amd64/usr/X11R7/include/X11 -I/u1/builds/build161/xsrc/external/mit/libdrm/dist -DHAVE_INTTYPES_H -DHAVE_RADEON -DHAVE_SETENV -DHAVE_STDINT_H -DHAVE_STRINGS_H -DHAVE_STRING_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/u1/builds/build161/install/amd64/usr/X11R7/include -D__AMD64__ -c -fPIC /u1/builds/build161/xsrc/external/mit/libdrm/dist/nouveau/bufctx.c -o bufctx.pico
--- dependall-xkeyboard-config ---
# create symbols/symbols.dir
rm -f symbols.dir
(cd /u1/builds/build161/xsrc/external/mit/xkeyboard-config/dist/symbols && /u1/builds/build161/src/obj/amd64/u1/builds/build161/src/external/mit/xorg/tools/xkbcomp/xkbcomp -lfhlpR -o /u1/builds/build161/src/obj/amd64/u1/builds/build161/src/external/mit/xorg/lib/xkeyboard-config/symbols/symbols.dir '*')
--- dependall-libdrm_radeon ---
/u1/builds/build161/tools/amd64/bin/x86_64--netbsd-objcopy -x bof.pico
A failure has been detected in another branch of the parallel make
nbmake[8]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libdrm_radeon
*** [dependall] Error code 2
nbmake[7]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libdrm_radeon
1 error
nbmake[7]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libdrm_radeon
*** [dependall-libdrm_radeon] Error code 2
nbmake[6]: stopped in /u1/builds/build161/src/external/mit/xorg/lib
--- dependall-pixman ---
A failure has been detected in another branch of the parallel make
nbmake[7]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/pixman
*** [dependall-pixman] Error code 2
nbmake[6]: stopped in /u1/builds/build161/src/external/mit/xorg/lib
--- dependall-xkeyboard-config ---
A failure has been detected in another branch of the parallel make
nbmake[9]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/xkeyboard-config/symbols
*** [dependall] Error code 2
nbmake[8]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/xkeyboard-config/symbols
1 error
nbmake[8]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/xkeyboard-config/symbols
*** [dependall-symbols] Error code 2
nbmake[7]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/xkeyboard-config
1 error
nbmake[7]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/xkeyboard-config
*** [dependall-xkeyboard-config] Error code 2
nbmake[6]: stopped in /u1/builds/build161/src/external/mit/xorg/lib
--- dependall-libdrm_intel ---
--- intel_bufmgr_fake.po ---
/u1/builds/build161/tools/amd64/bin/x86_64--netbsd-objcopy -X intel_bufmgr_fake.po
--- dependall-libdrm_nouveau ---
In file included from /u1/builds/build161/xsrc/external/mit/libdrm/dist/nouveau/bufctx.c:39:
In file included from /u1/builds/build161/xsrc/external/mit/libdrm/dist/nouveau/private.h:6:
/u1/builds/build161/xsrc/external/mit/libdrm/dist/xf86atomic.h:120:31: error: passing 'int *' to parameter of type 'volatile unsigned int *' converts between pointers to integer types with different sign [-Werror,-Wpointer-sign]
while (c != unless && (old = atomic_cmpxchg(v, c, c + add)) != c)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/u1/builds/build161/xsrc/external/mit/libdrm/dist/xf86atomic.h:108:57: note: expanded from macro 'atomic_cmpxchg'
# define atomic_cmpxchg(x, oldv, newv) atomic_cas_uint (&(x)->atomic, oldv, newv)
^~~~~~~~~~~~
/u1/builds/build161/install/amd64/usr/include/sys/atomic.h:86:53: note: passing argument to parameter here
unsigned int atomic_cas_uint(volatile unsigned int *, unsigned int,
^
1 error generated.
*** [bufctx.pico] Error code 1
nbmake[8]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libdrm_nouveau
3 errors
nbmake[8]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libdrm_nouveau
*** [dependall] Error code 2
nbmake[7]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libdrm_nouveau
1 error
nbmake[7]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libdrm_nouveau
*** [dependall-libdrm_nouveau] Error code 2
nbmake[6]: stopped in /u1/builds/build161/src/external/mit/xorg/lib
--- dependall-libdrm_intel ---
--- intel_bufmgr.o ---
/u1/builds/build161/tools/amd64/bin/x86_64--netbsd-objcopy -x intel_bufmgr.o
--- intel_bufmgr_fake.o ---
/u1/builds/build161/tools/amd64/bin/x86_64--netbsd-objcopy -x intel_bufmgr_fake.o
--- intel_bufmgr_gem.pico ---
/u1/builds/build161/tools/amd64/bin/x86_64--netbsd-objcopy -x intel_bufmgr_gem.pico
--- intel_bufmgr_gem.po ---
/u1/builds/build161/tools/amd64/bin/x86_64--netbsd-objcopy -X intel_bufmgr_gem.po
--- intel_bufmgr_gem.o ---
/u1/builds/build161/tools/amd64/bin/x86_64--netbsd-objcopy -x intel_bufmgr_gem.o
--- intel_decode.po ---
/u1/builds/build161/tools/amd64/bin/x86_64--netbsd-objcopy -X intel_decode.po
--- intel_decode.pico ---
/u1/builds/build161/tools/amd64/bin/x86_64--netbsd-objcopy -x intel_decode.pico
A failure has been detected in another branch of the parallel make
nbmake[8]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libdrm_intel
*** [dependall] Error code 2
nbmake[7]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libdrm_intel
1 error
nbmake[7]: stopped in /u1/builds/build161/src/external/mit/xorg/lib/libdrm_intel
*** [dependall-libdrm_intel] Error code 2
nbmake[6]: stopped in /u1/builds/build161/src/external/mit/xorg/lib
6 errors
nbmake[6]: stopped in /u1/builds/build161/src/external/mit/xorg/lib
*** Failed target: do-lib
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="external/mit/xorg/"; real="/u1/builds/build161/src/external/mit/xorg" ;; *) this="external/mit/xorg/${dir}/"; real="/u1/builds/build161/src/external/mit/xorg/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /u1/builds/build161/tools/amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget lib dependall
*** Error code 2
Stop.
nbmake[5]: stopped in /u1/builds/build161/src/external/mit/xorg
*** [build] Error code 1
nbmake[4]: stopped in /u1/builds/build161/src/external/mit/xorg
1 error
nbmake[4]: stopped in /u1/builds/build161/src/external/mit/xorg
*** [do-x11] Error code 2
nbmake[3]: stopped in /u1/builds/build161/src
1 error
nbmake[3]: stopped in /u1/builds/build161/src
*** [build] Error code 2
nbmake[2]: stopped in /u1/builds/build161/src
1 error
nbmake[2]: stopped in /u1/builds/build161/src
*** [distribution] Error code 2
nbmake[1]: stopped in /u1/builds/build161/src
1 error
nbmake[1]: stopped in /u1/builds/build161/src
*** [release] Error code 2
nbmake: stopped in /u1/builds/build161/src
nbmake: stopped in /u1/builds/build161/src
>How-To-Repeat:
extract netbsd-7 sources, and then:
./build.sh -U -u -m amd64 -j 16 -V MKLLVM=yes -V MKGCC=no -V MKGCCCMDS=no -V HAVE_LLVM=yes -V MAKECONF=/u1/builds/mk.conf -D /u1/builds/build161/install/amd64 -R /u1/builds/build161/release -T /u1/builds/build161/tools/amd64 -X /u1/builds/build161/xsrc -x -M obj/amd64 release
>Fix:
please :)
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index