Re: Running builds under strace

David Stewart

This is quite helpful, as we have been discussing this exact topic this week.

Maybe capture this in Bugzilla? (Not at my computer at the moment or would help). Thanks again.

Sent from my Blackberry

----- Original Message -----
From: Alex deVries [mailto:alex.devries@...]
Sent: Tuesday, November 09, 2010 02:10 PM
To: Yocto Project <yocto@...>
Subject: [yocto] Running builds under strace

I'm working on swabber support, and as part of that need to enable running builds in strace. The code for this is in josh's poky-contrib.

For anyone else who is looking at this, various packages failed to build with -jN (with N>1). My theory is that running these builds under strace changes the build timing and exposes existing parallel build problems that don't normally show themselves.

To address this, I had to modify various recipes to set PARALLEL_MAKE = "" for various packages.

The following packages had to be modified:
# modified: meta/recipes-connectivity/openssl/
# modified: meta/recipes-core/eglibc/
# modified: meta/recipes-core/glib-2.0/
# modified: meta/recipes-core/libxml/
# modified: meta/recipes-core/readline/
# modified: meta/recipes-core/util-linux/
# modified: meta/recipes-devtools/binutils/
# modified: meta/recipes-devtools/bison/
# modified: meta/recipes-devtools/cmake/
# modified: meta/recipes-devtools/elfutils/
# modified: meta/recipes-devtools/gcc/
# modified: meta/recipes-devtools/m4/
# modified: meta/recipes-devtools/opkg/
# modified: meta/recipes-devtools/pkgconfig/
# modified: meta/recipes-devtools/prelink/
# modified: meta/recipes-devtools/qemu/
# modified: meta/recipes-devtools/qemu/
# modified: meta/recipes-devtools/quilt/
# modified: meta/recipes-devtools/rpm/
# modified: meta/recipes-devtools/tcltk/
# modified: meta/recipes-support/beecrypt/
# modified: meta/recipes-support/curl/
# modified: meta/recipes-support/gmp/
# modified: meta/recipes-support/libmpc/
# modified: meta/recipes-support/libxslt/
# modified: meta/recipes-support/lzo/
# modified: meta/recipes-support/popt/

The only really concerning ones were eglibc and gcc. We can't set PARALLEL_MAKE="" for these as these are very large, and builds would be very slow. Packages like popt don't matter as much, you don't save that much time by building them with -j16.

Josh and I are trying to figure out how to address these.

Swabber support is coming soon!

- A
yocto mailing list

Join { to automatically receive all group messages.