missing clang_CompileCommand_getNumMappedSources in library

Bug #1380899 reported by Dmitry Ermolov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
llvm-toolchain-3.4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

libclang1-3.4 is missing following functions, that exist in include files:
  - clang_CompileCommand_getNumMappedSources
  - clang_CompileCommand_getMappedSourcePath
  - clang_CompileCommand_getMappedSourceContent

how to reproduce:

 $ cat main.c
#include <clang-c/CXCompilationDatabase.h>

int main() {
    void* foo = &clang_CompileCommand_getNumMappedSources;
    void* bar = &clang_CompileCommand_getMappedSourcePath;
    void* baz = &clang_CompileCommand_getMappedSourceContent;
}
 $ gcc main.c -L/usr/lib/llvm-3.4/lib/ -I/usr/lib/llvm-3.4/include -l:libclang.so
/tmp/ccKnzo1E.o: In function `main':
main.c:(.text+0x8): undefined reference to `clang_CompileCommand_getNumMappedSources'
main.c:(.text+0x10): undefined reference to `clang_CompileCommand_getMappedSourcePath'
main.c:(.text+0x18): undefined reference to `clang_CompileCommand_getMappedSourceContent'
collect2: error: ld returned 1 exit status

LibClangVersion
libclang-3.4-dev:
  Installed: 1:3.4-1ubuntu3
  Candidate: 1:3.4-1ubuntu3
  Version table:
 *** 1:3.4-1ubuntu3 0
        500 http://ru.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

libclang1-3.4:
  Installed: 1:3.4-1ubuntu3
  Candidate: 1:3.4-1ubuntu3
  Version table:
 *** 1:3.4-1ubuntu3 0
        500 http://ru.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libclang-3.4-dev 1:3.4-1ubuntu3
ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
Uname: Linux 3.13.0-37-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Oct 14 09:47:06 2014
InstallationDate: Installed on 2014-05-01 (165 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: llvm-toolchain-3.4
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Dmitry Ermolov (epdmitry) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.