libctf linking against different libbfd builds, but using the same soname

Matthias Klose doko@ubuntu.com
Tue Nov 26 15:53:00 GMT 2019


On 26.11.19 16:38, Andreas Schwab wrote:
> On Nov 26 2019, Matthias Klose wrote:
> 
>> When packaging the cross toolchain, I was moving everything into the system
>> libdirs.  The libctf.so.* and libctf-nonbfd.so.* libraries are host libraries,
>> not target libraries, and installing those together with the native binutils
>> build, you'll see the file conflicts.
> 
> Target-specfic host libraries should be installed in
> $(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib, see
> AM_INSTALL_LIBBFD in bfd/acinclude.m4.

yes, I know, however that needs RPATH settings, and doesn't conform to Debian
policy. It's perfectly fine to do that upstream.

Matthias



More information about the Binutils mailing list