[Buildroot] [PATCH 2/3] zlib: Fix build

Martin Banky Martin.Banky at gmail.com
Sat Sep 18 20:48:11 UTC 2010


Peter,
     I can confirm that it was reliably breaking for me with parallel
builds. The error message would say that it couldn't find libz.a, I think
during linking. I would restart the build process, and it would finish just
fine after that. I wish I had known about the MAKE1 option. I guess I should
have rtfm a little better.

Martin

On Sat, Sep 18, 2010 at 1:13 PM, Peter Korsgaard <jacmet at uclibc.org> wrote:

> >>>>> "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
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100918/9f19a173/attachment.html>


More information about the buildroot mailing list