From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1700 Path: news.gmane.org!not-for-mail From: agent Newsgroups: gmane.linux.lib.musl.general Subject: Re: build musl with clang Date: Thu, 23 Aug 2012 21:12:33 +0600 Message-ID: <50364861.4050107@gmail.com> References: <5035E16E.50004@gmail.com> <20120823122414.GM27715@brightrain.aerifal.cx> <50362C19.5080509@gmail.com> <50363690.2000507@barfooze.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1345734839 16539 80.91.229.3 (23 Aug 2012 15:13:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Aug 2012 15:13:59 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1701-gllmg-musl=m.gmane.org@lists.openwall.com Thu Aug 23 17:13:58 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 1T4Z6X-0000q5-6d for gllmg-musl@plane.gmane.org; Thu, 23 Aug 2012 17:13:53 +0200 Original-Received: (qmail 24445 invoked by uid 550); 23 Aug 2012 15:13:51 -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 24437 invoked from network); 23 Aug 2012 15:13:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=CzF8XcWd2yr2GkwDxVLE5EocwRvQFAIKXUIQPmSbJKk=; b=Djvx/tN2x5Cm3SPfwIumWY0quXC5bbytTArCbOYP+f1KOqNRgKXffbzoAKeR9q3Yrq jp66eqOfNxSiK5oIABol9M/1SVBZ9xDVdy6xxVCrWzjpakNvnHJ3IYjdJhExrMU4SrcY S3SVNixRuUBnkOShcpNQVdRCQZPMsDf3lr56sDMgHCIvEVLh3NOWPjXiQTeGFOPBQapn zqL3VlSCT7GsvfYyuPU/qVTTdK1bM45BpgzDts9Udv+9RNl3QtrTVyeHcG5VTs3+MpOl olUaXKz4TffeshXeVJqjxH1+uV+OfRQAng6EbSxPs4L92V5RFyql960Ep/JtZQ+ZOHPT x/HA== User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 In-Reply-To: <50363690.2000507@barfooze.de> Xref: news.gmane.org gmane.linux.lib.musl.general:1700 Archived-At: 23.08.2012 19:56, John Spencer пишет: > i was referring to how you have built musl; musl's configure script > detects broken distro toolchains and adds flags so that musl and > musl-gcc is built with sysv hash only. yes, i used configure and it happily ate clang as $CC with no complaints. 23.08.2012 20:42, Szabolcs Nagy пишет: > * John Spencer [2012-08-23 15:56:32 +0200]: >> it would be nice if richard pennington could finally invest 3 >> minutes to file a bugreport as he promised and get this annoying >> issue out of our way. > it does not have to be him, anyone is fine who has clang > and can reproduce the bug > > http://www.openwall.com/lists/musl/2012/05/25/2 > > for this a minimal calloc implementation is needed that > is similar to the one in musl and clang -ffreestanding > miscompiles it > release notes for clang 3.1 say something like it changed behaviour of -ffreestanding. i do not have 3.1 right now to check if it changed to a desired behaviour