Date: Fri, 14 Oct 2011 23:29:20 +0200 From: Jilles Tjoelker <jilles@stack.nl> To: John Lindgren <john.lindgren@tds.net> Cc: freebsd-standards@freebsd.org Subject: Re: Support for C99 cexpf? Message-ID: <20111014212919.GA34658@stack.nl> In-Reply-To: <4E9897FF.2040307@tds.net> References: <4E9897FF.2040307@tds.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 14, 2011 at 04:13:51PM -0400, John Lindgren wrote: > I am the project lead of Audacious (the music player). Though not > normally a FreeBSD user, I recently tried to compile Audacious on > FreeBSD 8.2 and was surprised to see that you do not have the C99 > cexpf function in your C library. This will make it impossible to use > the upcoming Audacious 3.1 on FreeBSD, as our current FFT > implementation relies on the complex exponential. A web search for > "audacious freebsd" shows that there are at least some FreeBSD users > who also use Audacious. I would be sorry to see them unable to use > the new version. The cexpf() function is available in 9.0. However, even if it were to be MFCed to stable/8, this would still require people to upgrade to a new stable/8 and compile audacious themselves (either from upstream sources or via ports); packages are built against the oldest supported release from the branch. Therefore, I recommend checking for cexpf() in your configure script and providing an own implementation if it is not available. You could take the one from FreeBSD 9 in lib/msun/src/s_cexpf.c and lib/msun/src/math_private.h, for example. -- Jilles Tjoelker
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111014212919.GA34658>