[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] make check failed: rcutorture error
From: |
Yijun Zhu |
Subject: |
Re: [Qemu-devel] make check failed: rcutorture error |
Date: |
Wed, 25 Nov 2015 09:50:55 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 |
On 2015/11/24 19:54, Paolo Bonzini wrote:
>
>
> On 24/11/2015 12:45, Yijun Zhu wrote:
>> Hi all,
>>
>> I got an error when doing "make check" on qemu code both stable-2.4 and
>> master branch, after updating binutils to 2.24-33.
>>
>> Qemu compiled successfully with following configure command:
>>
>> $ ./configure --target-list=aarch64-softmmu
>> --cross-prefix=aarch64-redhat-linux- --enable-fdt --enable-kvm
>
> I'm not sure I understand, are you cross compiling to aarch64, or is
> this a native build? If so, how is aarch64 code run?
>
Sorry, there is something wrong about configure command. It is native build and
configured by:
./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc
--interp-prefix=/usr/qemu-%M --audio-drv-list=pa,alsa \
--with-confsuffix=/qemu --localstatedir=/var --disable-strip
'--extra-ldflags=-Wl,--build-id -pie -Wl,-z,relro -Wl,-z,now' \
'--extra-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-fPIE -DPIE' \
--enable-trace-backend=dtrace --enable-werror --disable-xen --disable-virtfs
--enable-kvm --enable-curl --enable-libusb --disable-spice --disable-seccomp \
--enable-fdt --enable-docs --disable-sdl --disable-debug-tcg --disable-sparse
--disable-brlapi --disable-bluez --disable-vde --disable-curses --enable-vnc \
--enable-vnc-sasl --enable-linux-aio --enable-lzo --enable-snappy
--disable-usb-redir --enable-vnc-png --disable-vnc-jpeg --enable-uuid
--disable-vhost-scsi \
--disable-guest-agent --disable-tpm --disable-glusterfs
--block-drv-rw-whitelist=qcow2,raw,file,host_device,nbd,iscsi,rbd,blkdebug
--block-drv-ro-whitelist=vmdk,vhdx,vpc,https,ssh \
--enable-numa --target-list=aarch64-softmmu
>> However, it is failed when "make check", error message as below:
>>
>> ...
>> GTESTER tests/test-int128
>> GTESTER tests/rcutorture
>> GTester: last random seed: R02S9b7fc016e5b1445e9959506b4f1a11e0
>> GTester: last random seed: R02S413c94c1f16958c42064a5600d8f7dff
>> make: *** [check-tests/rcutorture] Error 1
>>
>> And I try to get more debug info when "make check -d", it shows:
>
> You should use "make check V=1" instead to get more information.
>
After running "make check V=1", output shows:
...
PASS: tests/test-int128
cc -I/home/abuild/rpmbuild/BUILD/qemu-2.4.50/tcg
-I/home/abuild/rpmbuild/BUILD/qemu-2.4.50/tcg/aarch64
-I/home/abuild/rpmbuild/BUILD/qemu-2.4.50/linux-headers
-I/home/abuild/rpmbuild/BUILD/qemu-2.4.50/linux-headers -I.
-I/home/abuild/rpmbuild/BUILD/qemu-2.4.50
-I/home/abuild/rpmbuild/BUILD/qemu-2.4.50/include -Itests -Itests -Itests
-I/usr/include/pixman-1 -Werror -DHAS_LIBSSH2_SFTP_FSYNC -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
-Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
-fno-strict-aliasing -fno-common -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -fPIE -DPIE -Wendif-labels -Wmissing-include-dirs
-Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
-Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
-Wtype-limits -fstack-protector-strong -I/usr/include/p11-kit-1
-I/usr/include/libpng1!
5-I/usr/include/libusb-1.0 -I/home/abuild/rpmbuild/BUILD/qemu-2.4.50/tests
-MMD -MP -MT tests/rcutorture.o -MF tests/rcutorture.d -O2 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -g -c -o tests/rcutorture.o
tests/rcutorture.c
c++ -I/usr/include/pixman-1 -Werror -DHAS_LIBSSH2_SFTP_FSYNC -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
-Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
-fno-strict-aliasing -fno-common -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -fPIE -DPIE -Wendif-labels -Wmissing-include-dirs
-Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
-Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
-Wtype-limits -fstack-protector-strong -I/usr/include/p11-kit-1
-I/usr/include/libpng15 -I/usr/include/libusb-1.0
-I/home/abuild/rpmbuild/BUILD/qemu-2.4.50/tests -O2 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -g -Wl,--warn-common -g -Wl,--build-id -pie
-Wl,-z,relro -Wl,-z,now -o tests/rcutorture tests/rcutorture.o libqemuutil.a
libqemustub.a -l!
m -pthre
ad
-lgthread-2.0 -lglib-2.0 -lz -lrt -lz -luuid -lnettle -lgnutls -lutil
-ltasn1
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$((RANDOM % 255 + 1))} gtester -k --verbose
-m=quick tests/rcutorture
TEST: tests/rcutorture... (pid=11593)
/rcu/torture/1reader: FAIL
GTester: last random seed: R02Sea7709d95e8ac37849453294f67d961e
(pid=11603)
/rcu/torture/10readers: FAIL
GTester: last random seed: R02S287b0f32d203d81e774e307e72e8e0b0
(pid=11621)
FAIL: tests/rcutorture
make: *** [check-tests/rcutorture] Error 1
> Paolo
>
>> GTESTER tests/rcutorture
>> GTester: last random seed: R02Sf7dcd0ceea4ebc8b1b6018a3141708b1
>> GTester: last random seed: R02Sd00479c75bcb82dad813650eef27552f
>> Reaping losing child 0x290df180 PID 26655
>> make: *** [check-tests/rcutorture] Error 1
>> Removing child 0x290df180 PID 26655 from chain.
>
> .
>