Your message dated Sat, 19 Oct 2019 15:39:28 +0000
with message-id <[email protected]>
and subject line Bug#942526: fixed in llvm-toolchain-snapshot 
1:10~svn375339-1~exp1
has caused the Debian Bug report #942526,
regarding clang-10: relocation error when executing clang-10
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
942526: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942526
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clang-10
Version: 1:10~svn374655-1~exp1
Severity: normal

Dear Maintainer,

I think clang-10 package does misses correct dependency information.

user@debian:/tmp$ cat hello.c 
#include <stdio.h>
int main() {
  return printf("Hello!\n");
}
user@debian:/tmp$ clang-10 hello.c
/usr/lib/llvm-10/bin/clang: relocation error: 
/lib/x86_64-linux-gnu/libclang-cpp.so.10: symbol 
_ZN4llvm10AllocaInst12setAlignmentEj version LLVM_10 not defined in file 
libLLVM-10.so.1 with link time reference
clang: error: unable to execute command: No such file or directory
clang: error: clang frontend command failed due to signal (use -v to see 
invocation)
clang version 10.0.0-svn372920-1~exp1 (trunk)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to 
https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, 
and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/hello-74e4fd.c
clang: note: diagnostic msg: /tmp/hello-74e4fd.sh
clang: note: diagnostic msg: 

********************
user@debian:/tmp$ 

user@debian:/tmp$ dpkg -l | egrep 'clang|llvm'
ii  clang-10                                                    
1:10~svn374655-1~exp1                 amd64        C, C++ and Objective-C 
compiler
ii  libclang-10-dev                                             
1:10~svn374655-1~exp1                 amd64        Clang library - Development 
package
ii  libclang-common-10-dev                                      
1:10~svn374655-1~exp1                 amd64        Clang library - Common 
development package
ii  libclang-cpp10                                              
1:10~svn372920-1~exp1                 amd64        C++ interface to the Clang 
library
ii  libclang1-10                                                
1:10~svn374655-1~exp1                 amd64        C interface to the Clang 
library
ii  libllvm10:amd64                                             
1:10~svn374655-1~exp1                 amd64        Modular compiler and 
toolchain technologies, runtime library
ii  libllvm10:i386                                              
1:10~svn374655-1~exp1                 i386         Modular compiler and 
toolchain technologies, runtime library
ii  libllvm8:amd64                                              1:8.0.1-3+b1    
                      amd64        Modular compiler and toolchain technologies, 
runtime library
ii  libllvm8:i386                                               1:8.0.1-3+b1    
                      i386         Modular compiler and toolchain technologies, 
runtime library
ii  libllvm9:amd64                                              1:9-2           
                      amd64        Modular compiler and toolchain technologies, 
runtime library
ii  libllvm9:i386                                               1:9-2           
                      i386         Modular compiler and toolchain technologies, 
runtime library
ii  libllvmspirvlib8                                            8.0.1-1+b1      
                      amd64        bi-directional translator for LLVM/SPIRV -- 
shared library
ii  llvm-10                                                     
1:10~svn374655-1~exp1                 amd64        Modular compiler and 
toolchain technologies
ii  llvm-10-dev                                                 
1:10~svn374655-1~exp1                 amd64        Modular compiler and 
toolchain technologies, libraries and headers
ii  llvm-10-runtime                                             
1:10~svn374655-1~exp1                 amd64        Modular compiler and 
toolchain technologies, IR interpreter
ii  llvm-10-tools                                               
1:10~svn374655-1~exp1                 amd64        Modular compiler and 
toolchain technologies, tools
ii  llvm-8                                                      1:8.0.1-3+b1    
                      amd64        Modular compiler and toolchain technologies
ii  llvm-8-dev                                                  1:8.0.1-3+b1    
                      amd64        Modular compiler and toolchain technologies, 
libraries and headers
ii  llvm-8-runtime                                              1:8.0.1-3+b1    
                      amd64        Modular compiler and toolchain technologies, 
IR interpreter
ii  llvm-spirv                                                  8.0.1-1+b1      
                      amd64        bi-directional translator for LLVM/SPIRV
user@debian:/tmp$ 


My guess is it doesn't work becasue of libclang-cpp10 and clang-10 versions not
matching, and ABI not beying stable (which is not a problem).

Maybe there should be more tight version dependency from clang-10 to 
libclang-cpp10 ?

At the moment clang-10 dependencies looks like this:

Package: clang-10
Version: 1:10~svn374655-1~exp1
Depends: libc6 (>= 2.14), libclang-cpp10, libgcc1 (>= 1:3.0), libllvm10 (>= 
1:9~svn298832-1~),
         libstdc++6 (>= 9), libstdc++-8-dev, libgcc-8-dev, libobjc-8-dev,
         libclang-common-10-dev (= 1:10~svn374655-1~exp1),
         libclang1-10 (= 1:10~svn374655-1~exp1), libc6-dev, binutils

Notice however that there is no versioning of libclang-cpp10. Only libclang1-10

Manually updating libclang-cpp10 using apt install -t experimental
libclang-cpp10, does resolve the problem.

This bug also affects clang-9 (depends on unversioned libclang-cpp9), but
not clang-8 (doesn't use libclang-cpp, only on versioned libclang1-18)


Best regards,
Witold



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/32 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages clang-10 depends on:
ii  binutils                2.33.1-1
ii  libc6                   2.29-2
ii  libc6-dev               2.29-2
ii  libclang-common-10-dev  1:10~svn374655-1~exp1
ii  libclang-cpp10          1:10~svn372920-1~exp1
ii  libclang1-10            1:10~svn374655-1~exp1
ii  libgcc-8-dev            8.3.0-23
ii  libgcc1                 1:9.2.1-9
ii  libllvm10               1:10~svn374655-1~exp1
ii  libobjc-8-dev           8.3.0-23
ii  libstdc++-8-dev         8.3.0-23
ii  libstdc++6              9.2.1-9

Versions of packages clang-10 recommends:
ii  libomp-10-dev  1:10~svn374655-1~exp1
ii  llvm-10-dev    1:10~svn374655-1~exp1
ii  python3        3.7.5-1

Versions of packages clang-10 suggests:
pn  clang-10-doc  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: llvm-toolchain-snapshot
Source-Version: 1:10~svn375339-1~exp1

We believe that the bug you reported is fixed in the latest version of
llvm-toolchain-snapshot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sylvestre Ledru <[email protected]> (supplier of updated 
llvm-toolchain-snapshot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 19 Oct 2019 12:19:36 +0200
Source: llvm-toolchain-snapshot
Architecture: source
Version: 1:10~svn375339-1~exp1
Distribution: experimental
Urgency: medium
Maintainer: LLVM Packaging Team <[email protected]>
Changed-By: Sylvestre Ledru <[email protected]>
Closes: 942526
Changes:
 llvm-toolchain-snapshot (1:10~svn375339-1~exp1) experimental; urgency=medium
 .
   * New snapshot release
   * Last upload before the move to git
   * lldb-libname.diff: disable for now, seems it that it is now handled
     by cmake https://reviews.llvm.org/D68858. TODO: check it still work
   * Remove "revert-r373786-libclang-cpp.diff" (applied upstream)
   * Add dependency between libclang-cpp => libllvm with the exact version
     (Closes: #942526)
   * Build using -DCLANG_LINK_CLANG_DYLIB=ON to force the usage of dynamic
     library instead of static library when building clang tools.
     Decreases the total size from 510M to 278M (amd64)
Checksums-Sha1:
 380a8fba17d815be01bba63d59f71e3c9c0a8d3d 9307 
llvm-toolchain-snapshot_10~svn375339-1~exp1.dsc
 f9c7be3df55af02ef53e4e7767fbee0b8c89c106 2709788 
llvm-toolchain-snapshot_10~svn375339.orig-clang-tools-extra.tar.bz2
 db065da4e2e362c606f10c3e20c6153e479d3d70 15396804 
llvm-toolchain-snapshot_10~svn375339.orig-clang.tar.bz2
 fd7aa0baa240fba37d53ef92f73279e22f1055c6 2625881 
llvm-toolchain-snapshot_10~svn375339.orig-compiler-rt.tar.bz2
 8d729d5c14b1b7aa77917c664a6cc2bc9ea72c44 2043150 
llvm-toolchain-snapshot_10~svn375339.orig-libcxx.tar.bz2
 f4a2dd9bf0b835463084ce5f364e7f7ff84647c7 564725 
llvm-toolchain-snapshot_10~svn375339.orig-libcxxabi.tar.bz2
 55c1543951acc95edf5a52dc0f2cb2b0928e8765 1254538 
llvm-toolchain-snapshot_10~svn375339.orig-lld.tar.bz2
 59f0418467781923666a168c97f6b671b6057486 11584961 
llvm-toolchain-snapshot_10~svn375339.orig-lldb.tar.bz2
 abcff024d67d87cb908b62198220f564fb1971e7 1036764 
llvm-toolchain-snapshot_10~svn375339.orig-openmp.tar.bz2
 66c1d24f6908eb877e49bfa8d97bac043a2ee6d7 3969809 
llvm-toolchain-snapshot_10~svn375339.orig-polly.tar.bz2
 989758ed2f55ec8a957758a9d1b19d664855433f 40490427 
llvm-toolchain-snapshot_10~svn375339.orig.tar.bz2
 aaee8d13623ebe032a96da42338d49827160981c 120468 
llvm-toolchain-snapshot_10~svn375339-1~exp1.debian.tar.xz
 b14a6c94cf0ac8b19ed54d4ac1aae812a47009d2 28131 
llvm-toolchain-snapshot_10~svn375339-1~exp1_amd64.buildinfo
Checksums-Sha256:
 4bf2017c14198ac88ab1c6f46101aa84d13513a23bd6dda1fea627d53ed547d8 9307 
llvm-toolchain-snapshot_10~svn375339-1~exp1.dsc
 4aaa6efd6dc50a9b5d56a8e9a4f5e48801c06e5f68a6c801042ba2520252545b 2709788 
llvm-toolchain-snapshot_10~svn375339.orig-clang-tools-extra.tar.bz2
 b7c91e1a7196d1162d32f3c59d43b8534b7c667e676fe2fc8fa727ce857efd02 15396804 
llvm-toolchain-snapshot_10~svn375339.orig-clang.tar.bz2
 44af2898a669eb7ed6ce115f84856c8c87d2c4bf47547bee390ba57686ff360c 2625881 
llvm-toolchain-snapshot_10~svn375339.orig-compiler-rt.tar.bz2
 2d507ab86dd82115702a96af5e5b3294052f71f3d1ac89efe13b48b2271f94b4 2043150 
llvm-toolchain-snapshot_10~svn375339.orig-libcxx.tar.bz2
 b990e4591ca0422eb8426b46ce144f46d2d11b4fbb6e7b74a48a5d28ce710d24 564725 
llvm-toolchain-snapshot_10~svn375339.orig-libcxxabi.tar.bz2
 70587515198a7e354a7fe0572e5e0727500ddbe238437461c511de9b027fd5df 1254538 
llvm-toolchain-snapshot_10~svn375339.orig-lld.tar.bz2
 42e2b5d76373a67ceb75e686da1c43132df357fb258e5d7d87ae41fa49df7932 11584961 
llvm-toolchain-snapshot_10~svn375339.orig-lldb.tar.bz2
 542b13e3e2150015e60179adb3a983a59620869f44e4d1e828245ff61b2fdfb0 1036764 
llvm-toolchain-snapshot_10~svn375339.orig-openmp.tar.bz2
 d0ccf265609af0c51d61edee4fb8410aff1850cf76961838165caf6a519496ab 3969809 
llvm-toolchain-snapshot_10~svn375339.orig-polly.tar.bz2
 a399d3d0761cbbdbbf6fa55e1422a1c50973bcd965c421de533adf0bec4586e0 40490427 
llvm-toolchain-snapshot_10~svn375339.orig.tar.bz2
 3c8a8240395caf62e87025cee1490be0a6d7f874212ad980f8ff635c97e9c360 120468 
llvm-toolchain-snapshot_10~svn375339-1~exp1.debian.tar.xz
 ea98de5262a50ce42017d55acd030389f648fa975f6fd0b11f75d7baec40c2f8 28131 
llvm-toolchain-snapshot_10~svn375339-1~exp1_amd64.buildinfo
Files:
 e7abed1a46b3ce9b2cb45fee5c2c1e89 9307 devel optional 
llvm-toolchain-snapshot_10~svn375339-1~exp1.dsc
 20c8d8fbf9891aa31c3519845f277072 2709788 devel optional 
llvm-toolchain-snapshot_10~svn375339.orig-clang-tools-extra.tar.bz2
 42cd8117cc14a9846f00628093528698 15396804 devel optional 
llvm-toolchain-snapshot_10~svn375339.orig-clang.tar.bz2
 99a02841dc272839f4c4a681297a315e 2625881 devel optional 
llvm-toolchain-snapshot_10~svn375339.orig-compiler-rt.tar.bz2
 d1c5b14ded5d5de4330e1f8583ca0d15 2043150 devel optional 
llvm-toolchain-snapshot_10~svn375339.orig-libcxx.tar.bz2
 f09ec6eee34a7ab3d3fecabc0020eb97 564725 devel optional 
llvm-toolchain-snapshot_10~svn375339.orig-libcxxabi.tar.bz2
 c3fe21566510b8bb9ada3ef5baaab6db 1254538 devel optional 
llvm-toolchain-snapshot_10~svn375339.orig-lld.tar.bz2
 b7c7b9387e0f57af4a0106e59c0eb1fd 11584961 devel optional 
llvm-toolchain-snapshot_10~svn375339.orig-lldb.tar.bz2
 bc5157a93b6045fe355b663cb8584def 1036764 devel optional 
llvm-toolchain-snapshot_10~svn375339.orig-openmp.tar.bz2
 26e694db4813a99308d0eea3777b3482 3969809 devel optional 
llvm-toolchain-snapshot_10~svn375339.orig-polly.tar.bz2
 1d38042ec452273093aa61dfa3ccdcab 40490427 devel optional 
llvm-toolchain-snapshot_10~svn375339.orig.tar.bz2
 c08df1558d89e5d73de427435b45681e 120468 devel optional 
llvm-toolchain-snapshot_10~svn375339-1~exp1.debian.tar.xz
 1d8933030ee6412dec9e7c76ab5df0c1 28131 devel optional 
llvm-toolchain-snapshot_10~svn375339-1~exp1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAl2rKP8ACgkQfmUo2nUv
G+Ev3g/+JNVSd2psJmrqSNRHZ+iRa+TuOJcDoyU7Q1hvp/0HEC9deZdY54xKJBLv
XEyRbZsahcGkiaVWA0OJp7m5NXJA4kadzd7NtUjRFRPyXX08UGHsfRErTJf9Bs32
D5TiS+J5DiIglZJ4BtX4VSUGw3aipIUL2W8LVJrR4qr7djE+oQ3ao/mUR5wvL8Dc
45Y7edz027EA6rbB+FDPKSGRF8mz0qbbOlLN4VZWG37Rd7q18T1g39ipkJMAxlua
Slhgtlmo2S+ntUtumIJVgQ+6y82OBV9Bou/xBf3LbmTMhi6+GVDSPVo2IUoTI/9E
0rqDif/S+lIq0KHfM1pnTYlVr6j+iW5aosf6ods43/PTaB9MkL1rEfOmnDKWHrqQ
+20NYw/sjooVSKMgrhNY/BWJZHdauux5l8GJ/Tr31ZomcfDsgyNc1RHFgzaxhSHQ
7+uihTFe+yUr49mWu4YkQ4ycaz5/LsZO/IhEJFRQG8pllVEngn0hcKFhLaWG384j
OtK2yNs4rPiWrP9Eqqpf66XZu+s8Zz9sN3QXb/MphlAOB3HIgsE0rcPa8zFDGHRw
5z+vkzBrlp4xul5r/5CZWGtnaM+o8PQz222I4M2onnunF8at4Yab7znfaqixvL31
A2+7ykb4+svzXqP8Rtm22fPQNYseHpcuYxcnTWYy16XfnTlDlpo=
=dsUv
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to