qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* linux-user static build broken
@ 2020-08-25 20:36 Laurent Vivier
  2020-08-25 21:22 ` Peter Maydell
  2020-08-26  8:44 ` Daniel P. Berrangé
  0 siblings, 2 replies; 7+ messages in thread
From: Laurent Vivier @ 2020-08-25 20:36 UTC (permalink / raw)
  To: QEMU Developers, Richard Henderson, Paolo Bonzini

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?

Thanks,
Laurent



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-08-26 11:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-25 20:36 linux-user static build broken Laurent Vivier
2020-08-25 21:22 ` Peter Maydell
2020-08-26  8:44 ` Daniel P. Berrangé
2020-08-26  8:51   ` Laurent Vivier
2020-08-26  9:08     ` Paolo Bonzini
2020-08-26 10:53       ` Laurent Vivier
2020-08-26 11:35         ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).