<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/gcc/gcc-sanitizers.inc, branch halstead/hashclient</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=halstead%2Fhashclient</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=halstead%2Fhashclient'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2023-09-07T06:53:51+00:00</updated>
<entry>
<title>gcc-sanitizers: Add loongarch as a compatible architecture.</title>
<updated>2023-09-07T06:53:51+00:00</updated>
<author>
<name>Zang Ruochen</name>
<email>zangruochen@loongson.cn</email>
</author>
<published>2023-09-06T01:27:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4ed66fe83a1b1d420f3eb692d21d261d9a835cf1'/>
<id>urn:sha1:4ed66fe83a1b1d420f3eb692d21d261d9a835cf1</id>
<content type='text'>
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=600413c4f3d70392285192fb99634bcbeb97f83f

(From OE-Core rev: 50649aa576b161751fd9b11ed98fe4a26b0781f8)

Signed-off-by: Zang Ruochen &lt;zangruochen@loongson.cn&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gcc: Upgrade to GCC 13.1 release</title>
<updated>2023-05-26T06:54:17+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2023-04-27T18:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=17085d769f40537937bf4ec20b4651fc8fc74e2f'/>
<id>urn:sha1:17085d769f40537937bf4ec20b4651fc8fc74e2f</id>
<content type='text'>
- Package libhwasan_preinit.o, its available on some arches e.g. x86_64 on
  gcc13+
- GCC 13 Porting guide [1] and major changes [2] and detailed documentation [3]
- Fix aarch64 cross build when S != B

[1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html
[2] https://www.gnu.org/software/gcc/gcc-13/changes.html
[3] https://gcc.gnu.org/onlinedocs/13.1.0/

(From OE-Core rev: b80c020eaeaaae82e5b32209ca8608b36eaaee40)

(From OE-Core rev: bea46612fd9106cc5b46eb1d81623b6492563c13)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Convert to new override syntax</title>
<updated>2021-08-02T14:44:10+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-07-28T22:28:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bb6ddc3691ab04162ec5fd69a2d5e7876713fd15'/>
<id>urn:sha1:bb6ddc3691ab04162ec5fd69a2d5e7876713fd15</id>
<content type='text'>
This is the result of automated script conversion:

scripts/contrib/convert-overrides.py &lt;oe-core directory&gt;

converting the metadata to use ":" as the override character instead of "_".

(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gcc-sanitizers: Package up static hwasan files as well</title>
<updated>2021-05-11T10:54:26+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2021-05-10T09:00:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=17535c15b78e23f527aba0982fb7785c6089cc51'/>
<id>urn:sha1:17535c15b78e23f527aba0982fb7785c6089cc51</id>
<content type='text'>
* introduced with gcc-11, other hwasan files were already packaged in:
  3df4a25465 gcc-sanitizers: Package up hwasan files
  but static library was still triggering installed-vs-shipped

(From OE-Core rev: 49aec04aa8ac98545b48c41382ebf1a1c3be1118)

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gcc-sanitizers: Package up hwasan files</title>
<updated>2021-03-20T18:54:56+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-03-19T17:14:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0163e6b8d033cacc5d05c0d7a2aaadf58732de2c'/>
<id>urn:sha1:0163e6b8d033cacc5d05c0d7a2aaadf58732de2c</id>
<content type='text'>
This is introduced in GCC-11

(From OE-Core rev: 3df4a25465e488ba7c17d0b358435fc1088c6dac)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gcc-sanitizers: Move content from gcclibdir into libdir</title>
<updated>2021-03-02T14:15:34+00:00</updated>
<author>
<name>Mike Crowe</name>
<email>mac@mcrowe.com</email>
</author>
<published>2021-02-28T12:20:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b81b46ea4877a79853e66faf4b49ff2588cbb2fb'/>
<id>urn:sha1:b81b46ea4877a79853e66faf4b49ff2588cbb2fb</id>
<content type='text'>
In e9e5744ba8b0d43c8b874d365f83071ce20bf0a1, Khem Raj wrote:
&gt; OE does not use the traditional /usr/lib/gcc prefix to store
&gt; gcc-runtime it basically is moved into libdir, however some newer
&gt; files were installed by newer versions of gcc especially libgomp (
&gt; omp.h openacc.h ) into gcclibdir, so we have content in both
&gt; directories, this confuses other tools which are trying to guess the
&gt; gcc installation and its runtime location, since now we have two
&gt; directories, the tools either choose one or other and we get
&gt; inconsistent behavior, e.g. clang for aarch64 uses /usr/lib but same
&gt; clang for riscv64 chose /usr/lib/gcc

&gt; This change ensures that OE ends up with single valid location for gcc
&gt; 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: 862b4fac3ee7d951758c8c93462331ad52bf0190)

Signed-off-by: Mike Crowe &lt;mac@mcrowe.com&gt;
Cc: Khem Raj &lt;raj.khem@gmail.com&gt;
Cc: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gcc-sanitizers: Add missing dep on libcrypt</title>
<updated>2019-12-30T08:47:12+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-12-22T04:05:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=38a63c5ea06e553bf71dae0f47de9a151db8124c'/>
<id>urn:sha1:38a63c5ea06e553bf71dae0f47de9a151db8124c</id>
<content type='text'>
(From OE-Core rev: fa1968884fd46568fcfcdb62f3bd6c52ea30df53)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gcc-sanitizers: fix -Werror=maybe-uninitialized issue</title>
<updated>2019-04-23T22:30:19+00:00</updated>
<author>
<name>Mingli Yu</name>
<email>Mingli.Yu@windriver.com</email>
</author>
<published>2019-04-22T08:41:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b9b57a52ed93237de414ef100357ed0a1dc6b434'/>
<id>urn:sha1:b9b57a52ed93237de414ef100357ed0a1dc6b434</id>
<content type='text'>
When DEBUG_BUILD = "1" added in local.conf, there
comes below build error when "bitbake gcc-sanitizers":
| ./../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c: In function 'elf_is_symlink':
| ../../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c:772:21: error: 'st.st_mode' may be used uninitialized in this function [-Werror=maybe-uninitialized]
|   return S_ISLNK (st.st_mode);

After commit[16643b0322 bitbake.conf: Use -Og in DEBUG_OPTIMIZATION]
introduced, "-Og" added to compiler when debug
build enabled.

Per https://gcc.gnu.org/ml/gcc-patches/2019-04/msg00315.html,
the gcc upstream thinks the warning is a false
positive and suggests to use -O2 rather than -Og
or -O1 when compiling that file, so pass -Wno-error
to compiler when -Og is used to silence the error.

(From OE-Core rev: d8d657f082d4a86f93ce810e5d99eb5c93333d8a)

Signed-off-by: Mingli Yu &lt;Mingli.Yu@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gcc-sanitizers: Package new liblsan objects built with gcc8</title>
<updated>2018-05-15T09:56:50+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2018-05-11T06:52:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=418b9d9ee7ce168186be433df942a95c5b16cfce'/>
<id>urn:sha1:418b9d9ee7ce168186be433df942a95c5b16cfce</id>
<content type='text'>
Fixes installed-vs-shipped QA errors

Reported-by: Dan McGregor &lt;danismostlikely@gmail.com&gt;
(From OE-Core rev: b5533d58ebee81fa1e1c061f4f78acc9a1a940df)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gcc-sanitizers: Update supported architectures</title>
<updated>2018-04-07T10:44:50+00:00</updated>
<author>
<name>Dan McGregor</name>
<email>dan.mcgregor@usask.ca</email>
</author>
<published>2018-04-04T16:08:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b46caed47b0f74520cd9280bbe3e3676d9a19046'/>
<id>urn:sha1:b46caed47b0f74520cd9280bbe3e3676d9a19046</id>
<content type='text'>
aarch64 has been supported since GCC 5.1, sparc has been supported
since 4.9, and S390 since 7.1.

Also mark as broken entirely with musl.

(From OE-Core rev: 7d90d2a70f0184ad715e9917d3e7aa096cf98f79)

Signed-off-by: Dan McGregor &lt;dan.mcgregor@usask.ca&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
