Bug#919020: llvm-dev: Provide /usr/lib/bfd-plugins/LLVMgold.so

Marc Glisse marc.glisse at normalesup.org
Fri Jan 11 19:54:37 GMT 2019


Package: llvm-dev
Version: 1:7.0-47
Severity: normal

Dear Maintainer,

as requested in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631178
, it would be nice to provide a symlink for LLVMgold.so in
/usr/lib/bfd-plugins . Gcc does it for their plugin
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865690). It would let
tools like nm, ar, etc understand LTO files automatically.

/tmp $ clang e.c -flto -c
/tmp $ file e.o
e.o: LLVM IR bitcode
/tmp $ nm e.o
nm: e.o: file format not recognized

[adding the symlink]

/tmp $ nm e.o
00000000 T main

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

Kernel: Linux 4.19.0-1-amd64 (SMP w/8 CPU cores)
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 llvm-dev depends on:
ii  llvm          1:7.0-47
ii  llvm-7-dev    1:7.0.1-4
ii  llvm-runtime  1:7.0-47

llvm-dev recommends no packages.

llvm-dev suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list