[cfe-dev] error: use of undeclared identifier '__builtin_ia32_addss' while building clang using clang

Chris Lattner clattner at apple.com
Sat Feb 26 18:35:07 PST 2011


On Feb 26, 2011, at 5:15 PM, Marcin Mirosław wrote:

> Hello!
> I tried to build clang using clang and i got errors. I'm using gentoo,
> gcc-4.4.5, i686. Llvm and clang are from trunk (clang r126559) with
> patch witch add path to gcc-4.4.5 headers.
> How could i fix this problem?

Hi Marcin,

This is a common problem, check out this section and the attached script:
http://clang.llvm.org/compatibility.html#vector_builtins

-Chris





More information about the cfe-dev mailing list