Dealing with libcc1 in Multi-Arch: foreign cross-compiler

John Scott <[email protected]> Wed, 14 Apr 2021 14:58:44 -0400
Newsgroups gmane.linux.debian.devel.toolchain
Message-ID <[email protected]>
--=-qjX/HDFtbzTCbo/sKK7k
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

I'm working on packaging gcc-sh-elf, a cross-compiler for SuperH
systems. These tools will be triplet-prefixed and used to build
wireless firmware, so in principle they should be Multi-Arch: foreign.
However Lintian gives the peculiar warning
	gcc-sh-elf: shared-library-is-multi-arch-foreign usr/lib/libcc1.so.0.0.0

I frankly don't understand what this library is, although the package
description for libcc1-0 in experimental suggests it's a plugin for
GDB. Which of the following solutions should I take?

   * add a Lintian override, as it's a private library/just a plugin
   * make the gcc-sh-elf package Multi-Arch: no
   * split this plugin out into a libcc1-0-sh-elf package
   * make this a symbolic link to the plugin in the libcc1-0 package
   * just delete it assuming I won't need it

Thanks,
John

--=-qjX/HDFtbzTCbo/sKK7k
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

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

iIgEABYIADAWIQT287WtmxUhmhucNnhyvHFIwKstpwUCYHc7ZRIcanNjb3R0QHBv
c3Rlby5uZXQACgkQcrxxSMCrLacFnwEA+G23VFG6+SGQLM6F3NSCOAR2pQfVTsl9
KaqDAvF/aqkA/RgwN1n4jaWgP8tYBGBBKfDs448zcpowKV2hwGd4/7MN
=CdeL
-----END PGP SIGNATURE-----

--=-qjX/HDFtbzTCbo/sKK7k--