[LLVMbugs] [Bug 21384] New: Can't build compiler-rt as part of llvm
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Oct 25 12:26:06 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=21384
Bug ID: 21384
Summary: Can't build compiler-rt as part of llvm
Product: compiler-rt
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: compiler-rt
Assignee: unassignedbugs at nondot.org
Reporter: pprkut at slackware.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
I'm trying to build llvm with compiler-rt in the tree, similar to how it is
described at http://clang.llvm.org/get_started.html but using the official
release tarballs instead of svn checkouts.
I'm compiling on a Slackware-current system (the tree leading up to the next
release) using glibc-2.20. I tried working around the error by adding
-I/usr/include to the CFLAGS, but while the compile commands for llvm and clang
picked that up just fine, it's completely ignored by compiler-rt. My next best
guess is that it's failing because stdint.h is missing in SKDs/linux.
This is the error I'm getting:
COMPILE: clang_linux/builtins-x86_64/x86_64:
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/addvdi3.c
/tmp/llvm-3.5.0.src/Release/bin/clang -fPIC
-I/tmp/llvm-3.5.0.src/projects/compiler-rt/lib
-I/tmp/llvm-3.5.0.src/projects/compiler-rt/include -Wall -Werror -O3
-fomit-frame-pointer -m64
--sysroot=/tmp/llvm-3.5.0.src/projects/compiler-rt/SDKs/linux -c -o
/tmp/llvm-3.5.0.src/tools/clang/runtime/compiler-rt/clang_linux/builtins-x86_64/x86_64/SubDir.lib__builtins/addvdi3.o
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/addvdi3.c
In file included from
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/adddf3.c:16:
In file included from
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/fp_add_impl.inc:15:
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/fp_lib.h:24:10: fatal
error: 'stdint.h' file not found
#include <stdint.h>
^
In file included from
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/absvdi2.c:15:
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/int_lib.h:51:12: fatal
error: 'stdint.h' file not found
# include <stdint.h>
^
In file included from
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/absvsi2.c:15:
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/int_lib.h:51:12: fatal
error: 'stdint.h' file not found
# include <stdint.h>
^
In file included from
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/absvti2.c:15:
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/int_lib.h:51:12: fatal
error: 'stdint.h' file not found
# include <stdint.h>
^
In file included from
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/addsf3.c:16:
In file included from
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/fp_add_impl.inc:15:
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/fp_lib.h:24:10: fatal
error: 'stdint.h' file not found
#include <stdint.h>
^
In file included from In file included from
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/addtf3.c:16:
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/fp_lib.h:24:10: fatal
error: 'stdint.h' file not found
#include <stdint.h>
^
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/addvdi3.c:15:
/tmp/llvm-3.5.0.src/projects/compiler-rt/lib/builtins/int_lib.h:51:12: fatal
error: 'stdint.h' file not found
# include <stdint.h>
^
1 error generated.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141025/940a67af/attachment.html>
More information about the llvm-bugs
mailing list