tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
MKUPDATE=yes build.sh release failures with multiple jobs in parallel
Hi,
Since quite some time now, i'm seeing MKUPDATE=yes build failures when
multiples jops are run in parallel with -j option. On my -current
amd64 machine, with 2 CPUs, i never see a successful release build for
`./build -u -j 4' command.
In the mean time, there seems to be no problem for MKUPDATE=no builds.
Not sure where it comes from, but it looks like library installation
triggers a rebuild of the same library in parallel.
By example (i do see it with other random libraries as well) :
--- install-libukfs ---
install ===> compat/amd64/i386/../../../lib/libukfs
--- /local/src/NetBSD/dest/amd64/usr/lib/i386/libukfs.so.1.0 ---
--- libukfs.so.1.0 ---
--- /local/src/NetBSD/dest/amd64/usr/lib/i386/libukfs.so.1.0 ---
# install /local/src/NetBSD/dest/amd64/usr/lib/i386/libukfs.so.1.0
/local/src/NetBSD/tool/bin/x86_64--netbsd-install -U -M
/local/src/NetBSD/dest/amd64/METALOG -D /local/src/NetBSD/dest/amd64 -h sha256
-N /local/src/NetBSD/src/etc -c -p -r -o root -g wheel -m 444 libukfs.so.1.0
/local/src/NetBSD/dest/amd64/usr/lib/i386/libukfs.so.1.0
--- libukfs.so.1.0 ---
# build libukfs/libukfs.so.1.0
rm -f libukfs.so.1.0
/local/src/NetBSD/tool/bin/x86_64--netbsd-gcc -Wl,-nostdlib
-B/local/src/NetBSD/dest/amd64/usr/lib/i386/
-B/local/src/NetBSD/dest/amd64/usr/lib/i386/ -Wl,-x -shared
-Wl,-soname,libukfs.so.1 -Wl,--warn-shared-textrel -o libukfs.so.1.0
-Wl,--whole-archive libukfs_pic.a -Wl,--no-whole-archive -m32
-L/local/src/NetBSD/src/compat/amd64/i386/obj.amd64/local/src/NetBSD/src/lib/librump
-lrump
-L/local/src/NetBSD/src/compat/amd64/i386/obj.amd64/local/src/NetBSD/src/lib/librumpvfs
-lrumpvfs -m32
-Wl,-rpath-link,/local/src/NetBSD/dest/amd64/usr/lib/i386:/local/src/NetBSD/dest/amd64/usr/lib
-R/usr/lib/i386 -L/local/src/NetBSD/dest/amd64/usr/lib/i386 -m32
-Wl,--fatal-warnings -m32 -L/local/src/NetBSD/dest/amd64/usr/lib/i386
--- /local/src/NetBSD/dest/amd64/usr/lib/i386/libukfs.so.1.0 ---
x86_64--netbsd-install: libukfs.so.1.0: stat: No such file or directory
*** [/local/src/NetBSD/dest/amd64/usr/lib/i386/libukfs.so.1.0] Error code 1
Any idea ?
Thanks.
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.
Home |
Main Index |
Thread Index |
Old Index