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

Bug#1061248: glibc: DEP17: move most files but rtld to /usr



Hi Helmut,

Thanks I haven't checked the whole patch yet, but here is a first
comment.

On 2024-02-04 21:20, Helmut Grohne wrote:
> I don't think those -$arch-cross packages need the runtime dynamic
> linker at all. Unlike the libc6-$multilib packages, we don't use
> -$arch-cross packages to actaully run any binary. Simply not installing
> it might just work in practice.

No, it is actually needed. For instance using the arm64 cross-compiler
on amd64:

$ rm /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1
$ arch64-linux-gnu-gcc -o test test.c
/usr/lib/gcc-cross/aarch64-linux-gnu/13/../../../../aarch64-linux-gnu/bin/ld: cannot find /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1: No such file or directory
collect2: error: ld returned 1 exit status

Cheers
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net


Reply to: