From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7657 Path: news.gmane.org!not-for-mail From: Felix Janda Newsgroups: gmane.linux.lib.musl.general Subject: Re: ppc soft-float regression Date: Sun, 17 May 2015 15:06:16 +0200 Message-ID: <20150517130616.GA6409@euler> References: <20150517080321.GL16123@waldemar-brodkorb.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1431868009 15752 80.91.229.3 (17 May 2015 13:06:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 May 2015 13:06:49 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7669-gllmg-musl=m.gmane.org@lists.openwall.com Sun May 17 15:06:48 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1YtyHG-0007IY-F2 for gllmg-musl@m.gmane.org; Sun, 17 May 2015 15:06:46 +0200 Original-Received: (qmail 8105 invoked by uid 550); 17 May 2015 13:06:43 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 8084 invoked from network); 17 May 2015 13:06:42 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <20150517080321.GL16123@waldemar-brodkorb.de> User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:7657 Archived-At: 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@chrom:~/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