[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o
From: |
Toolybird |
Subject: |
[Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o |
Date: |
Fri, 18 Sep 2020 21:55:51 -0000 |
Chiming in here as the user who initially suggested Arch use this:
--extra-ldflags="$LDFLAGS"
qemu-5.0.0 introduced a breaking change whereby LDFLAGS from the
environment were ignored. For Arch, this resulted in exclusion of `--as-
needed' from the link, which naturally caused dependency chaos.
The Arch Build System globally sets CFLAGS and LDFLAGS in the build
environment to try and ensure all pkgs are built to distro standards.
The build systems for most pkgs in the distro respect FLAGS from the
environment.
When qemu-5.2.0 is released, Arch will obviously need to adapt to
account for Meson changes.
--
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
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, (continued)
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Frederic Bezies, 2020/09/18
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Daniel Berrange, 2020/09/18
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Daniel Berrange, 2020/09/18
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Frederic Bezies, 2020/09/18
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Frederic Bezies, 2020/09/18
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Daniel Berrange, 2020/09/18
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Frederic Bezies, 2020/09/18
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Frederic Bezies, 2020/09/18
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o,
Toolybird <=
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Peter Maydell, 2020/09/18
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Frederic Bezies, 2020/09/19
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Paolo Bonzini, 2020/09/19
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Frederic Bezies, 2020/09/19
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Frederic Bezies, 2020/09/19
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Toolybird, 2020/09/19
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Toolybird, 2020/09/20
- [Bug 1896096] Re: Git version: Build process is broken in block_curl.c.o, Paolo Bonzini, 2020/09/20