Commit Graph

130 Commits

Author SHA1 Message Date
Christopher Larson
a006aca1be external-sourcery-toolchain: deal with more sanity checks
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-03-27 11:39:36 -07:00
Christopher Larson
214964cacf Merge pull request #22 from kergoth/resurrect-bug58595-workaround
lttng-tools: resurrect -O1 workaround dropped by #21
2014-03-20 11:20:26 -07:00
Christopher Larson
a2533a978c lttng-tools: resurrect -O1 workaround dropped by #21
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>
2014-03-20 11:17:30 -07:00
Christopher Larson
54138a256a Merge pull request #21 from pwoegere/master
Provide fixes on top of LTTng 2.4 from poky
2014-03-20 08:28:18 -07:00
Paul Woegerer
1188f6fd03 Provide fixes on top on LTTng 2.4
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
2014-03-19 09:03:16 +01:00
Paul Woegerer
edc3532d6a Also allow bbs in addition to bbappends 2014-03-18 12:48:25 +01:00
Christopher Larson
77b8d3f736 lttng2: apply toolchain workarounds from pwoegere's meta-tracing
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-03-10 08:19:20 -07:00
Christopher Larson
bea0c577c8 layer.conf: add LAYERDEPENDS
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-03-10 08:19:20 -07:00
Christopher Larson
87161aacff Merge pull request #20 from drewmoseley/master
tcmode-external-sourcery: Allow x86_64-linux-gnu as toolchain prefix.
2014-03-10 07:37:40 -07:00
Drew Moseley
f4d984d96d tcmode-external-sourcery: Allow x86_64-linux-gnu as toolchain prefix.
Allow x86-64 builds to use x86_64-linux-gnu as the prefix for the
cross tools.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2014-03-07 19:00:41 -05:00
Christopher Larson
1388edbf85 eglibc-locale: use version wildcard
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-02-19 14:03:46 -07:00
Christopher Larson
ae2e44fef1 external-sourcery-toolchain: silence GNU_HASH warning for libasan
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-01-30 10:03:46 -07:00
Christopher Larson
3fd063e9ec external-sourcery-toolchain: add the Address Sanitizer runtime library
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-01-30 09:58:46 -07:00
Christopher Larson
37adc9b3b5 external-sourcery-toolchain: update LIC_FILES_CHKSUM per upstream
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-01-03 09:52:09 -07:00
Christopher Larson
6c90b7fc0d eglibc-locale: drop removed version
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-01-03 09:52:00 -07:00
Christopher Larson
a34fb31e2c libffi: move fix from meta-mentor
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2013-12-13 15:04:36 -07:00
Christopher Larson
fde19b61e5 imx-lib: 11.09.l01 -> 11.09.02
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2013-12-03 10:06:07 -07:00
Christopher Larson
ddb1777877 external-sourcery-toolchain: for l-l-h, kill other inc dirs
When using an external linux-libc-headers recipe, we also don't want to ship
these headers, otherwise we get excessive warnings due to recipe sysroot file
overlap.

JIRA: SB-1501

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2013-10-29 11:30:31 -07:00
Christopher Larson
4730bb83e3 external-sourcery-toolchain: package libatomic
Quiets a 'Files/directories were installed but not shipped' warning with some
toolchains.

JIRA: SB-1471

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2013-10-24 14:01:50 -07:00
Christopher Larson
c48d7486d2 external-sourcery-toolchain: exclude opagent.h
Quiets a 'Files/directories were installed but not shipped' warning when the
toolchain includes oprofile, but we're configured to prefer the real oprofile.

JIRA: SB-1471

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2013-10-24 14:01:36 -07:00
Noor-Ahsan
add7095fa7 Merge pull request #19 from kergoth/improve-preview-version-extraction
csl-versions: improve main ver for Preview releases
2013-10-24 06:11:02 -07:00
Christopher Larson
4228b31e44 csl-versions: improve main ver for Preview releases
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2013-10-23 13:18:34 -07:00
Christopher Larson
29a5e89e5f csl-versions: fix syntax of gdb ver when there's an error
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2013-10-17 08:56:09 -07:00
Christopher Larson
6be35fcbd6 tcmode-external-sourcery: s/mkdirhier/utils.mkdirhier/
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2013-10-17 03:17:48 +00:00
Christopher Larson
b766f72e30 README.md: cover CSL_SRC_FILE for rebuild-libc 2013-10-15 10:00:07 -07:00
Christopher Larson
a9a1624306 blktrace: obey LDFLAGS for btrecord
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2013-10-09 18:04:15 -07:00
Christopher Larson
6ca5a55a04 external-sourcery-toolchain: ensure user ownership isn't a problem: chown root:root
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2013-09-16 10:51:44 -07:00
Christopher Larson
965ae8df88 tune-*: ensure we apply the e500v2 gcc ice fix
Push out our append to TUNE_CCARGS to the end of the parse with _append, so it
shouldn't be affected by the e500v2 :=, and manually apply its gcc ice fix.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-08-21 07:58:49 -07:00
Christopher Larson
e71ffa3603 tune-*: don't die if the ccargs are expanded early
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-08-21 07:49:52 -07:00
Christopher Larson
0d53b056f3 eglibc-locale: also bbappend to 2.18
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2013-08-11 15:43:21 -04:00
Christopher Larson
68ef23ab75 external-sourcery-toolchain: only copy existing /usr/ subdirs
It seems there are versions of the toolchain which provide empty directories,
which is a problem for anyone storing their toolchain in source control. So
ensure we only ever copy the paths that exist. Previously, we had left it as
is to make sure it *would* break if a path we require is missing, but
admittedly not all of these paths are critical, and if something is that badly
broken in the toolchain, other things are likely to break elsewhere anyway.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2013-07-26 11:00:40 -07:00
Christopher Larson
18bbe5f8ed README.md: reformat optional functionality as a header 2013-07-25 10:58:26 -07:00
Christopher Larson
0636ba9813 README.md: add description of how the layer works
This information should be informative, covering exactly what the layer.conf and tcmode file are doing. In addition, it should address concerns about configuration migration from old versions of oe-core, without explicitly instructing the user in steps they may not need to perform.

This also adds instructions on the use of `external-sourcery-rebuild-libc`.
2013-07-25 10:56:41 -07:00
Christopher Larson
edaebec853 README.md: add usage/instructions
Fixes #9
2013-07-25 10:26:33 -07:00
Christopher Larson
227565a5df tcmode: set NO32LIBS ?= "0" 2013-07-25 09:58:21 -07:00
Christopher Larson
832ce19377 Rename README to README.md 2013-07-24 09:06:13 -07:00
Christopher Larson
2d75af10a0 tcmode: add CSL_TARGET_SYS_x86-64
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-07-17 09:04:25 -07:00
Christopher Larson
1a1cb44fe5 Support splitting out oprofile, popt, lttng bits
Don't do so in our default configuration, however.  This quiets the warnings
encountered when using 2013.05 sourcery toolchains.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-07-11 11:39:55 -04:00
Christopher Larson
1f21d8825f tcmode: kill the TOOLCHAIN_HOST_TASK override
This means we won't be able to build meta-toolchain with an external
toolchain, but it does mean we don't screw up buildtools-tarball. If we need
a functional meta-toolchain in the future, we can resurrect a superior
implementation of this.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-06-27 16:35:54 -07:00
Christopher Larson
5f3b4e7921 tcmode: add SDKGCCVERSION bits
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-06-27 16:34:42 -07:00
Noor-Ahsan
5250955bf7 Merge pull request #7 from mdurnev/mdurnev/toolchain
external-sourcery-toolchain: kill oprofile debug bits
2013-06-19 04:57:45 -07:00
Mikhail Durnev
1eae566b23 external-sourcery-toolchain: kill oprofile debug bits
Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com>
2013-06-18 19:28:17 -05:00
Christopher Larson
5f80b28bd4 Correct PR/PRINC for GNU_HASH fixes
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-05-31 09:47:45 -07:00
Christopher Larson
9878cfed95 Add initial layer README
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-05-31 09:38:50 -07:00
Christopher Larson
3b44877887 Move GNU_HASH warning fixes here from meta-mentor
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>
2013-05-31 09:38:09 -07:00
Christopher Larson
079d3ff35d external-sourcery-toolchain: add linux-libc-headers to PACKAGES
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-05-10 09:17:22 -07:00
Christopher Larson
985043fae9 eglibc-locale: inhibit package debug split
This is apparently needed due to a failure to run the objcopy.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-05-10 06:58:56 -07:00
Christopher Larson
5d423c4509 tcmode-external-sourcery: don't break when not in a loop
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-05-01 15:27:28 -07:00
Christopher Larson
e2075d4a78 tcmode-external-sourcery: create ld.bfd toolchain symlink
Now that KERNEL_LD uses ld.bfd, we need to ensure that it exists when using an
external toolchain.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-05-01 15:21:40 -07:00
Christopher Larson
2815788eab external-sourcery-toolchain: extract LICENSE_gdbserver from gdb -v
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-04-16 17:23:17 -04:00