C++ code fails to build with clang 4.0
See original GitHub issueOn a Ubuntu 17.04 machine, with clang-4.0 installed, I get this error from Bazel for some straightforward C++ code:
this rule is missing dependency declarations for the following files included by 'C-Source/something/other.c':
'/usr/lib/llvm-4.0/lib/clang/4.0.0/include/stdbool.h'
'/usr/lib/llvm-4.0/lib/clang/4.0.0/include/stdint.h'
'/usr/lib/llvm-4.0/lib/clang/4.0.0/include/stddef.h'
Issue Analytics
- State:
- Created 6 years ago
- Comments:47 (32 by maintainers)
Top Results From Across the Web
clang: error: linker command failed with exit code 1 ... - illumos
It's trying to use crtbegin.o and crtend.o without specifying a path. They're not looked for via the search paths. Clang is doing: "/usr/bin/ld"...
Read more >Clang++ 4.0.0 compilation error in windows - Stack Overflow
I'm using clang 4.0.0 compiled from source on windows 10 (32-bit OS, x86 processor). I'm trying to compile my cpp code to llvm...
Read more >Error: C Compiler is not able to compile a simple test program ...
Error: C Compiler is not able to compile a simple test program and clang-4.0: error: linker command failed with exit code 1 Follow....
Read more >Expressive Diagnostics - Clang - LLVM
Clang captures and accurately tracks range information for expressions, statements, and other constructs in your program and uses this to make diagnostics ...
Read more >clang: error: linker command faile… | Apple Developer Forums
Go to the build log (click the last icon across the top of the navigator pane), expand the transcript with the error, and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
(That’s a no.)
I believe that since 0.14 has been released, this issue can be closed now, right ?