From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6734 Path: news.gmane.org!not-for-mail From: Philippe Lavoie Newsgroups: gmane.linux.lib.musl.general Subject: posix-c99-c11 coverage Date: Thu, 18 Dec 2014 21:30:42 +0000 Message-ID: <75998CB0C96A7840A88C8E5E80A1923001CB7D77E7@MAIL2.octasic.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_75998CB0C96A7840A88C8E5E80A1923001CB7D77E7MAIL2octasicc_" X-Trace: ger.gmane.org 1418938263 14475 80.91.229.3 (18 Dec 2014 21:31:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Dec 2014 21:31:03 +0000 (UTC) To: "musl@lists.openwall.com" Original-X-From: musl-return-6747-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 18 22:30:57 2014 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Y1ieu-0008QI-MN for gllmg-musl@m.gmane.org; Thu, 18 Dec 2014 22:30:56 +0100 Original-Received: (qmail 19764 invoked by uid 550); 18 Dec 2014 21:30:55 -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 19756 invoked from network); 18 Dec 2014 21:30:54 -0000 Thread-Topic: posix-c99-c11 coverage Thread-Index: AdAbBrv2O6MZ92CYQdO2pRdis7uaAw== Accept-Language: en-US, en-CA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.100.10.82] Xref: news.gmane.org gmane.linux.lib.musl.general:6734 Archived-At: --_000_75998CB0C96A7840A88C8E5E80A1923001CB7D77E7MAIL2octasicc_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, We are porting musl to our dsp architecture. Since there are a quite a few functions we do not implement, we would like = to generate a compatibility table like the ones listed at http://wiki.musl-= libc.org/wiki/Compatibility for posix, c99 and c11. Is there a script or test suite (libc-test?) to generate the tables? Thanks, -Philippe --_000_75998CB0C96A7840A88C8E5E80A1923001CB7D77E7MAIL2octasicc_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,

We are porting musl to our dsp architecture. 

Since there are a quite a few functions we do not implement, we would like to generate a compatibility table lik= e the ones listed at http://wiki.musl-libc.org/wiki/Comp= atibility for posix, c99 and c= 11.

Is there a script or test suite (libc-test?) to generate the tables?

Thanks,
-Philippe

--_000_75998CB0C96A7840A88C8E5E80A1923001CB7D77E7MAIL2octasicc_-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6735 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: posix-c99-c11 coverage Date: Thu, 18 Dec 2014 16:44:48 -0500 Message-ID: <20141218214447.GV4574@brightrain.aerifal.cx> References: <75998CB0C96A7840A88C8E5E80A1923001CB7D77E7@MAIL2.octasic.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 1418939108 28096 80.91.229.3 (18 Dec 2014 21:45:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Dec 2014 21:45:08 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6748-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 18 22:45:02 2014 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Y1isY-0005ZJ-Gm for gllmg-musl@m.gmane.org; Thu, 18 Dec 2014 22:45:02 +0100 Original-Received: (qmail 3238 invoked by uid 550); 18 Dec 2014 21:45:00 -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 3215 invoked from network); 18 Dec 2014 21:45:00 -0000 Content-Disposition: inline In-Reply-To: <75998CB0C96A7840A88C8E5E80A1923001CB7D77E7@MAIL2.octasic.com> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:6735 Archived-At: On Thu, Dec 18, 2014 at 09:30:42PM +0000, Philippe Lavoie wrote: > Hi, > > We are porting musl to our dsp architecture. > > Since there are a quite a few functions we do not implement, we > would like to generate a compatibility table like the ones listed at > http://wiki.musl-libc.org/wiki/Compatibility for posix, c99 and c11. > > Is there a script or test suite (libc-test?) to generate the tables? I think they're generated from the code in this repo: http://nsz.repo.hu/git/?p=musl-tables;a=tree Rich From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6736 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: posix-c99-c11 coverage Date: Thu, 18 Dec 2014 23:52:58 +0100 Message-ID: <20141218225258.GI5522@port70.net> References: <75998CB0C96A7840A88C8E5E80A1923001CB7D77E7@MAIL2.octasic.com> <20141218214447.GV4574@brightrain.aerifal.cx> 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 1418943196 27226 80.91.229.3 (18 Dec 2014 22:53:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Dec 2014 22:53:16 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6749-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 18 23:53:12 2014 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Y1jwV-0002zh-M9 for gllmg-musl@m.gmane.org; Thu, 18 Dec 2014 23:53:11 +0100 Original-Received: (qmail 21983 invoked by uid 550); 18 Dec 2014 22:53:10 -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 21975 invoked from network); 18 Dec 2014 22:53:10 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <20141218214447.GV4574@brightrain.aerifal.cx> User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:6736 Archived-At: * Rich Felker [2014-12-18 16:44:48 -0500]: > On Thu, Dec 18, 2014 at 09:30:42PM +0000, Philippe Lavoie wrote: > > > > Is there a script or test suite (libc-test?) to generate the tables? > > I think they're generated from the code in this repo: > > http://nsz.repo.hu/git/?p=musl-tables;a=tree > these are messy shell+awk scripts (never intended for others to look at it) basic idea: - data dir has c99, c11 and posix2008 api list (tab separated values, c api is from annex b of the iso pdf, posix api is from the downloadable html) - defined symbols in libc.a are listed with nm - declared symbols in headers are listed with ctags (this is not perfect, will parse all ifdef branches etc and i try to check the prototypes too which is hard) - musl syms are compared to the api lists furthermore libc-test has an api test which does check function prototypes properly for all posix functions (but there is no nice report about it) and i have some scripts to test posix namespace violations using ctags data and the posix namespace rules which i collected here: http://port70.net/~nsz/c/posix/ hope this helps