Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 4 Mar 2015 23:25:48 -0500
From: Rich Felker <>
Subject: Re: segfault in

On Tue, Mar 03, 2015 at 12:46:40PM +0100, Szabolcs Nagy wrote:
> * stephen Turner <> [2015-03-03 01:00:31 -0500]:
> > I am getting the following strace errors from as and ldd (created as a link
> > pointed to i have also seen a segfault from a dynamically linked
> > ld ar and ccom.
> > 
> > For this particular strace I compiled musl with binutils-2.24 and
> > pcc-20150228 (as well as a previous version) with the configure settigs
> > --disable-gcc-wrapper and --target=i486-linux-musl then booted the system
> > and called strace as and strace ldd respectively. The rest of the
> > system was compiled with cflags -O0 -march=i486 and ldflags -static
> > 
> why do you run in ldd?
> strace wont help here, most likely pcc miscompiled something
> or your setup is broken in some other way..

I agree. I think gdb, not strace, is the right tool here, but
unfortunately the debug info produced by pcc seems to be wrong or
misinterpreted by gdb, making it hard to do anything except
single-stepping, disassembly, and inspecting registers..


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.