diff options
author | Thomas Huth <thuth@redhat.com> | 2024-05-13 13:40:10 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-05-14 12:40:08 +0200 |
commit | 371d60dfdb47dd18d163a7759968ba138089371e (patch) | |
tree | 3b70ddba9c0a6083e4c3354c782a148d0f62a470 /gdb-xml/power-fpu.xml | |
parent | 9360070196789cc8b9404b2efaf319384e64b107 (diff) |
configure: Fix error message when C compiler is not working
If you try to run the configure script on a system without a working
C compiler, you get a very misleading error message:
ERROR: Unrecognized host OS (uname -s reports 'Linux')
Some people already opened bug tickets because of this problem:
https://gitlab.com/qemu-project/qemu/-/issues/2057
https://gitlab.com/qemu-project/qemu/-/issues/2288
We should rather tell the user that we were not able to use the C
compiler instead, otherwise they will have a hard time to figure
out what was going wrong.
While we're at it, let's also suppress the "unrecognized host CPU"
message in this case since it is rather misleading than helpful.
Fixes: 264b803721 ("configure: remove compiler sanity check")
Message-ID: <20240513114010.51608-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'gdb-xml/power-fpu.xml')
0 files changed, 0 insertions, 0 deletions