[LLVMbugs] [Bug 15082] New: Does not find <ppc_intrinsincs.h> header on Mac OS X when targeting PPC
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jan 27 09:12:35 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=15082
Bug #: 15082
Summary: Does not find <ppc_intrinsincs.h> header on Mac OS X
when targeting PPC
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: alexei.svitkine at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
This is using clang TOT in Xcode on an existing project targeting 10.4 UB,
compiling for PPC.
Some existing code in the project uses the header <ppc_intrinsics.h>, from it
using things like __lhbrx().
Xcode's GCC 4.2 and 4.0 compile this code fine, but clang fails to find the
header (when it's included as #include <ppc_intrinsics.h>).
On my system, I can find a copy of this header in the following locations:
/usr/include/gcc/darwin/4.0/ppc_intrinsics.h
/usr/include/gcc/darwin/4.2/ppc_intrinsics.h
/usr/llvm-gcc-4.2/include/gcc/darwin/4.2/ppc_intrinsics.h
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list