On 6 February 2018 at 20:37, Paolo Bonzini <pbonz...@redhat.com> 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 thanks -- PMM