Some LLVM 3.5 headers are in wrong paths and different from llvm-3.5 installed from sources.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
llvm-toolchain-3.5 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
1) parallels@
Description: Ubuntu 14.04.1 LTS
Release: 14.04
2) parallels@
llvm-3.5-dev:
Installed: 1:3.5~svn201651
Candidate: 1:3.5~svn201651
Version table:
*** 1:3.5~svn201651
500 http://
500 http://
100 /var/lib/
3) Expected having llvm-3.5 final release
4) Having different headers that official 3.5 release compiled from sources has. Apparently Ubuntu has svn201651 revision, instead of final.
I came across the problem, when I tried to compile our code on ubuntu with llvm-3.5-dev.
When you compile llvm by hand and run install headers installed to prefix/include/llvm are a lot different. e.g. Linker.h is found from different path and is different.
parallels@
1c1
< //===- llvm/Linker.h - Module Linker Interface -------
---
> //===- Linker.h - Module Linker Interface -------
10,11c10,11
< #ifndef LLVM_LINKER_H
< #define LLVM_LINKER_H
---
> #ifndef LLVM_LINKER_
> #define LLVM_LINKER_
17a18,19
> class Comdat;
> class GlobalValue;
33c35
< Linker(Module *M);
---
> Linker(Module *M, bool SuppressWarning
54a57,58
>
> bool SuppressWarnings;
My llvm from sources is release_35 tag from git mirror.
parallels@
3.5.0
parallels@
master
* release_35
remotes/
Status changed to 'Confirmed' because the bug affects multiple users.