[lldb-dev] Build failure with llvm/IR/Attributes.gen?

Kamil Rytarowski via lldb-dev lldb-dev at lists.llvm.org
Mon Oct 3 04:36:15 PDT 2016


It works now, thank you!

On 03.10.2016 02:15, Chris Bieneman wrote:
> This is a different missing dependency. I've committed r283081 to fix
> this one and another one that I found. Hopefully that should get things
> working.
> 
> -Chris
> 
> On Oct 2, 2016, at 5:39 AM, Kamil Rytarowski <n54 at gmx.com
> <mailto:n54 at gmx.com>> wrote:
> 
>> It's still broken for NetBSD
>>
>> http://lab.llvm.org:8011/builders/lldb-amd64-ninja-netbsd7/builds/6775
>>
>> On 30.09.2016 01:04, Chris Bieneman via lldb-dev wrote:
>>> Hal, thanks for the heads up. I just committed a patch that should
>>> resolve this in r282803.
>>>
>>> Thanks!
>>> -Chris
>>>
>>>> On Sep 29, 2016, at 1:49 PM, Hal Finkel <hfinkel at anl.gov
>>>> <mailto:hfinkel at anl.gov>> wrote:
>>>>
>>>> ----- Original Message -----
>>>>> From: "Hal Finkel via lldb-dev" <lldb-dev at lists.llvm.org
>>>>> <mailto:lldb-dev at lists.llvm.org>>
>>>>> To: lldb-dev at lists.llvm.org <mailto:lldb-dev at lists.llvm.org>
>>>>> Sent: Thursday, September 29, 2016 2:51:03 PM
>>>>> Subject: [lldb-dev] Build failure with llvm/IR/Attributes.gen?
>>>>>
>>>>> Hi everyone,
>>>>>
>>>>> Starting a few days ago (between Sept 22nd and 23rd) my nightly
>>>>> builds including lldb starting failing:
>>>>>
>>>>> In file included from /path/to/llvm/include/llvm/IR/Argument.h:19:0,
>>>>>                from /path/to/llvm/include/llvm/IR/Function.h:22,
>>>>>                from /path/to/llvm/include/llvm/IR/Module.h:21,
>>>>>                from
>>>>>                /path/to/llvm/tools/lldb/include/lldb/Expression/IRExecutionUnit.h:22,
>>>>>                from
>>>>>                /path/to/llvm/tools/lldb/source/Expression/ExpressionVariable.cpp:12:
>>>>> /path/to/llvm/include/llvm/IR/Attributes.h:71:38: fatal error:
>>>>> llvm/IR/Attributes.gen: No such file or directory
>>>>>    #include "llvm/IR/Attributes.gen"
>>>>>                                     ^
>>>>> compilation terminated.
>>>>>
>>>>> This might be simply the result of some unexpressed dependency in the
>>>>> cmake files (my build uses make -j72, so it tends to find these
>>>>> kinds of issues when they come up). Any ideas?
>>>>
>>>> [+Chris B.]
>>>>
>>>> Doing this seems to help:
>>>>
>>>> diff --git a/CMakeLists.txt b/CMakeLists.txt
>>>> index 85d4b51..9615a3c 100644
>>>> --- a/CMakeLists.txt
>>>> +++ b/CMakeLists.txt
>>>> @@ -765,9 +765,9 @@ add_subdirectory(utils/TableGen)
>>>> # an entire module might include header, which depends on
>>>> intrinsics_gen. This
>>>> # should be right after LLVMSupport and LLVMTableGen otherwise we
>>>> introduce a
>>>> # circular dependence.
>>>> -if (LLVM_ENABLE_MODULES)
>>>> +#if (LLVM_ENABLE_MODULES)
>>>>  list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
>>>> -endif(LLVM_ENABLE_MODULES)
>>>> +#endif(LLVM_ENABLE_MODULES)
>>>>
>>>> add_subdirectory(include/llvm)
>>>>
>>>> but that does not seem like a real solution.
>>>>
>>>> -Hal
>>>>
>>>>>
>>>>> Thanks again,
>>>>> Hal
>>>>>
>>>>> --
>>>>> Hal Finkel
>>>>> Lead, Compiler Technology and Programming Languages
>>>>> Leadership Computing Facility
>>>>> Argonne National Laboratory
>>>>> _______________________________________________
>>>>> lldb-dev mailing list
>>>>> lldb-dev at lists.llvm.org <mailto:lldb-dev at lists.llvm.org>
>>>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>>>>>
>>>>
>>>> -- 
>>>> Hal Finkel
>>>> Lead, Compiler Technology and Programming Languages
>>>> Leadership Computing Facility
>>>> Argonne National Laboratory
>>>
>>> _______________________________________________
>>> lldb-dev mailing list
>>> lldb-dev at lists.llvm.org <mailto:lldb-dev at lists.llvm.org>
>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>>>
>>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20161003/c2a76c7f/attachment-0001.sig>


More information about the lldb-dev mailing list