All of lore.kernel.org
 help / color / mirror / Atom feed
From: Betim <1920672@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1920672] Re: Compilation fails silently
Date: Mon, 22 Mar 2021 15:11:06 -0000	[thread overview]
Message-ID: <161642586640.19587.17310089396245543263.malone@wampee.canonical.com> (raw)
In-Reply-To: 161633479458.23431.12957243006449145143.malonedeb@chaenomeles.canonical.com

I could not find 
This is how it is configured:
./configure \
    --prefix=/usr \
    --localstatedir=/var \
    --sysconfdir=/etc \
    --enable-debug-info \
    --disable-gtk \
    --disable-docs \
    --enable-sdl \
    --enable-kvm \
    --enable-pie \
    --enable-curses \
    --disable-user \
    --disable-linux-user \
    --enable-system

Version: 5.2.0

Also this:
$ grep "\-no\-pie" configure
# Check we support --no-pie first; we will need this for building ROMs.
if compile_prog "-Werror -fno-pie" "-no-pie"; then
  LDFLAGS_NOPIE="-no-pie"

Adding another hyphen is not helping either.

I tried to comment out the whole block:
#if compile_prog "-Werror -fno-pie" "-no-pie"; then
  # CFLAGS_NOPIE="-fno-pie"
  # LDFLAGS_NOPIE="-no-pie"
#fi

And it compiled and linked without any problem.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1920672

Title:
  Compilation fails silently

Status in QEMU:
  New

Bug description:
  It compiles until the end and then just:
  [6102/6103] Linking target qemu-system-alpha
  [6103/6103] Linking target qemu-system-aarch64
  make[1]: Leaving directory '/home/t/.cache/kiss/proc/32129/build/qemu/build'
  make: *** [GNUmakefile:11: all] Error 2

  Attached is the complete log including configure. I can't find why
  this is happening maybe I have a wrong version of a required library?

  Any ideas?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1920672/+subscriptions


  parent reply	other threads:[~2021-03-22 15:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-21 13:53 [Bug 1920672] [NEW] Compilation fails silently Betim
2021-03-22 10:02 ` [Bug 1920672] " Peter Maydell
2021-03-22 15:11 ` Betim [this message]
2021-03-22 15:27 ` Peter Maydell
2021-04-30  9:15 ` [Bug 1920672] Re: Compilation fails with "ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)" Thomas Huth

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=161642586640.19587.17310089396245543263.malone@wampee.canonical.com \
    --to=1920672@bugs.launchpad.net \
    --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.