Commit Graph

166 Commits

Author SHA1 Message Date
Christopher Larson
54aa4e259d testfloat: obey LDFLAGS
Quiets a GNU_HASH warning.

JIRA: SB-3120

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-06-23 10:49:44 -07:00
Christopher Larson
b54e2f2e0d ossp-uuid: obey LDFLAGS
Quiets a GNU_HASH warning.

JIRA: SB-3120

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-06-23 10:33:19 -07:00
Christopher Larson
77186ca4b7 boot-format: obey LDFLAGS
Quiets a GNU_HASH warning.

JIRA: SB-3120

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-06-23 09:53:13 -07:00
Christopher Larson
2684b9fdb1 Merge pull request #37 from kergoth/MEIBPADIT-811
tcmode: don't use BB_HASHBASE_WHITELIST_append
2014-06-18 08:44:19 -07:00
Christopher Larson
0bae350148 tcmode: don't use BB_HASHBASE_WHITELIST_append
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>
2014-06-17 09:49:41 -07:00
Christopher Larson
f901bfd098 Merge pull request #36 from MentorEmbedded/sb-1905
tcmode: use /tmp/sourcery-$LOGNAME for TMPDIR
2014-06-13 10:20:00 -07:00
Christopher Larson
b4493e0236 tcmode: use /tmp/sourcery-$LOGNAME for TMPDIR
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>
2014-06-13 10:16:25 -07:00
Christopher Larson
69d2f98eda Merge pull request #35 from drewmoseley/daisy
A few lib based changes for meta-sourcery.

* drewmoseley/daisy:
  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.
2014-06-10 17:58:14 -07:00
Drew Moseley
5835fd1adb external-sourcery-toolchain: Error out if libc.so does not exist
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>
2014-06-10 19:27:28 -04:00
Drew Moseley
70f38570fb external-sourcery-toolchain: Package libinproctrace library.
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2014-06-02 16:23:52 -04:00
Drew Moseley
a1ef15a143 external-sourcery-toolchain: Fix installation of lib/locale.
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2014-06-02 16:22:59 -04:00
Christopher Larson
990e26f9bc Merge pull request #33 from MentorEmbedded/sb-2816
Revert "tcmode: disable pseudo when running the toolchain"
2014-05-16 12:19:05 -07:00
Christopher Larson
562dfbda09 Revert "tcmode: disable pseudo when running the toolchain"
This caused all manner of breakage due to the toolchain writing out files with
wrong ownership, then those files would end up leaking into the rootfs.

JIRA: INTAMDDET-129, SB-2725

This reverts commit 6bd4ec919a.
2014-05-16 12:17:10 -07:00
Christopher Larson
c0786d219c tcmode: add MGLS, LM_LICENSE_FILE to BB_HASHBASE_WHITELIST
This ensures that they don't affect our checksums/signatures. These affect the
behavior of the toolchain licensing, not the output.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-04-17 14:41:54 -07:00
Christopher Larson
5c3a3fe169 Merge pull request #32 from kergoth/sb-2612
tcmode: export MGLS and LM_LICENSE_FILE
2014-04-17 10:29:41 -07:00
Christopher Larson
e1b0f111bb tcmode: export MGLS and LM_LICENSE_FILE
This is necessary for the toolchain licensing.

JIRA: SB-2612

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-04-17 10:28:06 -07:00
Christopher Larson
95f34840ea Merge pull request #29 from drewmoseley/disable-gdbserver-conditionally
gdb: Disable gdbserver conditionally.
2014-04-14 15:17:54 -07:00
Christopher Larson
256ad7dff5 Merge pull request #30 from kergoth/sb-2602
tcmode: drop en_US.UTF-8 from GLIBC_GENERATE_LOCALES
2014-04-14 15:08:28 -07:00
Drew Moseley
d9f1cf6e50 gdb: Disable gdbserver conditionally.
Make the disabling of gdbserver conditional on the value of
TCMODE.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2014-04-14 15:31:06 -04:00
Christopher Larson
7335cc8ae8 Merge pull request #31 from drewmoseley/master
tcmode-external-sourcery: Add x86_64-amd-linux-gnu toolchain prefix.
2014-04-14 12:25:08 -07:00
Drew Moseley
45d049fa91 tcmode-external-sourcery: Add x86_64-amd-linux-gnu toolchain prefix.
Allow x86-64 builds to use x86_64-amd-linux-gnu as the prefix for the
cross tools.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2014-04-14 15:15:37 -04:00
Christopher Larson
27fe7fc82f tcmode: drop en_US.UTF-8 from GLIBC_GENERATE_LOCALES
This locale doesn't seem to be available in the external toolchain, so make
sure it isn't included in this variable, otherwise locale-base will depend
upon a non-existant package.

JIRA: SB-2602

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-04-14 11:51:19 -07:00
Christopher Larson
0936a48b23 Merge pull request #28 from drewmoseley/new-toolchain
New toolchain
2014-04-14 07:55:37 -07:00
Drew Moseley
d6a4bae507 external-sourcery-toolchain: add the Transactional Memory library
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2014-04-11 18:10:11 -04:00
Drew Moseley
68bd167317 external-sourcery-toolchain: add the Thread Sanitizer runtime library
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2014-04-11 18:10:10 -04:00
Christopher Larson
97531a699f Merge pull request #27 from kergoth/no-pseudo
Disable pseudo when running the toolchain
2014-04-10 15:06:06 -07:00
Christopher Larson
075e1b76a4 csl-versions: use eventmask for the handler
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-04-10 15:05:53 -07:00
Christopher Larson
5f48a48ec7 tcmode: use eventmask for the handler
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-04-10 15:05:50 -07:00
Christopher Larson
6bd4ec919a tcmode: disable pseudo when running the toolchain
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.

Initially, I attempted to alter CC, KERNEL_CC, LD, etc to prepend with 'env
PSEUDO_UNLOAD=1 ', but this isn't ideal, as it seems there are cases where our
vars aren't obeyed. For example, the kernel build runs gcc -E, but it seems it
gets that from the cross-compiler prefix, not from CC, and we aren't passing
anything in for CPP. So, for now, use wrappers to deal with it, to ensure that
absolutely any call to any of the toolchain binaries will unload pseudo.

JIRA: MEIP-393, SB-1905

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2014-04-10 12:38:58 -07:00
Christopher Larson
1cc4c3b067 Merge pull request #26 from mdurnev/mdurnev/gdb
gdb: Disabled gdbserver
2014-04-09 09:21:32 -07:00
Noor-Ahsan
e4a2022794 Merge pull request #24 from pwoegere/master
Removal of obsolete workarounds no longer needed
2014-04-08 13:22:42 +05:00
Mikhail Durnev
284c8290d3 gdb: Disabled gdbserver
Disable build of gdbserver because it is provided by
external-sourcery-toolchain

Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com>
2014-04-03 19:37:22 -05:00
Christopher Larson
80213301be Merge pull request #23 from mdurnev/mdurnev/debug-file-directory
external-sourcery-toolchain: Fixed packaging
2014-04-03 07:28:59 -07:00
Paul Woegerer
bab91754a7 Remove obsolete core/recipes-kernel/lttng fixes
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.
2014-04-03 14:14:17 +02:00
Mikhail Durnev
6d62e6fc28 external-sourcery-toolchain: Fixed packaging
Fixed packaging for PACKAGE_DEBUG_SPLIT_STYLE="debug-file-directory"

Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com>
2014-04-03 00:59:50 -05:00
Paul Woegerer
c560fe4f38 Merge pull request #1 from MentorEmbedded/master
Resync with parent repo
2014-04-02 14:04:28 +02:00
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