qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* 8.1-rc0 testfloat fails to compile
@ 2023-07-20 20:47 Olaf Hering
  2023-07-21  6:54 ` Thomas Huth
  0 siblings, 1 reply; 9+ messages in thread
From: Olaf Hering @ 2023-07-20 20:47 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1054 bytes --]

This is going on since a few weeks. I guess there is no check in CI to see if qemu.git#master compiles in Tumbleweed.

Since the switch to meson submodules, berkeley-testfloat-3 became mandatory. I think in the past I was able to ignore this submodule and not export it, so the following error did not show up:

[  141s] ../subprojects/berkeley-testfloat-3/source/genCases_f64.c: In function 'f64Random':
[  141s] ../subprojects/berkeley-testfloat-3/source/genCases_f64.c:559:1: error: control reaches end of non-void function [-Werror=return-type]
[  141s]   559 | }
[  141s]       | ^
[  141s] cc1: some warnings being treated as errors

Apparently this is a known issue, 3ac1f81329f attempted to ignore such errors.
Do I need to tweak the global, system-provided CFLAGS myself, or can the source be fixed to address this? Disabling this error globally will hide errors elsewhere.

Maybe there is a way to append something to tests/fp/meson.build:libtestfloat.c_args? Right now it is apparently set to tfcflags+fpcflags+CFLAGS.


Olaf

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-07-24 12:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-20 20:47 8.1-rc0 testfloat fails to compile Olaf Hering
2023-07-21  6:54 ` Thomas Huth
2023-07-21  7:03   ` Olaf Hering
2023-07-21  7:18     ` Thomas Huth
2023-07-21  7:35       ` Olaf Hering
2023-07-21  7:53         ` Thomas Huth
2023-07-21  8:04           ` Olaf Hering
2023-07-22 12:49   ` Richard Henderson
2023-07-24 12:37     ` Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).