Public bug reported:

1) parallels@parallel:~/projects/llvm-git$ lsb_release -rd
Description:    Ubuntu 14.04.1 LTS
Release:        14.04

2) parallels@parallel:~/projects/llvm-git$ apt-cache policy llvm-3.5-dev 
llvm-3.5-dev:
  Installed: 1:3.5~svn201651-1ubuntu1
  Candidate: 1:3.5~svn201651-1ubuntu1
  Version table:
 *** 1:3.5~svn201651-1ubuntu1 0
        500 http://ubuntu.trumpetti.atm.tut.fi/ubuntu/ trusty/universe amd64 
Packages
        500 http://fi.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

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@parallel:~/projects/install-llvm-git/include$ diff 
/usr/include/llvm-3.5/llvm/Linker.h llvm/Linker/Linker.h 
1c1
< //===- llvm/Linker.h - Module Linker Interface ------------------*- C++ 
-*-===//
---
> //===- Linker.h - Module Linker Interface -----------------------*- C++ 
> -*-===//
10,11c10,11
< #ifndef LLVM_LINKER_H
< #define LLVM_LINKER_H
---
> #ifndef LLVM_LINKER_LINKER_H
> #define LLVM_LINKER_LINKER_H
17a18,19
> class Comdat;
> class GlobalValue;
33c35
<     Linker(Module *M);
---
>     Linker(Module *M, bool SuppressWarnings=false);
54a57,58
> 
>     bool SuppressWarnings;

My llvm from sources is release_35 tag from git mirror.
parallels@parallel:~/projects/install-llvm-git/include$ ../bin/llvm-config 
--version
3.5.0

parallels@parallel:~/projects/llvm-git$ git branch -a
  master
* release_35
  remotes/origin/HEAD -> origin/master

** Affects: llvm-toolchain-3.5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1372062

Title:
  Some LLVM 3.5 headers are in wrong paths and different from llvm-3.5
  installed from sources.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.5/+bug/1372062/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to