mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
A recent change in glibc 2.42.9000 [1] changes the return type of
strstr() and other string functions to be 'const char *' when the
input is a 'const char *'. This breaks the build in :
../hw/i386/x86-common.c:827:11: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
827 | vmode = strstr(kernel_cmdline, "vga=");
| ^
Fix this by changing the type of the variables that store the result
of these functions to 'const char *'.
[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=cd748a63ab1a7ae846175c532a3daab341c62690
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Link: https://lore.kernel.org/qemu-devel/20251215101937.281722-2-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
|
1 week ago | |
|---|---|---|
| .. | ||
| kvm | 2 months ago | |
| xen | 8 months ago | |
| Kconfig | 4 months ago | |
| acpi-build.c | 3 months ago | |
| acpi-build.h | 5 months ago | |
| acpi-common.c | 8 months ago | |
| acpi-common.h | 2 years ago | |
| acpi-microvm.c | 8 months ago | |
| acpi-microvm.h | 5 years ago | |
| amd_iommu-stub.c | 2 years ago | |
| amd_iommu.c | 2 months ago | |
| amd_iommu.h | 2 months ago | |
| e820_memory_layout.c | 2 years ago | |
| e820_memory_layout.h | 2 years ago | |
| fw_cfg.c | 9 months ago | |
| fw_cfg.h | 2 years ago | |
| intel_iommu.c | 2 months ago | |
| intel_iommu_internal.h | 2 months ago | |
| isapc.c | 2 months ago | |
| meson.build | 4 months ago | |
| microvm-dt.c | 2 months ago | |
| microvm-dt.h | 4 years ago | |
| microvm.c | 5 months ago | |
| monitor.c | 7 months ago | |
| multiboot.c | 2 months ago | |
| multiboot.h | 4 years ago | |
| nitro_enclave.c | 8 months ago | |
| pc.c | 2 months ago | |
| pc_piix.c | 3 months ago | |
| pc_q35.c | 3 months ago | |
| pc_sysfw.c | 6 months ago | |
| pc_sysfw_ovmf-stubs.c | 5 years ago | |
| pc_sysfw_ovmf.c | 8 months ago | |
| port92.c | 8 months ago | |
| sgx-epc.c | 8 months ago | |
| sgx-stub.c | 7 months ago | |
| sgx.c | 7 months ago | |
| tdvf-hob.c | 7 months ago | |
| tdvf-hob.h | 7 months ago | |
| tdvf.c | 7 months ago | |
| trace-events | 2 months ago | |
| trace.h | 5 years ago | |
| vapic.c | 2 months ago | |
| vmmouse.c | 8 months ago | |
| vmport.c | 8 months ago | |
| x86-common.c | 1 week ago | |
| x86-cpu.c | 2 months ago | |
| x86-iommu-stub.c | 4 years ago | |
| x86-iommu.c | 3 months ago | |
| x86.c | 7 months ago | |