[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL for-5.0 07/10] configure: Support -static-pie if requested
From: |
Richard Henderson |
Subject: |
Re: [PULL for-5.0 07/10] configure: Support -static-pie if requested |
Date: |
Tue, 31 Mar 2020 07:29:11 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 3/31/20 6:44 AM, Laurent Vivier wrote:
>> QEMU_LDFLAGS -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -static-pie
>> -m64 -fstack-protector-strong
...
>> $ file m68k-linux-user/qemu-m68k
>> m68k-linux-user/qemu-m68k: ELF 64-bit LSB pie executable, x86-64,
>> version 1 (GNU/Linux), dynamically linked,
>> BuildID[sha1]=363ee31697e874085ec53c2af454a070c62647e1, for GNU/Linux
>> 3.2.0, with debug_info, not stripped, too many notes (256)
...
> In fact, the binary works well in a chroot, so it should be a bug in
> "file" command.
I hadn't noticed that before, but yes, it appears that file needs an update for
-static-pie.
r~
- [PATCH for-5.0] tcg/i386: Fix INDEX_op_dup2_vec, (continued)
- [PATCH for-5.0] tcg/i386: Fix INDEX_op_dup2_vec, Richard Henderson, 2020/03/30
- [PULL for-5.0 03/10] configure: Do not force pie=no for non-x86, Richard Henderson, 2020/03/30
- [PULL for-5.0 02/10] tcg: Remove softmmu code_gen_buffer fixed address, Richard Henderson, 2020/03/30
- [PULL for-5.0 04/10] configure: Always detect -no-pie toolchain support, Richard Henderson, 2020/03/30
- [PULL for-5.0 05/10] configure: Unnest detection of -z, relro and -z, now, Richard Henderson, 2020/03/30
- [PULL for-5.0 06/10] configure: Override the os default with --disable-pie, Richard Henderson, 2020/03/30
- [PULL for-5.0 07/10] configure: Support -static-pie if requested, Richard Henderson, 2020/03/30
- [PULL for-5.0 08/10] target/mips: Fix loongson multimedia condition instructions, Richard Henderson, 2020/03/30
- [PULL for-5.0 09/10] tcg/i386: Fix INDEX_op_dup2_vec, Richard Henderson, 2020/03/30
- [PULL for-5.0 10/10] decodetree: Use Python3 floor division operator, Richard Henderson, 2020/03/30
- Re: [PULL for-5.0 00/10] tcg patch queue, Peter Maydell, 2020/03/31