Discussion:
[yocto] Using ICECC to build Thud issue
John Unland
2018-12-04 16:28:42 UTC
Permalink
Hello everyone,

I've been playing around with the icecc.bbclass and a small 2 node icecream
cluster. At the moment I'm able to compile core-image-minimal using Rocko
however when building on Thud I get a error (See Github gist for error and
local.conf config):

https://gist.github.com/junland/d932bd63ca2c871b99e64eda543ca2fe

My build OS is Ubuntu 18.04 (Workstation) and CentOS 7 (Second build
server), also I've gotten the same error on a Debian 9 and Oracle Linux VM
so I highly doubt it's something that has todo with the OS. I'd also like
to add what the workflow I'm using:

(As regular user)
1. $> git clone -b thud git://git.yoctoproject.org/poky.git

2. $> source oe-init-build-env

3. (Edit local.conf and place "PARALLEL_MAKE = "-j 10"" and "INHERIT +=
"icecc"" at the end of the config file)

4. $> source oe-init-build-env

5. $> bitbake core-image-minimal

Is there something I'm missing here? I've read the section of the manual
that explains on how to use icecream but it hasn't really solved my
problem. Any help would be great!

Thanks!
Joshua Watt
2018-12-04 16:44:11 UTC
Permalink
Post by John Unland
Hello everyone,
I've been playing around with the icecc.bbclass and a small 2 node
icecream cluster. At the moment I'm able to compile core-image-
minimal using Rocko however when building on Thud I get a error (See
https://gist.github.com/junland/d932bd63ca2c871b99e64eda543ca2fe
Fixed on master:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1da297d35411e923ca3b6accdd37074f5182f019https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5dd8df08c51bc4cc1ef0d5be7656c9bfcf938cca
They should probably be backported to thud.
Post by John Unland
My build OS is Ubuntu 18.04 (Workstation) and CentOS 7 (Second build
server), also I've gotten the same error on a Debian 9 and Oracle
Linux VM so I highly doubt it's something that has todo with the OS.
(As regular user)
1. $> git clone -b thud git://git.yoctoproject.org/poky.git
2. $> source oe-init-build-env
3. (Edit local.conf and place "PARALLEL_MAKE = "-j 10"" and "INHERIT
+= "icecc"" at the end of the config file)
4. $> source oe-init-build-env
5. $> bitbake core-image-minimal
Is there something I'm missing here? I've read the section of the
manual that explains on how to use icecream but it hasn't really
solved my problem. Any help would be great!
Thanks!
--
Joshua Watt <***@gmail.com>
John Unland
2018-12-05 21:09:31 UTC
Permalink
Post by Joshua Watt
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1da297d35411e923ca3b6accdd37074f5182f019
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5dd8df08c51bc4cc1ef0d5be7656c9bfcf938cca
They should probably be backported to thud.
Glad it wasn't anything on the config end par say, would this be a
candidate to log a bug for?

Thanks!
Joshua Watt
2018-12-05 21:21:37 UTC
Permalink
Post by John Unland
Post by Joshua Watt
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1da297d35411e923ca3b6accdd37074f5182f019
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5dd8df08c51bc4cc1ef0d5be7656c9bfcf938cca
They should probably be backported to thud.
Glad it wasn't anything on the config end par say, would this be a
candidate to log a bug for?
CC'ing Armin
It wouldn't hurt to make a bug for the backport.
Post by John Unland
Thanks!
akuster808
2018-12-05 22:47:56 UTC
Permalink
Post by Joshua Watt
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1da297d35411e923ca3b6accdd37074f5182f019
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5dd8df08c51bc4cc1ef0d5be7656c9bfcf938cca
They should probably be backported to thud.
Glad it wasn't anything on the config end par say, would this be a
candidate to log a bug for?
CC'ing Armi
its in stable/thud-nmut

thanks
-a rmin
Post by Joshua Watt
It wouldn't hurt to make a bug for the backport.
Thanks!
Loading...