Files
poky/meta/recipes-devtools
Mike Crowe 4aaa1a4f94 gcc-sanitizers: Move content from gcclibdir into libdir
In e9e5744ba8b0d43c8b874d365f83071ce20bf0a1, Khem Raj wrote:
> OE does not use the traditional /usr/lib/gcc prefix to store
> gcc-runtime it basically is moved into libdir, however some newer
> files were installed by newer versions of gcc especially libgomp (
> omp.h openacc.h ) into gcclibdir, so we have content in both
> directories, this confuses other tools which are trying to guess the
> gcc installation and its runtime location, since now we have two
> directories, the tools either choose one or other and we get
> inconsistent behavior, e.g. clang for aarch64 uses /usr/lib but same
> clang for riscv64 chose /usr/lib/gcc

> This change ensures that OE ends up with single valid location for gcc
> runtime files

I think that the same thing needs to happen in gcc-sanitizers.inc,
otherwise I get errors like:

| .../recipe-sysroot/usr/include/gpg-error-64.h:884:11: fatal error: sanitizer/lsan_interface.h: No such file or directory

when attempting to compile with sanitizers enabled.

FILES_${PN} needs updating to match too.

(From OE-Core rev: 6b9e85e48ba43be74d51c7af703ba787f36e3241)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 862b4fac3ee7d951758c8c93462331ad52bf0190)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:31:55 +01:00
..
2020-09-05 22:19:19 +01:00
2020-06-04 13:27:31 +01:00
2021-01-27 09:32:45 +00:00
2021-02-26 15:30:40 +00:00
2020-07-25 15:11:05 +01:00
2020-09-08 23:03:04 +01:00
2020-08-06 15:12:39 +01:00
2020-06-28 08:35:59 +01:00
2020-07-18 11:06:32 +01:00
2020-05-05 13:19:54 +01:00
2020-06-24 18:06:43 +01:00
2021-01-27 09:32:45 +00:00
2020-05-30 12:32:48 +01:00
2021-03-10 00:24:25 +00:00
2021-03-10 00:24:25 +00:00
2020-09-05 22:19:20 +01:00
2019-10-19 23:18:33 +01:00
2018-03-09 09:17:03 -08:00
2020-07-02 16:18:03 +01:00
2020-07-27 19:58:09 +01:00
2020-05-12 15:20:42 +01:00
2020-09-03 09:44:30 +01:00
2020-12-18 23:01:48 +00:00
2019-05-27 17:06:34 +01:00
2020-03-08 08:21:11 +00:00
2020-08-25 16:00:11 +01:00
2019-02-15 16:05:37 +00:00
2019-12-28 23:25:42 +00:00
2020-09-03 09:44:30 +01:00
2020-09-03 09:44:30 +01:00
2021-02-26 15:30:39 +00:00
2020-06-28 23:37:38 +01:00
2019-12-09 12:00:43 +00:00
2021-01-12 14:25:13 +00:00
2020-09-02 16:00:46 +01:00
2020-06-09 13:13:59 +01:00
2018-11-14 11:14:39 +00:00
2021-03-28 22:31:55 +01:00
2021-03-28 22:31:55 +01:00
2021-01-04 11:45:47 +00:00
2020-05-18 06:33:36 +01:00
2021-02-26 15:30:39 +00:00
2020-02-28 23:11:28 +00:00
2020-08-25 16:00:10 +01:00
2021-02-26 15:30:40 +00:00