[Buildroot] [PATCH 2/3] zlib: Fix build
Peter Korsgaard
jacmet at uclibc.org
Sat Sep 18 20:13:11 UTC 2010
>>>>> "llandwerlin" == llandwerlin <llandwerlin at gmail.com> writes:
llandwerlin> From: Lionel Landwerlin <llandwerlin at gmail.com>
llandwerlin> Using "make -j $(N)" with N > 1 break zlib build.
In what way exactly? Zlib is a pretty common package and I've never
seen if breaking because of parallel builds.
In fact, testing on a big (24 core) machine I don't see it either:
tar jxf ~/zlib-1.2.5.tar.bz2
mv zlib-1.2.5{,-parallel}
tar jxf ~/zlib-1.2.5.tar.bz2
cd zlib-1.2.5-parallel ; ./configure --prefix=/usr --shared; \
make -j 100 all libz.a; cd ..
cd zlib-1.2.5 ; ./configure --prefix=/usr --shared; \
make all libz.a; cd ..
Gives the same result:
ls -la zlib-1.2.5*/libz.{a,so.1.2.5}
-rw-r--r-- 1 peko peko 133746 2010-09-18 22:00 zlib-1.2.5/libz.a
-rwxr-xr-x 1 peko peko 109995 2010-09-18 22:00 zlib-1.2.5/libz.so.1.2.5
-rw-r--r-- 1 peko peko 133746 2010-09-18 22:00 zlib-1.2.5-parallel/libz.a
-rwxr-xr-x 1 peko peko 109995 2010-09-18 22:00 zlib-1.2.5-parallel/libz.so.1.2.5
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list