All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Weil <sw@weilnetz.de>
To: QEMU Developers <qemu-devel@nongnu.org>
Cc: Avi Kivity <avi@redhat.com>
Subject: [Qemu-devel] Latest QEMU does not support --enable-check-utests on Debian with --enable-pie (default)
Date: Wed, 23 Nov 2011 20:40:53 +0100	[thread overview]
Message-ID: <4ECD4C45.6000802@weilnetz.de> (raw)

This is my configuration and the output from configure:

configure '--audio-card-list=ac97,es1370,sb16,cs4231a,adlib,gus,hda' 
'--audio-drv-list=alsa,sdl,oss,esd,pa' '--enable-mixemu' 
'--enable-check-utests' '--enable-vnc-thread'
ERROR
ERROR: User requested feature check
ERROR: configure was not able to find it
ERROR

This is what configure does internally:

gcc -fPIE -DPIE -m64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes 
-Wredundant-decls -Wmissing-format-attribute -Wall -Wundef 
-Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing 
-fstack-protector-all -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 -I/usr/include/libpng12 -o /tmp/qemu-conf--4272-.exe 
/tmp/qemu-conf--4272-.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g -lcheck
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcheck.a(check.o): 
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when 
making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libcheck.a: could 
not read symbols: Bad value

When I add --disable-pie, configure works.

Regards,
Stefan Weil

             reply	other threads:[~2011-11-23 19:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-23 19:40 Stefan Weil [this message]
2011-11-24  8:00 ` [Qemu-devel] Latest QEMU does not support --enable-check-utests on Debian with --enable-pie (default) Markus Armbruster
2011-11-24 18:36   ` Stefan Weil

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=4ECD4C45.6000802@weilnetz.de \
    --to=sw@weilnetz.de \
    --cc=avi@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.