Bug#793752: clang-3.7: "inline" function in same file not found

Ph. Marek philipp.marek at linbit.com
Mon Jul 27 06:02:56 UTC 2015


Package: clang-3.7
Version: 1:3.7~svn239806-1+b1
Severity: normal

Please fetch a checkout of r2474 of
    http://fsvs.tigris.org/svn/fsvs/branches/clang-3.7-bug
and try to compile.

The results are
    commit.o: In function `ci___send_user_props':
    commit.c:328: undefined reference to `send_a_prop'
    racallback.o: In function `cb___change_dir_prop':
    racallback.c:476: undefined reference to `cb___store_prop'
    racallback.o: In function `cb___change_file_prop':
    racallback.c:614: undefined reference to `cb___store_prop'

but if the "inline" are removed (commit.c:244, racallback.c:296)
the result is as expected.


Thank you for your efforts!


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages clang-3.7 depends on:
ii  binutils                 2.25-10
ii  libc6                    2.19-19
ii  libc6-dev                2.19-19
ii  libclang-common-3.7-dev  1:3.7~svn239806-1+b1
ii  libclang1-3.7            1:3.7~svn239806-1+b1
ii  libedit2                 3.1-20150325-1
ii  libffi6                  3.2.1-3
ii  libgcc-4.9-dev           4.9.3-2
ii  libgcc1                  1:5.1.1-14
ii  libllvm3.7               1:3.7~svn239806-1+b1
ii  libobjc-4.9-dev          4.9.3-2
ii  libstdc++-4.9-dev        4.9.3-2
ii  libstdc++6               5.1.1-14
ii  libtinfo5                5.9+20150516-2
ii  zlib1g                   1:1.2.8.dfsg-2+b1

Versions of packages clang-3.7 recommends:
ii  llvm-3.7-dev  1:3.7~svn239806-1+b1
ii  python        2.7.9-1

Versions of packages clang-3.7 suggests:
pn  clang-3.7-doc  <none>
pn  gnustep        <none>
pn  gnustep-devel  <none>

-- no debconf information



More information about the Pkg-llvm-team mailing list