All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: "Lluís Vilanova" <vilanova@ac.upc.edu>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] trace build breakage with --enable-user-pie
Date: Wed, 14 Sep 2011 13:24:31 -0700	[thread overview]
Message-ID: <4E710D7F.6010907@twiddle.net> (raw)

The build with --enable-user-pie has recently broken:

  LINK  i386-linux-user/qemu-i386
/usr/bin/ld: ../trace/control.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
../trace/control.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [qemu-i386] Error 1
make: *** [subdir-i386-linux-user] Error 2

I suspect, but have not proven, that edb47ec498a5c00607e8d428668d5141822a9eac is the cause.

I think we ought to be compiling these files into libuser,
with all the CFLAGS implied by that.  Our baroque configure/makefile
setup is currently defeating me, however.


r~

             reply	other threads:[~2011-09-14 20:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14 20:24 Richard Henderson [this message]
2011-09-14 21:00 ` [Qemu-devel] trace build breakage with --enable-user-pie Lluís Vilanova
2011-09-14 21:32   ` Richard Henderson
2011-09-14 21:47     ` Lluís Vilanova

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=4E710D7F.6010907@twiddle.net \
    --to=rth@twiddle.net \
    --cc=qemu-devel@nongnu.org \
    --cc=vilanova@ac.upc.edu \
    /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.