From: Yijun Zhu <zhuyijun@huawei.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
Hangaohuai <hangaohuai@huawei.com>,
Shannon Zhao <zhaoshenglong@huawei.com>,
QEMU Developers <qemu-devel@nongnu.org>,
"Huangpeng (Peter)" <peter.huangpeng@huawei.com>
Subject: Re: [Qemu-devel] make check failed: rcutorture error
Date: Wed, 25 Nov 2015 09:50:55 +0800 [thread overview]
Message-ID: <565513FF.6060609@huawei.com> (raw)
In-Reply-To: <56544FD8.8080500@redhat.com>
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.
>
> .
>
next prev parent reply other threads:[~2015-11-25 1:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-24 11:45 [Qemu-devel] make check failed: rcutorture error Yijun Zhu
2015-11-24 11:54 ` Paolo Bonzini
2015-11-24 12:25 ` Yijun Zhu
2015-11-25 1:50 ` Yijun Zhu [this message]
2015-11-25 13:47 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=565513FF.6060609@huawei.com \
--to=zhuyijun@huawei.com \
--cc=hangaohuai@huawei.com \
--cc=pbonzini@redhat.com \
--cc=peter.huangpeng@huawei.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=zhaoshenglong@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).