pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pspp-0.6.0-pre3 released


From: Jason Stover
Subject: Re: pspp-0.6.0-pre3 released
Date: Wed, 14 May 2008 16:26:43 -0400
User-agent: Mutt/1.5.10i

On Wed, May 14, 2008 at 10:32:57AM -0700, Ben Pfaff wrote:
> Jason Stover <address@hidden> writes:
> 
> > On Wed, May 14, 2008 at 12:17:23PM +0800, John Darrington wrote:
> >> Try the -fno-builtin option in CFLAGS
> >
> > I did that. No luck, same error.
> 
> The -fno-builtin option does not affect functions that begin with
> __builtin.  See the GCC manual:
> 
>     `-fno-builtin'
>     `-fno-builtin-FUNCTION'
>          Don't recognize built-in functions that do not begin with
>          `__builtin_' as prefix. [...]
> 
> The problem is probably that the compiler in use, according to
> config.log, is GCC 3.4.x, but only GCC 4.x has __builtin_isnan
> and __builtin_isinf (although they are not documented).  However,
> gnulib only uses __builtin_isnan on GCC 4 and later, and PSPP
> (including gnulib) does not include any reference to
> __builtin_isinf at all.
> 
> This makes me suspect that the system in question has broken
> system header files.  Jason, would you mind grepping through the
> system headers in /usr/include (and anywhere else that gets
> searched by GCC by default) for references to these
> __builtin_is<XXX> functions?

The problemmatic __builtin functions are defined in
/usr/include/iso/math_c99.h. The code defining them is included only
if at least one of the macros _STC_C99, _X_OPEN_SOURCE or
__C99FEATURES__ are also defined.

I tried undef'ing these variables in config.h, and that broke other
things.

-Jason




reply via email to

[Prev in Thread] Current Thread [Next in Thread]