external toolchain shouldn't be shipping lttng stuff unless a
preference is explicitly set indicating it should be used
instead. Drop bits conflicting with those being provided
by lttng-tools.
Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
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 toolcahin 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.
JIRA: MEIP-393, SB-1905
Signed-off-by: Christopher Larson <kergoth@gmail.com>
This reverts commit f901bfd098, reversing
changes made to 69d2f98eda.
cs-license & friends don't obey TMPDIR, so this workaround had no useful
effect for our builds.
Basing this check off "arch == x86" is not strictly correct.
This option should be used on any toolchain where it is a valid
option to ensure that the build host libraries are ignored.
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
* origin/release/2014.05:
tcmode: obey MGLS_LICENSE_FILE, not MGLS
testfloat: obey LDFLAGS
ossp-uuid: obey LDFLAGS
boot-format: obey LDFLAGS
tcmode: don't use BB_HASHBASE_WHITELIST_append
tcmode: use /tmp/sourcery-$LOGNAME for TMPDIR
external-sourcery-toolchain: Error out if libc.so does not exist
external-sourcery-toolchain: Package libinproctrace library.
external-sourcery-toolchain: Fix installation of lib/locale.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Conflicts:
conf/distro/include/tcmode-external-sourcery.inc
Currently, bitbake isn't always using the finalized configuration metadata to
get the value of this variable, so the _append isn't always applied.
JIRA: MEIBPADIT-811
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Work around the bad interaction between cs-license and pseudo by shoving all
the temporary files into a subdir by the user's original logname.
JIRA: SB-1905
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Depending on the external toolchain config, the libc.so file may
not exist. This generally means that the machine config does
not have multi-lib support when it should. Rather than letting
the "sed" command error out with a cryptic message, issue a
(hopefully) more meaningful message.
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>