]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
gcc: fix bad-mapper-3.C test failures on some hosts
authorRoss Burton <ross.burton@arm.com>
Thu, 4 Dec 2025 16:18:20 +0000 (16:18 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Dec 2025 18:02:45 +0000 (18:02 +0000)
commit6145837147dc2a6d54a221f9cd7fe90d6895ff90
tree29c73f0a56e18a7a7ab2dc23a8e9a1a1706a17ed
parent09929ebf81bfa4ffe5b23dc220b6fc2866064a83
gcc: fix bad-mapper-3.C test failures on some hosts

This test tries to open an IPv6 socket to 'localhost', but some distros
(such as ubuntu 24.04) only have an IPv4 address for localhost and use
ip6-localhost for ::1.  This means the lookups fail in a way that the
test was not expecting, and the test fails.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-15.2.inc
meta/recipes-devtools/gcc/gcc/0001-mapper-localhost-might-not-be-known.patch [new file with mode: 0644]