]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
elfutils: Disable stringop-overflow warning for build host
authorKhem Raj <raj.khem@gmail.com>
Sat, 14 May 2022 15:15:50 +0000 (08:15 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 15 May 2022 07:57:09 +0000 (08:57 +0100)
commitbb76fe2baf00b0874d221445c9fba4481740024f
treee2fd03ddd9e7294f62b05948a1e01996459ada79
parent7b67f19d353d88107f52cceda3c858730ac1db54
elfutils: Disable stringop-overflow warning for build host

Some distributions shipping gcc12 end up with stringop-overflow warnings
e.g.
/usr/include/bits/unistd.h:74:10: error: ‘__pread_alias’ specified size between 9223372036854775813 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]
   74 |   return __glibc_fortify (pread, __nbytes, sizeof (char),
      |          ^~~~~~~~~~~~~~~

Until fixed, lets not treat this warning as hard error

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/elfutils/elfutils_0.187.bb