From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10936 Path: news.gmane.org!.POSTED!not-for-mail From: Laine Gholson Newsgroups: gmane.linux.lib.musl.general Subject: Re: SUSv2 c89 compilation environment symbols missing Date: Tue, 17 Jan 2017 17:36:55 -0600 Message-ID: References: <20161230224238.GT1555@brightrain.aerifal.cx> <97280ba1-9a3c-0f19-90db-5b313980621a@gmail.com> <20161230225404.GU1555@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1484696251 7221 195.159.176.226 (17 Jan 2017 23:37:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Jan 2017 23:37:31 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux armv7l; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 To: musl@lists.openwall.com Original-X-From: musl-return-10949-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jan 18 00:37:26 2017 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 1cTdJb-0001Bi-JH for gllmg-musl@m.gmane.org; Wed, 18 Jan 2017 00:37:23 +0100 Original-Received: (qmail 10000 invoked by uid 550); 17 Jan 2017 23:37:26 -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 9982 invoked from network); 17 Jan 2017 23:37:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=dq+M3nuIjBqhwNoXmb9J4UwpvbpEwllsFVCphUVoVyM=; b=XD8lxl7SBF2CSEQ/UoYFijSB3bDoJxZy2WkA43XYbObTq0MYuVl1HbPznn2ZSK1eZe mFYCUtl3uB4HlgtngzLTE4YzpiTHvfYGr+GKVICj5mOOZB3CKaXKu4m90/yAzDegXn2X WugCasSN8SXUU2+EvbeAqeoH2FPM0PoXFeNcRHpfvRPlOPllNxyDzmOYN6QdSLMpMxOT ZQVDakKXshaZJIKSSizH9xFjF9OGlEVrBFBiH6VJIDmo8Q12jdvO9sbmsx7Ezul/4M0B kqLmndbBHxdq/schOel21R+BTq/35Ujc8BuB8VIG9qaGWwDnEByGiOnY46Lb5CTK9d0/ 9UOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=dq+M3nuIjBqhwNoXmb9J4UwpvbpEwllsFVCphUVoVyM=; b=QcRx7bLzb0eTTm5pdP4r845xY4VBwL6c5UFlImoF097zXfrt82/zRSObZvvDoB9POC Es4HEDGDdmSC04epa+1Xx/fExPEwS9Tv8DfuoB+F8E90QGhG1CnK6jRY3CtSOhXAoCc4 J6PPAThPIUuXmSLOJEKVoYacIfQVzTfSdx9cUWTTZsYVV6vKty1a27wQAuYlxf/YZB6i yEE/XrNZZ2bLpJ8TzD/hXpJxkE/w5WfpnGOoz1xpPtBACWHRceGbOfQR7faR7SeNXL4o LTn08MdIhUK4HLEjIbS2Ns72IBlVIscQOVXkEDrp3TeWRAN4Fm104fs6wAnA9V7oZCI/ NFLw== X-Gm-Message-State: AIkVDXIuba+w4VRksGNGUoNIQtS9+KN7l6zSIn8JjsV+OKXu7VC67Q8GeUAgHJCxv1/u9w== X-Received: by 10.107.18.162 with SMTP id 34mr887161ios.14.1484696233849; Tue, 17 Jan 2017 15:37:13 -0800 (PST) In-Reply-To: <20161230225404.GU1555@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:10936 Archived-At: then remove the macros, half-supporting something is worse than not supporting it at all or add the rest as glibc does (in bits/confname.h line 572) On 12/30/16 16:54, Rich Felker wrote: > On Fri, Dec 30, 2016 at 04:44:04PM -0600, Laine Gholson wrote: >> yes I know SUSv2 is obsolete, but then why does musl even bother to define _SC_XBS5_ILP32_OFF32 then? > > I'm not sure; I suppose it could be removed. Since we match the > numeric values of the macros on glibc (for limited abi compat) I > probably just included all the ones glibc had. > > Rich > > >> On 12/30/16 16:42, Rich Felker wrote: >>> On Fri, Dec 30, 2016 at 04:30:13PM -0600, Laine Gholson wrote: >>>> musl defines, e.g _SC_XBS5_ILP32_OFF32, but not _CS_XBS5_ILP32_OFF32_CFLAGS >>>> see http://pubs.opengroup.org/onlinepubs/7908799/xcu/getconf.html >>> >>> That's an ancient standard; the current one is here: >>> >>> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/getconf.html >>> >>> It does not mention the macros you asked about. But it's also >>> describing the getconf utility, not the unistd.h header. The latter is >>> here: >>> >>> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html >>> >>> and I don't see anything about the above macros. For what it's worth, >>> even the old version corresponding to the page you linked doesn't seem >>> to specify them: >>> >>> http://pubs.opengroup.org/onlinepubs/7908799/xsh/unistd.h.html >>> >>> Rich >>>