From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10838 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: SUSv2 c89 compilation environment symbols missing Date: Fri, 30 Dec 2016 17:54:04 -0500 Message-ID: <20161230225404.GU1555@brightrain.aerifal.cx> References: <20161230224238.GT1555@brightrain.aerifal.cx> <97280ba1-9a3c-0f19-90db-5b313980621a@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1483138461 9639 195.159.176.226 (30 Dec 2016 22:54:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Dec 2016 22:54:21 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-10851-gllmg-musl=m.gmane.org@lists.openwall.com Fri Dec 30 23:54:16 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 1cN63x-0001hL-FI for gllmg-musl@m.gmane.org; Fri, 30 Dec 2016 23:54:13 +0100 Original-Received: (qmail 3945 invoked by uid 550); 30 Dec 2016 22:54:16 -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 3924 invoked from network); 30 Dec 2016 22:54:16 -0000 Content-Disposition: inline In-Reply-To: <97280ba1-9a3c-0f19-90db-5b313980621a@gmail.com> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:10838 Archived-At: 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 > >