Current-Users archive

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

Strange parallel-make behavior with MKDEBUG=yes



Here's the last few lines leading up to the failure. It's curious (at least to me) that it appears to be installing the library in parallel with building the library!


# ./build.sh -T /build/netbsd-local/tools/x86_64/amd64 \
             -D /build/netbsd-local/dest/amd64 \
             -O /build/netbsd-local/obj/amd64  \
             -R /build/netbsd-local/release \
             -V RELEASEMACHINEDIR=amd64 -V MKDEBUG=yes \
        -m amd64 -j32 -x release
....
--- install-compat ---
/build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-install  -N 
/build/netbsd-local/src/etc -c  -r -o root -g wheel -m 444  libisns.so.0.0 
/build/netbsd-local/dest/amd64/usr/lib/i386/libisns.so.0.0
--- libisns.so.0.0 ---
/build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-gcc  -Wl,-x -shared 
-Wl,-soname,libisns.so.0 -Wl,--warn-shared-textrel -Wl,-Map=libisns.so.0.map   
-m32 --sysroot=/build/netbsd-local/dest/amd64 -o libisns.so.0.0  
-Wl,-rpath,/usr/lib/i386  -L=/usr/lib/i386 -Wl,--whole-archive libisns_pic.a  
-Wl,--no-whole-archive -m32 
-L/build/netbsd-local/obj/amd64/compat/amd64/i386/lib/libpthread -lpthread
--- /build/netbsd-local/dest/amd64/usr/lib/i386/libisns.so.0.0 ---
x86_64--netbsd-install: libisns.so.0.0: stat: No such file or directory
....

This has happened to me twice now, the same failure but on different libraries. The failure does not occur with "-j 1", and it happens only for MKDEBUG=yes

Anyone have any clue?


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index