Package: dpkg-cross
Version: 2.6.17
Severity: important

When dpkg-cross converts a native package into a cross package, it moves
around libraries updating symlinks. It most notably moves the dynamic
loader, but doesn't update the path in the content of linker scripts
like /usr/lib/$(MULTIARCH)/libc.so.

For example on armhf the dynamic loader is move from:
  /lib/arm-linux-gnueabihf/ld-2.31.so
to 
  /usr/arm-linux-gnueabihf/lib/ld-2.31.so

However this path is not updated in libc.so script, which is changed
from:
  GROUP ( /lib/arm-linux-gnueabihf/libc.so.6 
/usr/lib/arm-linux-gnueabihf/libc_nonshared.a  AS_NEEDED ( 
/lib/ld-linux-armhf.so.3 ) )
to 
  GROUP ( /usr/arm-linux-gnueabihf/lib/libc.so.6 
/usr/arm-linux-gnueabihf/lib/libc_nonshared.a  AS_NEEDED ( 
/lib/ld-linux-armhf.so.3 ) )

The path in AS_NEEDED should also be updated.

Reply via email to