From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2479 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: spandsp testsuite, feenableexcept() is missing Date: Fri, 14 Dec 2012 13:58:10 -0500 Message-ID: <20121214185810.GL20323@brightrain.aerifal.cx> References: <50CB3804.1020209@ojab.ru> 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 1355511502 7648 80.91.229.3 (14 Dec 2012 18:58:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Dec 2012 18:58:22 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2480-gllmg-musl=m.gmane.org@lists.openwall.com Fri Dec 14 19:58:36 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 1TjaSy-00073v-DT for gllmg-musl@plane.gmane.org; Fri, 14 Dec 2012 19:58:36 +0100 Original-Received: (qmail 21764 invoked by uid 550); 14 Dec 2012 18:58:23 -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 21756 invoked from network); 14 Dec 2012 18:58:22 -0000 Content-Disposition: inline In-Reply-To: <50CB3804.1020209@ojab.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2479 Archived-At: On Fri, Dec 14, 2012 at 06:30:28PM +0400, ojab wrote: > Hi list, > > spandsp testsuite build fails with > > /root/spandsp/tests/v17_tests.c:311: undefined reference to `feenableexcept' > > AFAIU all functions from fenv.h are not implemented. Is there plans > to implement them before 1.0/at all? fenv.h is implemented. The issue is that feenableexcept is not part of the standard for fenv.h; it's an extension added by glibc for turning on trapping exceptions. This usage is non-portable (as far as I know, many machines don't support trapping exceptions) and I've never seen a program actually making use of them. It looks like spandsp is just using this function in its test suite, probably to test some exception-relted behavior. I think this should be fixed upstream, since it won't work on other non-GNU systems either. Rich