[cfe-dev] GSL compiles pretty much

Chris Lattner clattner at apple.com
Mon Jun 30 11:33:33 PDT 2008


On Jun 29, 2008, at 9:58 AM, Eli Friedman wrote:
>> The library builds until the gsl-randist tool in the main directory  
>> is
>> building, then I get 'undefined reference to __builtin_nanf' all  
>> over the
>> place. I thought this was defined internally within LLVM? Any ideas?
>
> It's a gcc builtin, so it has to be implemented in clang.  There's a
> patch for this at
> http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-May/001744.html, which
> was never finished.

I finished this up, at least for the __builtin_nan("") case.

-Chris



More information about the cfe-dev mailing list