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: Wataru Ashihara
Subject: Re: [PATCH] tcg: Remove unused tcg_out_dupi_vec() stub
Date: Mon, 11 Jan 2021 12:20:56 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 2021/01/11 6:32, Philippe Mathieu-Daudé wrote:
> On 1/10/21 7:23 PM, Richard Henderson wrote:
>> 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.
> 
> clang version 10.0.1 (Fedora 10.0.1-3.fc32)
> 
> I tested using:
> 
> ../configure '--cc=clang' '--cxx=clang++' \
>  '--extra-cflags=-Wunused-function' '--enable-tcg-interpreter' \
>  '--disable-tools' '--target-list=arm-softmmu'
> 

  $ clang --version
  clang version 10.0.0-4ubuntu1
  Target: x86_64-pc-linux-gnu
  Thread model: posix
  InstalledDir: /usr/bin

And I configured with:

  ../configure --prefix=$HOME/opt/qemu-tci --cc=clang --host-cc=clang 
--cxx=clang++ --enable-debug --enable-tcg-interpreter --enable-debug-tcg 
--enable-debug-info --enable-debug-mutex

reply via email to

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