[LLVMdev] llvmgcc-4.2 llvmg++-4.2 on OS X -- missing GCC __builtin intrinsics

Duncan Sands baldrick at free.fr
Mon Aug 30 09:29:18 PDT 2010


Hi Kent, I suggest you open a bug report with a preprocessed testcase.

Best wishes,

Duncan.

> I've had good luck using the llvm-gcc&  llvm-g++ on small projects,
> but I just discovered that it's apparently missing some of the GCC
> intrinsic functions -- specifically, when I try and compile VXL
> (http://vxl.sourceforge.net) it dies when it encounters
> __builtin_bswap32 .
>
> This is on OS X with the llvm-gcc-4.2&  llvm_g++-42 that are part of
> the XCode 3.2.3
>
> I don't know if this was the LLVM-GCC developer's oversight or Apple's
>   but it keeps me from using llvm-gcc as my default compiler.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list