From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10681 Path: news.gmane.org!.POSTED!not-for-mail From: Aidan Hobson Sayers Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: [PATCH 1/1] Use compiler includes for musl-clang, like musl-gcc Date: Sat, 29 Oct 2016 12:49:15 +0100 Message-ID: References: <1467825725-11116-1-git-send-email-aidanhs@cantab.net> <20160706174403.GB15995@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113f1262a6327c053fff919b X-Trace: blaine.gmane.org 1477741811 3687 195.159.176.226 (29 Oct 2016 11:50:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2016 11:50:11 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10694-gllmg-musl=m.gmane.org@lists.openwall.com Sat Oct 29 13:50:05 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1c0S8z-0006Mw-BU for gllmg-musl@m.gmane.org; Sat, 29 Oct 2016 13:49:49 +0200 Original-Received: (qmail 24180 invoked by uid 550); 29 Oct 2016 11:49:49 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 24159 invoked from network); 29 Oct 2016 11:49:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=mejqxdkyFiuLLFwdQZVmRE/F+0MOZJh0V08rDglJyck=; b=yjAqyUt3VB1HyLoGclSXsw+z6t7i4yotmetF/Zh6f8HyGHFdTjBx7KYj3H4lgqJP0/ dS07cfE/OuJyW11MhQWL1gRffIqioukLhm1dYsBouxhiwfZkpjCWmFSfFqc2zVmL2CtS 7hLCu6vSdPIjUVcGvrR7G/wkHQAJLMBkZoMowpizq3oNfRBnfC8oYCKgZkQ2cWHTtse7 G7GUli+3/Bu/w+4b2NoKEuAQ5R9I6Rr61PolUi1ZZm2U13DayxObxdssS645YX5kgrcb 0hEoD12GlcGdAjPGtaOr6YzWgGzKhTlkKtuKX0Z5550icOtbNmGKmMBZN+v+eKBTdSix glaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=mejqxdkyFiuLLFwdQZVmRE/F+0MOZJh0V08rDglJyck=; b=ZkmJFF49bz7hKFBuK1hOWlQLUh0JZW4oilyvMUcA+Baz/NvviMuF3KU8F7QCnMsY2V rJgzhR6ciBV6Gx9KI4cSKbTBIVR5N28AdltomrkIn+FHnJ1xwzoiVVVN8A/LrxzkMnyU jhk5lklP1DagBqWq6/UdsP4ujX6mLD+V7Cy/MBCCWv2srb74DynNCuvwCxPGX4Ch2K+k 7ZSkqri97XfL3YDjrkRbUaXXhszZ7rORPtGumsLwDW+qDNn4tYkUba3YIClnZVjca2vt p85qMjUJFxMKtgovqbDrsC/KKq8WWT71D2hjMLue5DlY5EecNpyJL+tCZvgjs9P64xZA RF6w== X-Gm-Message-State: ABUngve2OmTTDIY6HdH867YYUhIGyz3u02HrdjV26Jo8H+OlisuUX4F08n05s13+qidfJEtYCezXknG6BoGfLQ== X-Received: by 10.107.3.83 with SMTP id 80mr4984234iod.52.1477741776350; Sat, 29 Oct 2016 04:49:36 -0700 (PDT) Original-Sender: aidanphs@gmail.com In-Reply-To: <20160706174403.GB15995@brightrain.aerifal.cx> X-Google-Sender-Auth: I1GxkHVtsYCBeDudfclVRv9MEQs Xref: news.gmane.org gmane.linux.lib.musl.general:10681 Archived-At: --001a113f1262a6327c053fff919b Content-Type: text/plain; charset=UTF-8 On 6 July 2016 at 18:44, Rich Felker wrote: > > What happens when you #include after making this change? Do > you get the compiler-provided one or musl's? You should be able to > tell by running musl-clang -E foo.c > Wondering where this patch is up to? Per my (terse) previous response, stddef seems to be picked up from musl, which I think is the correct behaviour. --001a113f1262a6327c053fff919b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 6= July 2016 at 18:44, Rich Felker <dalias@libc.org> wrote:What happens when you #include= <stddef.h> after making this change? Do
you get the compiler-provided one or musl's? You should be able to
tell by running musl-clang -E foo.c

Wonde= ring where this patch is up to?
Per my (ter= se) previous response, stddef seems to be picked up from musl, which I thin= k is the correct behaviour.
--001a113f1262a6327c053fff919b--