[llvm-bugs] [Bug 30709] New: fatal error: llvm/IR/Attributes.inc: No such file or directory

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Oct 15 12:37:39 PDT 2016


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

            Bug ID: 30709
           Summary: fatal error: llvm/IR/Attributes.inc: No such file or
                    directory
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: OpenBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: brad at comstyle.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Building lld from the 3.9.0 release seems to fail like so..

[398/2736] /usr/obj/ports/llvm-3.9.0/bin/c++   -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/lld/COFF
-I/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/tools/lld/COFF -I/usr/obj
/ports/llvm-3.9.0/llvm-3.9.0.src/tools/lld/include -Itools/lld/include
-Iinclude -I/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/include -O2 -pipe    -fPIC
-fvisibility-inlines-hidden -Wall -W -Wno-unused-pa
rameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic
-Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment
-Werror=date-time -std=c++11 -ffunction-secti
ons -fdata-sections -DNDEBUG    -fno-exceptions -MD -MT
tools/lld/COFF/CMakeFiles/lldCOFF.dir/PDB.cpp.o -MF
tools/lld/COFF/CMakeFiles/lldCOFF.dir/PDB.cpp.o.d -o
tools/lld/COFF/CMakeFiles/lldCOFF.dir/PDB
.cpp.o -c /usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/tools/lld/COFF/PDB.cpp
FAILED: tools/lld/COFF/CMakeFiles/lldCOFF.dir/PDB.cpp.o
/usr/obj/ports/llvm-3.9.0/bin/c++   -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/lld/COFF
-I/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/tools/lld/COFF -I/usr/obj/ports/llvm
-3.9.0/llvm-3.9.0.src/tools/lld/include -Itools/lld/include -Iinclude
-I/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/include -O2 -pipe    -fPIC
-fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Ww
rite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic
-Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment
-Werror=date-time -std=c++11 -ffunction-sections -fdata-
sections -DNDEBUG    -fno-exceptions -MD -MT
tools/lld/COFF/CMakeFiles/lldCOFF.dir/PDB.cpp.o -MF
tools/lld/COFF/CMakeFiles/lldCOFF.dir/PDB.cpp.o.d -o
tools/lld/COFF/CMakeFiles/lldCOFF.dir/PDB.cpp.o -c /
usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/tools/lld/COFF/PDB.cpp
In file included from
/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/include/llvm/IR/Argument.h:19:0,
                 from
/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/include/llvm/IR/Function.h:22,
                 from
/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/include/llvm/IR/Module.h:21,
                 from
/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/include/llvm/LTO/legacy/LTOModule.h:20,
                 from
/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/tools/lld/COFF/InputFiles.h:16,
                 from
/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/tools/lld/COFF/SymbolTable.h:13,
                 from
/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/tools/lld/COFF/Driver.h:14,
                 from
/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/tools/lld/COFF/PDB.cpp:10:
/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/include/llvm/IR/Attributes.h:71:38:
fatal error: llvm/IR/Attributes.inc: No such file or directory
     #include "llvm/IR/Attributes.inc"
                                      ^
compilation terminated.
[399/2736] /usr/obj/ports/llvm-3.9.0/bin/c++   -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/lld/lib/Driver
-I/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/tools/lld/lib/Drive
r -I/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/tools/lld/include
-Itools/lld/include -Iinclude
-I/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/include -O2 -pipe    -fPIC
-fvisibility-inlines-hidden -Wall -W -W
no-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers
-pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor
-Wno-comment -Werror=date-time -std=c++11 -ffu
nction-sections -fdata-sections -DNDEBUG    -fno-exceptions -MD -MT
tools/lld/lib/Driver/CMakeFiles/lldDriver.dir/DarwinLdDriver.cpp.o -MF
tools/lld/lib/Driver/CMakeFiles/lldDriver.dir/DarwinLdDriver.cp
p.o.d -o tools/lld/lib/Driver/CMakeFiles/lldDriver.dir/DarwinLdDriver.cpp.o -c
/usr/obj/ports/llvm-3.9.0/llvm-3.9.0.src/tools/lld/lib/Driver/DarwinLdDriver.cpp
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/20161015/93a3b37a/attachment.html>


More information about the llvm-bugs mailing list