[llvm-bugs] [Bug 26651] New: compiler-rt fails to build on FreeBSD: fatal error: 'stdarg.h' file not found

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 17 07:23:28 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26651

            Bug ID: 26651
           Summary: compiler-rt fails to build on FreeBSD: fatal error:
                    'stdarg.h' file not found
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: emaste at freebsd.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

>From the build log
(http://lab.llvm.org:8014/builders/clang-x86_64-freebsd11/builds/223/steps/build%20stage%201/logs/stdio)

FAILED: /usr/bin/CC   -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -Iprojects/compiler-rt/lib/tsan
-I/home/buildbot/clang-x86_64-freebsd/llvm/projects/compiler-rt/lib/tsan
-Iinclude -I/home/buildbot/clang-x86_64-freebsd/llvm/include
-I/usr/local/include
-I/home/buildbot/clang-x86_64-freebsd/llvm/projects/compiler-rt/lib/tsan/..
-fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic
-Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -std=c++11 -fcolor-diagnostics -ffunction-sections
-fdata-sections -Wall -std=c++11 -O3    -UNDEBUG  -m64 -fPIC -fno-builtin
-fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector
-fno-sanitize=safe-stack -fvisibility=hidden -fvisibility-inlines-hidden
-fno-function-sections -fno-lto -O3 -gline-tables-only -Wno-gnu
-Wno-variadic-macros -Wno-c99-extensions -Wno-non-virtual-dtor -fPIE -fno-rtti
-msse3 -Wframe-larger-than=512 -Wglobal-constructors --sysroot=. -MMD -MT
projects/compiler-rt/lib/tsan/CMakeFiles/clang_rt.tsan-x86_64.dir/rtl/tsan_interceptors.cc.o
-MF
projects/compiler-rt/lib/tsan/CMakeFiles/clang_rt.tsan-x86_64.dir/rtl/tsan_interceptors.cc.o.d
-o
projects/compiler-rt/lib/tsan/CMakeFiles/clang_rt.tsan-x86_64.dir/rtl/tsan_interceptors.cc.o
-c
/home/buildbot/clang-x86_64-freebsd/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
In file included from
/home/buildbot/clang-x86_64-freebsd/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:2432:
/home/buildbot/clang-x86_64-freebsd/llvm/projects/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:41:10:
fatal error: 'stdarg.h' file not found
#include <stdarg.h>
         ^
1 error generated.
ninja: build stopped: subcommand failed.

-- 
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/20160217/ffb8fa08/attachment.html>


More information about the llvm-bugs mailing list