From: Laurent Vivier <laurent@vivier.eu>
To: QEMU Developers <qemu-devel@nongnu.org>,
Richard Henderson <richard.henderson@linaro.org>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: linux-user static build broken
Date: Tue, 25 Aug 2020 22:36:13 +0200 [thread overview]
Message-ID: <40710b94-094f-f91a-6ddb-94e51199a8c3@vivier.eu> (raw)
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
next reply other threads:[~2020-08-25 20:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-25 20:36 Laurent Vivier [this message]
2020-08-25 21:22 ` linux-user static build broken 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40710b94-094f-f91a-6ddb-94e51199a8c3@vivier.eu \
--to=laurent@vivier.eu \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).