NetBSD-Bugs archive

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

toolchain/49027: xorg parallel build race



>Number:         49027
>Category:       toolchain
>Synopsis:       xorg parallel build race
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 22 15:10:00 +0000 2014
>Originator:     Martin Husemann
>Release:        NetBSD 6.99.47
>Organization:
The NetBSD Foundation, Inc
>Environment:
System: NetBSD seven-days-to-the-wolves.aprisoft.de 6.99.47 NetBSD 6.99.47 
(GENERIC) #77: Wed Jul 16 11:52:58 CEST 2014 
martin%seven-days-to-the-wolves.aprisoft.de@localhost:/usr/src/sys/arch/amd64/compile/GENERIC
 amd64
Architecture: x86_64
Machine: amd64
>Description:

Every second (or so) of my build tries fails. This is on a relatively slow
2 cpu machine, but I also see it on other machines.

===> build.sh command:    ./build.sh -u -m evbarm -a earm -M /usr/obj/evbarm -V 
MKDEBUG=yes -V MKDEBUGLIB=yes -T /usr/tools -D /hosts/evbarm -j 4 -x 
distribution sets
[..]
#    create  libGL/libGL.so.2.0.debug
(  /usr/tools/bin/arm--netbsdelf-eabi-objcopy --only-keep-debug libGL.so.2.0 
libGL.so.2.0.debug  && /usr/tools/bin/arm--netbsdelf-eabi-objcopy --strip-debug 
-p -R .gnu_debuglink  --add-gnu-debuglink=libGL.so.2.0.debug libGL.so.2.0  ) || 
(rm -f libGL.so.2.0.debug; false)
--- /hosts/evbarm/usr/libdata/debug/usr/X11R7/lib/libGL.so.2.0.debug ---
#   install  /hosts/evbarm/usr/libdata/debug/usr/X11R7/lib/libGL.so.2.0.debug
/usr/tools/bin/arm--netbsdelf-eabi-install  -N /usr/src/etc -c -p -r -o root -g 
wheel -m 444  libGL.so.2.0.debug 
/hosts/evbarm/usr/libdata/debug/usr/X11R7/lib/libGL.so.2.0.debug
--- install-libGLU ---
--- install-libGLw ---
--- install-libXaw6 ---
--- install-libXaw ---
--- install-libGLU ---
install ===> external/mit/xorg/lib/libGLU
--- install-libXaw6 ---
install ===> external/mit/xorg/lib/libXaw6
--- install-libXaw ---
install ===> external/mit/xorg/lib/libXaw
--- install-libGLw ---
install ===> external/mit/xorg/lib/libGLw
--- checkver ---
--- /hosts/evbarm/usr/X11R7/lib/libGLw.so.2.0 ---
#   install  /hosts/evbarm/usr/X11R7/lib/libGLw.so.2.0
--- install-libGLU ---
--- checkver ---
--- install-libXaw ---
--- checkver ---
--- install-libGLw ---
/usr/tools/bin/arm--netbsdelf-eabi-install  -N /usr/src/etc -c -p -r -o root -g 
wheel -m 444  libGLw.so.2.0 /hosts/evbarm/usr/X11R7/lib/libGLw.so.2.0
/usr/tools/bin/arm--netbsdelf-eabi-install  -N /usr/src/etc -l s -r 
libGLw.so.2.0 /hosts/evbarm/usr/X11R7/lib/libGLw.so.2
/usr/tools/bin/arm--netbsdelf-eabi-install  -N /usr/src/etc -l s -r  
libGLw.so.2.0 /hosts/evbarm/usr/X11R7/lib/libGLw.so
--- install-libXcursor ---
install ===> external/mit/xorg/lib/libXcursor
--- install-libGLw ---
--- libGLw.so.2.0 ---
#     build  libGLw/libGLw.so.2.0
rm -f libGLw.so.2.0
/usr/tools/bin/arm--netbsdelf-eabi-gcc  -Wl,-x -shared -Wl,-soname,libGLw.so.2 
-Wl,--warn-shared-textrel -Wl,-Map=libGLw.so.2.map   --sysroot=/hosts/evbarm 
-Wl,-rpath,/usr/X11R7/lib -L=/usr/X11R7/lib  -o libGLw.so.2.0  
-Wl,-rpath-link,/hosts/evbarm/lib  -L=/lib  -Wl,--whole-archive libGLw_pic.a  
-Wl,--no-whole-archive -L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libXext 
-lXext -L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libX11/dynamic -lX11 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libXxf86vm -lXxf86vm 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libXfixes -lXfixes 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libXdamage -lXdamage 
-L/usr/obj/evbarm/usr/src/lib/libm -lm 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libdrm -ldrm 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libGL -lGL 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libICE -lICE 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libSM -lSM 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libXt 
 -lXt 
--- install-libXcursor ---
--- checkver ---
--- install-libGLU ---
--- /hosts/evbarm/usr/X11R7/lib/libGLU.so.2.0 ---
--- install-libXaw ---
--- linksinstall ---
--- install-libGLU ---
#   install  /hosts/evbarm/usr/X11R7/lib/libGLU.so.2.0
/usr/tools/bin/arm--netbsdelf-eabi-install  -N /usr/src/etc -c -p -r -o root -g 
wheel -m 444  libGLU.so.2.0 /hosts/evbarm/usr/X11R7/lib/libGLU.so.2.0
--- install-libGLw ---
ln -sf libGLw.so.2.0 libGLw.so.2.tmp
--- install-libGLU ---
/usr/tools/bin/arm--netbsdelf-eabi-install  -N /usr/src/etc -l s -r 
libGLU.so.2.0 /hosts/evbarm/usr/X11R7/lib/libGLU.so.2
/usr/tools/bin/arm--netbsdelf-eabi-install  -N /usr/src/etc -l s -r  
libGLU.so.2.0 /hosts/evbarm/usr/X11R7/lib/libGLU.so
--- install-libGLw ---
mv -f libGLw.so.2.tmp libGLw.so.2
ln -sf libGLw.so.2.0 libGLw.so.tmp
mv -f libGLw.so.tmp libGLw.so
--- libGLw.so.2.0.debug ---
--- install-libGLU ---
--- libGLU.so.2.0 ---
--- install-libGLw ---
#    create  libGLw/libGLw.so.2.0.debug
(  /usr/tools/bin/arm--netbsdelf-eabi-objcopy --only-keep-debug libGLw.so.2.0 
libGLw.so.2.0.debug  && /usr/tools/bin/arm--netbsdelf-eabi-objcopy 
--strip-debug -p -R .gnu_debuglink  --add-gnu-debuglink=libGLw.so.2.0.debug 
libGLw.so.2.0  ) || (rm -f libGLw.so.2.0.debug; false)
--- install-libGLU ---
#     build  libGLU/libGLU.so.2.0
rm -f libGLU.so.2.0
--- install-libXrandr ---
install ===> external/mit/xorg/lib/libXrandr
--- install-libGLw ---
--- /hosts/evbarm/usr/libdata/debug/usr/X11R7/lib/libGLw.so.2.0.debug ---
#   install  /hosts/evbarm/usr/libdata/debug/usr/X11R7/lib/libGLw.so.2.0.debug
/usr/tools/bin/arm--netbsdelf-eabi-install  -N /usr/src/etc -c -p -r -o root -g 
wheel -m 444  libGLw.so.2.0.debug 
/hosts/evbarm/usr/libdata/debug/usr/X11R7/lib/libGLw.so.2.0.debug
--- install-libGLU ---
/usr/tools/bin/arm--netbsdelf-eabi-c++  -Wl,-x -shared -Wl,-soname,libGLU.so.2 
-Wl,--warn-shared-textrel -Wl,-Map=libGLU.so.2.map   --sysroot=/hosts/evbarm 
-Wl,-rpath,/usr/X11R7/lib -L=/usr/X11R7/lib  -o libGLU.so.2.0  
-Wl,-rpath-link,/hosts/evbarm/lib  -L=/lib  -Wl,--whole-archive libGLU_pic.a  
-Wl,--no-whole-archive -L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libXext 
-lXext -L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libX11/dynamic -lX11 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libGL -lGL 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libXxf86vm -lXxf86vm 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libXfixes -lXfixes 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libXdamage -lXdamage 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libdrm -ldrm 
-L/usr/obj/evbarm/usr/src/lib/libm -lm 
--- install-libXrandr ---
--- checkver ---
--- install-libGLU ---
/usr/tools/lib/gcc/arm--netbsdelf-eabi/4.8.3/../../../../arm--netbsdelf-eabi/bin/ld:
 warning: dynamic relocation in readonly section `__gxx_personality_v0'
/usr/tools/lib/gcc/arm--netbsdelf-eabi/4.8.3/../../../../arm--netbsdelf-eabi/bin/ld:
 warning: creating a DT_TEXTREL in a shared object.
ln -sf libGLU.so.2.0 libGLU.so.2.tmp
mv -f libGLU.so.2.tmp libGLU.so.2
ln -sf libGLU.so.2.0 libGLU.so.tmp
mv -f libGLU.so.tmp libGLU.so
--- libGLU.so.2.0.debug ---
#    create  libGLU/libGLU.so.2.0.debug
(  /usr/tools/bin/arm--netbsdelf-eabi-objcopy --only-keep-debug libGLU.so.2.0 
libGLU.so.2.0.debug  && /usr/tools/bin/arm--netbsdelf-eabi-objcopy 
--strip-debug -p -R .gnu_debuglink  --add-gnu-debuglink=libGLU.so.2.0.debug 
libGLU.so.2.0  ) || (rm -f libGLU.so.2.0.debug; false)
--- /hosts/evbarm/usr/libdata/debug/usr/X11R7/lib/libGLU.so.2.0.debug ---
#   install  /hosts/evbarm/usr/libdata/debug/usr/X11R7/lib/libGLU.so.2.0.debug
/usr/tools/bin/arm--netbsdelf-eabi-install  -N /usr/src/etc -c -p -r -o root -g 
wheel -m 444  libGLU.so.2.0.debug 
/hosts/evbarm/usr/libdata/debug/usr/X11R7/lib/libGLU.so.2.0.debug
--- install-libXft ---
--- install-libglut ---
--- install-libXft ---
install ===> external/mit/xorg/lib/libXft
--- install-libglut ---
install ===> external/mit/xorg/lib/libglut
--- install-libXft ---
--- checkver ---
--- install-libglut ---
--- checkver ---
--- /hosts/evbarm/usr/X11R7/lib/libglut.so.4.0 ---
--- libglut.so.4.0 ---
#     build  libglut/libglut.so.4.0
--- /hosts/evbarm/usr/X11R7/lib/libglut.so.4.0 ---
#   install  /hosts/evbarm/usr/X11R7/lib/libglut.so.4.0
/usr/tools/bin/arm--netbsdelf-eabi-install  -N /usr/src/etc -c -p -r -o root -g 
wheel -m 444  libglut.so.4.0 /hosts/evbarm/usr/X11R7/lib/libglut.so.4.0
--- libglut.so.4.0 ---
rm -f libglut.so.4.0
/usr/tools/bin/arm--netbsdelf-eabi-gcc  -Wl,-x -shared -Wl,-soname,libglut.so.4 
-Wl,--warn-shared-textrel -Wl,-Map=libglut.so.4.map   --sysroot=/hosts/evbarm 
-Wl,-rpath,/usr/X11R7/lib -L=/usr/X11R7/lib  -o libglut.so.4.0  
-Wl,-rpath-link,/hosts/evbarm/lib  -L=/lib  -Wl,--whole-archive libglut_pic.a  
-Wl,--no-whole-archive -lm 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libXi -lXi 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libXmu -lXmu 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libXt -lXt 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libX11/dynamic -lX11 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libGL -lGL 
-L/usr/obj/evbarm/usr/src/external/mit/xorg/lib/libGLU -lGLU 
--- /hosts/evbarm/usr/X11R7/lib/libglut.so.4.0 ---
arm--netbsdelf-eabi-install: libglut.so.4.0: open: No such file or directory
*** [/hosts/evbarm/usr/X11R7/lib/libglut.so.4.0] Error code 1
nbmake[7]: stopped in /usr/src/external/mit/xorg/lib/libglut
--- install-libXft ---
A failure has been detected in another branch of the parallel make
nbmake[7]: stopped in /usr/src/external/mit/xorg/lib/libXft
*** [install-libXft] Error code 2
nbmake[6]: stopped in /usr/src/external/mit/xorg/lib
--- install-libglut ---
--- libglut.so.4.0 ---
ln -sf libglut.so.4.0 libglut.so.4.tmp
mv -f libglut.so.4.tmp libglut.so.4
ln -sf libglut.so.4.0 libglut.so.tmp
mv -f libglut.so.tmp libglut.so
1 error
nbmake[7]: stopped in /usr/src/external/mit/xorg/lib/libglut
*** [install-libglut] Error code 2
nbmake[6]: stopped in /usr/src/external/mit/xorg/lib
2 errors
nbmake[6]: stopped in /usr/src/external/mit/xorg/lib
*** [install-lib] Error code 2

nbmake[5]: stopped in /usr/src/external/mit/xorg
1 error


>How-To-Repeat:
No idea, happens "most of the time" for me

>Fix:
n/a



Home | Main Index | Thread Index | Old Index