From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7124 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: segfault in libc.so Date: Tue, 3 Mar 2015 12:46:40 +0100 Message-ID: <20150303114639.GF16260@port70.net> References: 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 1425383237 31771 80.91.229.3 (3 Mar 2015 11:47:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Mar 2015 11:47:17 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7137-gllmg-musl=m.gmane.org@lists.openwall.com Tue Mar 03 12:47:16 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 1YSlIB-0005N2-4m for gllmg-musl@m.gmane.org; Tue, 03 Mar 2015 12:47:15 +0100 Original-Received: (qmail 17515 invoked by uid 550); 3 Mar 2015 11:47:07 -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 15694 invoked from network); 3 Mar 2015 11:46:52 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:7124 Archived-At: * 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 libc.so) 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 libc.so respectively. The rest of the > system was compiled with cflags -O0 -march=i486 and ldflags -static > why do you run libc.so in ldd? strace wont help here, most likely pcc miscompiled something or your setup is broken in some other way.. > If anyone has a moment to look into it i would greatly appreciate it and i > will be happy to provide anything else that helps diagnose the issue. > > thanks > stephen.