From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCsno-0003AI-TI for qemu-devel@nongnu.org; Wed, 08 Jul 2015 13:06:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCsnl-0006TR-Mi for qemu-devel@nongnu.org; Wed, 08 Jul 2015 13:06:32 -0400 Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]:33153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCsnl-0006SY-Ff for qemu-devel@nongnu.org; Wed, 08 Jul 2015 13:06:29 -0400 Received: by wgck11 with SMTP id k11so201754459wgc.0 for ; Wed, 08 Jul 2015 10:06:27 -0700 (PDT) Sender: Paolo Bonzini References: <1436354392-26357-1-git-send-email-pbonzini@redhat.com> <559D4011.1010302@redhat.com> From: Paolo Bonzini Message-ID: <559D588A.2060104@redhat.com> Date: Wed, 8 Jul 2015 19:06:18 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PULL v3 00/12] Final changes for 2.4-rc0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers On 08/07/2015 17:48, Peter Maydell wrote: > On 8 July 2015 at 16:21, Paolo Bonzini wrote: >> >> >> On 08/07/2015 16:46, Peter Maydell wrote: >>> I'm afraid this fails to link on my linux-static build: >>> >>> c++ -I/usr/include/pixman-1 -Werror -m64 -D_GNU_SOURCE >>> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes >>> -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes >>> -fno-strict-aliasing -fno-common -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 -fstack-protector-all >>> -I/usr/include/p11-kit-1 -I/usr/include/libpng12 >>> -I/usr/include/libusb-1.0 >>> -I/home/petmay01/linaro/qemu-for-merges/tests -pthread >>> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include >>> -g -Wl,--warn-common -m64 -static -g -o qemu-nbd qemu-nbd.o async.o >>> thread-pool.o nbd.o block.o blockjob.o main-loop.o iohandler.o >>> qemu-timer.o aio-posix.o qemu-io-cmds.o qemu-coroutine.o >>> qemu-coroutine-lock.o qemu-coroutine-io.o qemu-coroutine-sleep.o >>> coroutine-ucontext.o block/raw_bsd.o block/qcow.o block/vdi.o >>> block/vmdk.o block/cloop.o block/bochs.o block/vpc.o block/vvfat.o >>> block/qcow2.o block/qcow2-refcount.o block/qcow2-cluster.o >>> block/qcow2-snapshot.o block/qcow2-cache.o block/qed.o >>> block/qed-gencb.o block/qed-l2-cache.o block/qed-table.o >>> block/qed-cluster.o block/qed-check.o block/vhdx.o block/vhdx-endian.o >>> block/vhdx-log.o block/quorum.o block/parallels.o block/blkdebug.o >>> block/blkverify.o block/block-backend.o block/snapshot.o block/qapi.o >>> block/raw-posix.o block/linux-aio.o block/null.o block/mirror.o >>> block/io.o block/throttle-groups.o block/nbd.o block/nbd-client.o >>> block/sheepdog.o block/accounting.o block/write-threshold.o >>> block/dmg.o libqemuutil.a libqemustub.a -lz -laio -lm -pthread >>> -lgthread-2.0 -lglib-2.0 -lpcre -lz -lrt -lz -lcap-ng -lvdeplug >>> -luuid -lgcrypt -R/usr/lib/x86_64-linux-gnu -lgnutls -lgcrypt >>> -lgpg-error -ltasn1 -lz -lp11-kit -lutil >>> c++: error: unrecognized command line option ‘-R’ >>> >>> (That's configure arguments '--cc=ccache gcc' '--enable-debug' >>> '--static' '--disable-system', on an x86-64 Linux host.) >> >> You don't have a static gnutls installed, you need to add either >> --disable-gnutls or --disable-tools. > > Shouldn't configure notice this and disable tls ? Packaging bugs around static libraries aren't rare, and it's difficult to say who's guilty without a before/after config.log and build log. Is it okay for you to pull this and fix it during the -rc period? Also, what distro do you do this static build on? Paolo