Since the external toolchain is available at parse time, we can actually grab
the kernel version from the external toolchain sysroot and use that to
determine whether to apply the patch. Do so.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
A patch in oe-core is needed, at this time, to fix builds with
linux-libc-headers from the 4.8 Linux kernel or newer, which is not the case
for most external toolchains. Unfortunately, this patch also breaks the build
of ppp with older linux-libc-headers, so we need to revert it. A note in the
README is added explaining how to disable this for external toolchains with
recent enough kernel libc headers.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Avoid providing "gdbserver" if PREFERRED_PROVIDER is set to
external-sourcery or some other package which also provides it. This
avoids "Multiple Provider" warnings.
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Due to a previous workaround, the external gcc/g++ is run outside of pseudo
context. The ncurses install target re-links the libraries directly into ${D},
so we need to make sure the ownership on those files is correct.
JIRA: SB-4185
Signed-off-by: Christopher Larson <kergoth@gmail.com>
common-license.bbclass will set LIC_FILES_CHKSUM to a common license file
based on LICENSE, which is appropriate for a case where we have no sources to
refer to.
external-toolchain.bbclass, among other things, handles extraction of files in
the external toolchain sysroot, based on patterns in the FILES variables,
checking alternate locations to better support any arbitrary toolchain, and
has basic mirror handling for checking multiple paths within the sysroots.
Under normal circumstances, I'd want this to use highly granular commits, but
this branch has been extremely long lived (>1yr) and is such an invasive
refactoring that attempting to break it down now would be of limited
usefulness.
Signed-off-by: Christopher Larson <chris_larson@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
Using CSL_VER_MAIN = "2014.05-2014032705" or later allows us to remove
several patches that worked around ARM specific toolchain issues that
are now resolved in newer versions of sourcery-codebench toolchains.
This is needed currently, as our 2013.11 and 2014.05 IB 1 toolchains are
affected by gcc bug 58595, which is JIRA: CB-3083.
Signed-off-by: Christopher Larson <kergoth@gmail.com>
To make base address state tracing to work better or appliations that
fork without exec (e.g. daemons, web servers, ...) the following patch
is applied to lttng-ust:
lttng-ust/0001-Fix-Make-deadlocks-with-baddr-statedump-unlikely.patch
To work around an ARM specific compiler bug that causes babeltrace to
miscompile with optimizations the following patch is used:
babeltrace/do-not-optimize-parser.patch
To workaround a crosscompiling issue with babeltrace 1.2 the following
patch is used:
babeltrace/lttng-live-missing-header.patch
To enable building of lttng-modules for ARM the following modifications
are required to the recipe in poky:
packagegroup-core-tools-profile.bbappend
lttng-modules_2.4.0.bbappend
To enable compiling liburcu without --disable-compiler-tls on ARM the
following recipe is added:
liburcu_0.8.4.bb
Internal toolchains generally don't see these, as they build that toolchain
with the default behavior they expect, so it's appropriate to include these
fixes with the external toolchain configuration, for now.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>