qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tcg: Remove unused tcg_out_dupi_vec() stub


From: Richard Henderson
Subject: Re: [PATCH] tcg: Remove unused tcg_out_dupi_vec() stub
Date: Sun, 10 Jan 2021 08:23:22 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 1/9/21 6:10 PM, Wataru Ashihara wrote:
> This fixes the build with --enable-tcg-interpreter:
> 
>   clang -Ilibqemu-arm-softmmu.fa.p -I. -I.. -Itarget/arm -I../target/arm 
> -I../dtc/libfdt -I../capstone/include/capstone -Iqapi -Itrace -Iui 
> -Iui/shader -I/usr/include/pixman-1 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Xclang -fcolor-diagnostics 
> -pipe -Wall -Winvalid-pch -Werror -std=gnu99 -g -m64 -mcx16 -D_GNU_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes 
> -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes 
> -fno-strict-aliasing -fno-common -fwrapv -Wold-style-definition -Wtype-limits 
> -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body 
> -Wnested-externs -Wendif-labels -Wexpansion-to-defined 
> -Wno-initializer-overrides -Wno-missing-include-dirs 
> -Wno-shift-negative-value -Wno-string-plus-int -Wno-typedef-redefinition 
> -Wno-tautological-type-limit-compare -fstack-protector-strong -isystem 
> /home/wsh/qc/qemu/linux-headers -isystem linux-headers -iquote 
> /home/wsh/qc/qemu/tcg/tci -iquote . -iquote /home/wsh/qc/qemu -iquote 
> /home/wsh/qc/qemu/accel/tcg -iquote /home/wsh/qc/qemu/include -iquote 
> /home/wsh/qc/qemu/disas/libvixl -pthread -fPIC -isystem../linux-headers 
> -isystemlinux-headers -DNEED_CPU_H 
> '-DCONFIG_TARGET="arm-softmmu-config-target.h"' 
> '-DCONFIG_DEVICES="arm-softmmu-config-devices.h"' -MD -MQ 
> libqemu-arm-softmmu.fa.p/tcg_tcg.c.o -MF 
> libqemu-arm-softmmu.fa.p/tcg_tcg.c.o.d -o 
> libqemu-arm-softmmu.fa.p/tcg_tcg.c.o -c ../tcg/tcg.c
>   ../tcg/tcg.c:136:20: error: unused function 'tcg_out_dupi_vec' 
> [-Werror,-Wunused-function]


What version of clang?
With clang 10, I can't even run configure without --disable-werror.



r~

reply via email to

[Prev in Thread] Current Thread [Next in Thread]