[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#911668: missing dependencies for actually compiling code



Package: libgccjit0
Version: 6.3.0-18+deb9u1
Severity: serious

Dear Maintainer,

Some dependencies are missing on libgccjit0 to make it actually useful. In a
minimal chroot, trying to execute a minimal example (such as the first example
in the libgccjit tutorial¹) will fail, because the GNU assembler is not
present.

However, installing binutils is not enough, because libgccjit also needs stuff
from libgcc-N-dev (where N=6 in stretch, N=8 in sid).

But installing the latter is still not enough, because curiously libgccjit
looks at the wrong place for crtbeginS.o.

In the end I had to install the full gcc-N package to run the minimal example.

So gcc should be made a dependency of libgccjit0 (unless you manage to reduce
it to a smaller dependency set).

Best,

¹ https://gcc.gnu.org/onlinedocs/jit/cp/intro/tutorial01.html

--
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  http://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  http://www.debian.org

Reply to: