[llvm-commits] llvm-gcc build error on leopard
Chris Lattner
clattner at apple.com
Sat Nov 15 23:02:08 PST 2008
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.
-Chris
More information about the llvm-commits
mailing list