From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejOTp-0001KS-Rg for qemu-devel@nongnu.org; Wed, 07 Feb 2018 07:05:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejOTk-0004XG-Qi for qemu-devel@nongnu.org; Wed, 07 Feb 2018 07:05:37 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:54436) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ejOTk-0004Wh-CV for qemu-devel@nongnu.org; Wed, 07 Feb 2018 07:05:32 -0500 Received: by mail-wm0-f66.google.com with SMTP id i186so2678676wmi.4 for ; Wed, 07 Feb 2018 04:05:32 -0800 (PST) References: <1517858941-5538-1-git-send-email-pbonzini@redhat.com> <4ce6f2ad-2287-2155-277b-977e48167687@redhat.com> From: Paolo Bonzini Message-ID: <4c81a8d5-5d88-2f31-13be-4ae12007b2b3@redhat.com> Date: Wed, 7 Feb 2018 13:05:29 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 00/47] Misc patches for 2018-02-05 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers On 07/02/2018 12:55, Peter Maydell wrote: > On 6 February 2018 at 20:37, Paolo Bonzini wrote: >> On 06/02/2018 20:18, Peter Maydell wrote: >>> Hi. I'm afraid this fails to build the all-linux-static config: >>> >>> LINK ivshmem-client >>> [usual linker gripes about getpwuid &c in static binaries deleted] >>> /usr/lib/gcc/x86_64-linux-gnu/5/libubsan.a(sanitizer_linux_libcdep.o): >>> In function `__sanitizer::SetEnv(cha >>> r const*, char const*)': >>> (.text+0x41b): undefined reference to `dlsym' >>> /usr/lib/gcc/x86_64-linux-gnu/5/libubsan.a(sanitizer_linux_libcdep.o): >>> In function `__sanitizer::InitTlsSiz >>> e()': >>> (.text+0x553): undefined reference to `dlsym' >>> collect2: error: ld returned 1 exit status >> >> Uhm, what is all-linux-static? Is it using --enable-debug? > > Yeah, it's a config with --enable-debug --static --disable-system Ok, I'll drop the change to enable --enable-sanitizers when you give --enable-debug. It's premature. Paolo