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

Bug#629819: libc6-dev: moving crt1.o crti.o etc. to /usr/lib/<triplet> breaks external multiarch unaware applications



Hi!

Thomas Schwinge wrote:

> What's the route forward here?  (Or has everyone manually added symlinks
> to /usr/lib/ by now?

On this machine, /usr/share/doc/libc6/NEWS.Debian.gz says:

|   Starting with the eglibc package version 2.13-5, the libraries are
|   shipped in the multiarch directory /lib/$arch instead of the more
|   traditional /lib.
|
|   The toolchain in Debian has been updated to cope with that, and most
|   build systems should be unaffected. If you are using a non-Debian
|   toolchain to build your software and it is not able to cope with
|   multiarch, you might try to pass the following options to your
|   compiler:
|
|     -I/usr/include/$arch --sysroot /usr/lib/$arch

I haven't tried it, but maybe that can help.

If that doesn't work well, it could be worth tweaking the libc6-dev
package or introducing a package with symlinks to help with the
transition (reports on experiments in that vein would also be very
welcome).



Reply to: