[llvm-commits] llvm-gcc build error on leopard

Chris Lattner clattner at apple.com
Sat Nov 15 23:08:29 PST 2008


On Nov 15, 2008, at 11:02 PM, Chris Lattner wrote:

> I'm seeing this link error building llvm-gcc on leopard:
>
> ake[2]: *** [cc1objplus-dummy] Error 1
> Undefined symbols:
>   "_ncpu_available", referenced from:
>       _ggc_min_heapsize_heuristic in libbackend.a(ggc-common.o)
>
> I also see:
>
> ../../src/gcc/ggc-common.c: In function ‘ggc_min_heapsize_heuristic’:
> ../../src/gcc/ggc-common.c:749: warning: implicit declaration of
> function ‘ncpu_available’
> gcc
>
> Is this in a special library or unavailable on leopard?  If so, use of
> this function should be predicated on the build host having it  
> somehow.

Urg, sorry, this is my bug.  I didn't update libiberty.  Sorry for the  
noise,

-Chris



More information about the llvm-commits mailing list