MentorEmbedded/meta-sourcery — pull request #41 by kergoth (2014-07-21 19:39:04+00:00)
Title: tcmode: disable pseudo for gcc/g++/cpp

Revert the previous workaround for this issue and resurrect a more limited
implementation of the previous workaround.

The sourcery toolchain writes temporary files to /tmp, and includes the
username. If multiple users are doing builds with pseudo enabled, it'll try
to write to the other user's file, since both will use 'root', and the
build will fail as a result.

We don't want to wrap all the toolchain binaries, as they don't all call the
tools which write these lockfiles, and objcopy has to be excluded, as it
modifies installed binaries when the packaging process splits out the debug
info. If that operation occurs outside of pseudo's knowledge, Bad Things will
happen.

Confirmed that this fixes the problem. Also used buildhistory-diff to check for
impact on the permissions/ownership in the resulting images (tested
core-image-base and ivi-image), and compared the number of pseudo
errors/warnings in the pseudo.log files.