Package: libgccjit-12-dev
Version: 12.3.0-9
Severity: normal

Dear Maintainer,

when installing libgccjit-12-dev, I'd expect to be able to write applications 
that link against gccjit.
(The GCC codegen backend for the Rust compiler is one example for such an 
application.)
However, strangely, that does not work: instead I get a linker error telling me 
that the library was not found.

The reason for this is that libgccjit.so is located in 
/usr/lib/gcc/x86_64-linux-gnu/12, rather than /usr/lib/x86_64-linux-gnu/.
It would be great if a symlink could be added to the usual linker locations, so 
that people linking against gccjit
do not have to resort to ugly work-arounds such as `sudo ln -s 
/usr/lib/gcc/x86_64-linux-gnu/12/libgccjit.so 
/usr/lib/x86_64-linux-gnu/libgccjit.so`.

Kind regards,
Ralf

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-1-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libgccjit-12-dev depends on:
ii  gcc-12-base  12.3.0-9
ii  libgccjit0   13.2.0-4

libgccjit-12-dev recommends no packages.

Versions of packages libgccjit-12-dev suggests:
pn  libgccjit-12-dbg  <none>

-- no debconf information

Reply via email to