qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linux-user static build broken


From: Daniel P . Berrangé
Subject: Re: linux-user static build broken
Date: Wed, 26 Aug 2020 09:44:42 +0100
User-agent: Mutt/1.14.6 (2020-07-11)

On Tue, Aug 25, 2020 at 10:36:13PM +0200, Laurent Vivier wrote:
> Hi,
> 
> since we have switched to meson, the statically linked binaries of qemu
> linux-user are broken:
> 
> cd $OBJ
> $SRC/configure --static --target-list=m68k-linux-user
> make
> ./qemu-m68k
> Segmentation fault (core dumped)
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff7bd6833 in __dcigettext ()
> (gdb) bt
> #0  0x00007ffff7bd6833 in __dcigettext ()
> #1  0x00007ffff7bd5352 in __assert_fail ()
> #2  0x00007ffff7c4d74c in _dl_relocate_static_pie ()
> #3  0x00007ffff7bc713e in __libc_start_main ()
> #4  0x00007ffff7a0029e in _start ()
> 
> If I build with --disable-pie it works again.
> 
> Any idea?

I'd suggest checking the compiler args used with v5.1.0 vs git master
and see if any flags related to PIE or similar changed. I already found
one bug wrt PIE on Windows builds this way.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]