|
|
Message-ID: <20150517130616.GA6409@euler>
Date: Sun, 17 May 2015 15:06:16 +0200
From: Felix Janda <felix.janda@...teo.de>
To: musl@...ts.openwall.com
Subject: Re: ppc soft-float regression
Waldemar Brodkorb wrote:
> Hi,
>
> as mentioned the days on IRC.
> 1.1.9 produces a lot of segfaults on Qemu-PPC with Soft-Float.
> 1.1.8 was fine.
>
> Execute Qemu as this:
> qemu-system-ppc -nographic -M bamboo -device e1000,netdev=adk0 \
> -netdev user,id=adk0 -kernel qemu-ppc-initramfs-kernel
> -initrd qemu-ppc-musl-initramfs
>
> wbx@...om:~/musl-ppc $ qemu-system-ppc --version
> QEMU emulator version 2.3.0, Copyright (c) 2003-2008 Fabrice Bellard
>
> The system stopps at boot. strg-d to continue the boot with
> /etc/init.d/rcS.
>
> Strace is available in /usr/sbin/strace.
>
> Get the kernels and initramfs from here:
> http://openadk.org/musl-ppc/
>
> Any ideas?
I can reproduce with your binaries, but not with self-built ones.
Your binaries seem to have an executable stack:
STACK off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**4
filesz 0x00000000 memsz 0x00000000 flags rwx
Make sure that your binaries are compiled with -msecure-plt and
-Wl,--secure-plt. (The musl gcc patches should enable these options
automatically.)
Felix
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.