From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1743 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: build musl with clang Date: Fri, 24 Aug 2012 21:04:22 +0200 Message-ID: <20120824190421.GA11149@port70.net> References: <50362C19.5080509@gmail.com> <20120823175545.GQ27715@brightrain.aerifal.cx> <5037181B.9050508@gmail.com> <20120824060611.GX27715@brightrain.aerifal.cx> <5037596C.1030409@gmail.com> <20120824110153.GA23569@port70.net> <503771F3.2040204@gmail.com> <20120824145938.GA7705@port70.net> <20120824175150.GE27715@brightrain.aerifal.cx> <5037CE26.3060702@gmail.com> 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 1345835079 20037 80.91.229.3 (24 Aug 2012 19:04:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Aug 2012 19:04:39 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1744-gllmg-musl=m.gmane.org@lists.openwall.com Fri Aug 24 21:04:40 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1T4zBM-0001DR-Dk for gllmg-musl@plane.gmane.org; Fri, 24 Aug 2012 21:04:36 +0200 Original-Received: (qmail 3302 invoked by uid 550); 24 Aug 2012 19:04:34 -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 3294 invoked from network); 24 Aug 2012 19:04:34 -0000 Content-Disposition: inline In-Reply-To: <5037CE26.3060702@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:1743 Archived-At: * agent [2012-08-25 00:55:34 +0600]: > that not only 'if (p[-1])' gets wiped out but any 'if (p[i])'. > though the nature of this i suppose the same yes you can try the same code with another function name instead of malloc (eg add a void *foobar(size_t); prototype and use that) if the generated code is different then that clearly demonstrates the bug in -ffreestanding