[Pkg-electronics-devel] Bug#1001273: gcc-avr, gcc-sh-elf: both ship /usr/lib/libcc1.so*

Gregor Riepl onitake at gmail.com
Thu Dec 16 12:36:17 GMT 2021


> Here is a list of files that are known to be shared by both packages
> (according to the Contents file for sid/amd64, which may be
> slightly out of sync):
> 
>   /usr/lib/libcc1.so
>   /usr/lib/libcc1.so.0
>   /usr/lib/libcc1.so.0.0.0

To be honest, this sounds like a packaging issue.
libcc1.so should not be installed by a specific cross compiler at all,
at least not for the host architecture and certainly not into /usr/lib.

If the libcc1 versions used by gcc-avr and/or gcc-sh-elf are
incompatible with what's provided by libcc1-0, then these two packages
should either be linked statically or their own versions be installed
into /usr/lib/<package-name>/lib (or something similar)

FWIW, this is likely caused by these two cross compilers being based on
very old gcc versions.

At least gcc-avr should be fixed by upgrading it to something newer than
the Atmel/Microchip-patched version.
Related bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932989



More information about the Pkg-electronics-devel mailing list