All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <1896096@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o
Date: Sun, 20 Sep 2020 09:24:10 -0000	[thread overview]
Message-ID: <160059385018.21668.5622841215039776067.malone@wampee.canonical.com> (raw)
In-Reply-To: 160036517624.17887.51064102046414127.malonedeb@soybean.canonical.com

> But --extra-cflags="my additional compiler switch" seems to
> also add it to the link line which seems a bit odd?

That's due to LTO.  IIRC autotools do the same (after all
the linking step is a "cc" invocation), but I may be wrong.

> I wonder why you didn't just bite the bullet and go full Meson
> (à la Libvirt) and get rid of the configure script completely?

Because that would have been 8000 more lines to convert and
more bugs that would not have been caught before the merge.
The problem with having custom Makefiles is that some rebases
were horrible.  When going from 4.2 to 5.1, there were a couple
merge commits that took me one day each!  In addition, compared
to Libvirt adding new source files seemed much more common in QEMU.

Basically the conversion was merged in the "worst possible
state that can already be considered an improvement", in order
to focus on fixing bugs and progressing in the conversion,
rather than on rebases.  I must admit it was a bit worse than
expected, but as long as maintainers have not been blocked in
their work it's still more or less going according to plan.

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

Title:
  Git version: Build process is broken in block_curl.c.o

Status in QEMU:
  Invalid

Bug description:
  Gcc version: 10.2.0
  Glusterfs: 8.1
  Libguestfs: 1.42

  Configure options used:

  configure \
      --prefix=/usr \
      --sysconfdir=/etc \
      --localstatedir=/var \
      --libexecdir=/usr/lib/qemu \
      --extra-ldflags="$LDFLAGS" \
      --smbd=/usr/bin/smbd \
      --enable-modules \
      --enable-sdl \
      --disable-werror \
      --enable-slirp=system \
      --enable-xfsctl \
      --audio-drv-list="pa alsa sdl"
      
  Error log attached. Here is the beginning:

  /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/Scrt1.o: in function `_start':
  (.text+0x24): undefined reference to `main'
  /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_block_init':

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


  parent reply	other threads:[~2020-09-20  9:34 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-17 17:52 [Bug 1896096] [NEW] Git version: Build process is broken in block_curl.c.o Frederic Bezies
2020-09-18  8:49 ` [Bug 1896096] " Daniel Berrange
2020-09-18  9:17 ` Frederic Bezies
2020-09-18  9:45 ` Frederic Bezies
2020-09-18  9:59 ` Daniel Berrange
2020-09-18 11:09 ` Frederic Bezies
2020-09-18 11:50 ` Daniel Berrange
2020-09-18 12:11 ` Laurent Vivier
2020-09-18 12:15 ` Daniel Berrange
2020-09-18 13:50 ` Frederic Bezies
2020-09-18 14:13 ` Daniel Berrange
2020-09-18 14:47 ` Frederic Bezies
2020-09-18 15:00 ` Paolo Bonzini
2020-09-18 15:06 ` Frederic Bezies
2020-09-18 15:22 ` Paolo Bonzini
2020-09-18 15:25 ` Frederic Bezies
2020-09-18 15:26 ` Frederic Bezies
2020-09-18 15:30 ` Daniel Berrange
2020-09-18 15:40 ` Frederic Bezies
2020-09-18 15:46 ` Daniel Berrange
2020-09-18 16:00 ` Daniel Berrange
2020-09-18 16:03 ` Frederic Bezies
2020-09-18 16:12 ` Frederic Bezies
2020-09-18 16:38   ` Paolo Bonzini
2020-09-18 16:57 ` Daniel Berrange
2020-09-18 17:03 ` Frederic Bezies
2020-09-18 17:04 ` Frederic Bezies
2020-09-18 18:35   ` Paolo Bonzini
2020-09-18 21:55 ` Toolybird
2020-09-18 22:28 ` Peter Maydell
2020-09-19  6:37 ` Frederic Bezies
2020-09-19  8:54 ` Paolo Bonzini
2020-09-19 10:15 ` Frederic Bezies
2020-09-19 11:05   ` Paolo Bonzini
2020-09-19 11:11 ` Frederic Bezies
2020-09-19 22:31 ` Toolybird
2020-09-20  5:51   ` Paolo Bonzini
2020-09-20  6:49 ` Toolybird
2020-09-20  9:24 ` Paolo Bonzini [this message]
2020-09-20  9:30 ` Paolo Bonzini
2020-09-22 21:25 ` Toolybird
2020-09-22 21:30 ` Toolybird
2020-09-23  6:10   ` Paolo Bonzini
2020-09-23 21:46 ` Toolybird
2020-09-30 19:20 ` Frederic Bezies
2020-09-30 19:38   ` Paolo Bonzini
2020-10-02 20:59 ` Toolybird
2020-10-02 21:24 ` Paolo Bonzini
2020-10-05 13:57 ` 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=160059385018.21668.5622841215039776067.malone@wampee.canonical.com \
    --to=1896096@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.