* [PATCH] test/tcg/arm: Use -mfloat-abi=soft for test-armv6m-undef
@ 2022-06-04 3:27 Richard Henderson
2022-06-04 7:42 ` Thomas Huth
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Richard Henderson @ 2022-06-04 3:27 UTC (permalink / raw)
To: qemu-devel; +Cc: alex.bennee
GCC11 from crossbuild-essential-armhf from ubuntu 22.04 errors:
cc1: error: ‘-mfloat-abi=hard’: selected architecture lacks an FPU
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tests/tcg/arm/Makefile.softmmu-target | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/tcg/arm/Makefile.softmmu-target b/tests/tcg/arm/Makefile.softmmu-target
index 3fe237ba39..7df88ddea8 100644
--- a/tests/tcg/arm/Makefile.softmmu-target
+++ b/tests/tcg/arm/Makefile.softmmu-target
@@ -20,7 +20,7 @@ LDFLAGS+=-nostdlib -N -static
# Specific Test Rules
-test-armv6m-undef: EXTRA_CFLAGS+=-mcpu=cortex-m0
+test-armv6m-undef: EXTRA_CFLAGS+=-mcpu=cortex-m0 -mfloat-abi=soft
run-test-armv6m-undef: QEMU_OPTS+=-semihosting -M microbit -kernel
run-plugin-test-armv6m-undef-%: QEMU_OPTS+=-semihosting -M microbit -kernel
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] test/tcg/arm: Use -mfloat-abi=soft for test-armv6m-undef
2022-06-04 3:27 [PATCH] test/tcg/arm: Use -mfloat-abi=soft for test-armv6m-undef Richard Henderson
@ 2022-06-04 7:42 ` Thomas Huth
2022-06-04 13:21 ` Philippe Mathieu-Daudé via
2022-06-08 14:58 ` Alex Bennée
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2022-06-04 7:42 UTC (permalink / raw)
To: Richard Henderson, qemu-devel; +Cc: alex.bennee
On 04/06/2022 05.27, Richard Henderson wrote:
> GCC11 from crossbuild-essential-armhf from ubuntu 22.04 errors:
> cc1: error: ‘-mfloat-abi=hard’: selected architecture lacks an FPU
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> tests/tcg/arm/Makefile.softmmu-target | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/tcg/arm/Makefile.softmmu-target b/tests/tcg/arm/Makefile.softmmu-target
> index 3fe237ba39..7df88ddea8 100644
> --- a/tests/tcg/arm/Makefile.softmmu-target
> +++ b/tests/tcg/arm/Makefile.softmmu-target
> @@ -20,7 +20,7 @@ LDFLAGS+=-nostdlib -N -static
>
> # Specific Test Rules
>
> -test-armv6m-undef: EXTRA_CFLAGS+=-mcpu=cortex-m0
> +test-armv6m-undef: EXTRA_CFLAGS+=-mcpu=cortex-m0 -mfloat-abi=soft
>
> run-test-armv6m-undef: QEMU_OPTS+=-semihosting -M microbit -kernel
> run-plugin-test-armv6m-undef-%: QEMU_OPTS+=-semihosting -M microbit -kernel
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] test/tcg/arm: Use -mfloat-abi=soft for test-armv6m-undef
2022-06-04 3:27 [PATCH] test/tcg/arm: Use -mfloat-abi=soft for test-armv6m-undef Richard Henderson
2022-06-04 7:42 ` Thomas Huth
@ 2022-06-04 13:21 ` Philippe Mathieu-Daudé via
2022-06-08 14:58 ` Alex Bennée
2 siblings, 0 replies; 4+ messages in thread
From: Philippe Mathieu-Daudé via @ 2022-06-04 13:21 UTC (permalink / raw)
To: Richard Henderson, qemu-devel; +Cc: alex.bennee
On 4/6/22 05:27, Richard Henderson wrote:
> GCC11 from crossbuild-essential-armhf from ubuntu 22.04 errors:
> cc1: error: ‘-mfloat-abi=hard’: selected architecture lacks an FPU
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> tests/tcg/arm/Makefile.softmmu-target | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] test/tcg/arm: Use -mfloat-abi=soft for test-armv6m-undef
2022-06-04 3:27 [PATCH] test/tcg/arm: Use -mfloat-abi=soft for test-armv6m-undef Richard Henderson
2022-06-04 7:42 ` Thomas Huth
2022-06-04 13:21 ` Philippe Mathieu-Daudé via
@ 2022-06-08 14:58 ` Alex Bennée
2 siblings, 0 replies; 4+ messages in thread
From: Alex Bennée @ 2022-06-08 14:58 UTC (permalink / raw)
To: Richard Henderson; +Cc: qemu-devel
Richard Henderson <richard.henderson@linaro.org> writes:
> GCC11 from crossbuild-essential-armhf from ubuntu 22.04 errors:
> cc1: error: ‘-mfloat-abi=hard’: selected architecture lacks an FPU
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Queued to testing/next, thanks.
--
Alex Bennée
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-06-08 15:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-04 3:27 [PATCH] test/tcg/arm: Use -mfloat-abi=soft for test-armv6m-undef Richard Henderson
2022-06-04 7:42 ` Thomas Huth
2022-06-04 13:21 ` Philippe Mathieu-Daudé via
2022-06-08 14:58 ` Alex Bennée
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).