diff options
author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2012-05-20 19:54:37 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-24 08:51:38 +0100 |
commit | fce38e581faf92871df41c6d829753a183e76acc (patch) | |
tree | 382b7bda167b5a86ca3c1b2d8f8f5863048b6c7b /meta/recipes-devtools/apt | |
parent | 5022c3ecd7eb6e79da20d12cbf5d2c7992ba857c (diff) | |
download | ast2050-yocto-poky-fce38e581faf92871df41c6d829753a183e76acc.zip ast2050-yocto-poky-fce38e581faf92871df41c6d829753a183e76acc.tar.gz |
libtool: fixed parallel build related race
While building libtool, the libtool script itself will be regenerated
because OE modifies a dependency[1]. With -jX, this operation (-->
removal, creation of non-x file, 'chmod a+x') can happen at a time when
the script is going to be executed. This can cause errors like:
| arm-linux-gnueabi-libtool: compile: ccache arm-linux-gnueabi-gcc ...
| ...
| /bin/sh ./config.status libtool
| ...
| arm-linux-gnueabi-libtool: compile: ccache arm-linux-gnueabi-gcc ...
| /bin/sh: ./arm-linux-gnueabi-libtool: Permission denied
| make[2]: *** [libltdl/libltdl_libltdl_la-lt__alloc.lo] Error 126
I am not sure whether the custom do_compile_prepend() is still needed.
For now only the issue above will be fixed by executing ./config.status
yet again.
[1] see 648290d5bf4d6ff50d3643bb7ad902dfc23aa702
(From OE-Core rev: e065c11b6066f8c1d37496b58dd853a684cd9136)
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/apt')
0 files changed, 0 insertions, 0 deletions