bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22962] [RISCV] add abi subdirectories support to ld


From: david.abdurachmanov at gmail dot com
Subject: [Bug ld/22962] [RISCV] add abi subdirectories support to ld
Date: Fri, 16 Mar 2018 09:08:34 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22962

--- Comment #13 from David Abdurachmanov <david.abdurachmanov at gmail dot com> 
---
Fedora uses symlinks to be compatible to what's expected by RISC-V software
ecosystem (or more precisely glibc).

address@hidden ~]# ll /usr/lib64/lp64d                              
lrwxrwxrwx 1 root root 1 Mar  4 06:18 /usr/lib64/lp64d -> .       
address@hidden ~]# ll /lib/ld-linux-riscv64-lp64d.so.1 
lrwxrwxrwx 1 root root 24 Mar  4 07:26 /lib/ld-linux-riscv64-lp64d.so.1 ->
../lib64/ld-2.27.9000.so

This way all libraries can be found in /lib64 (symlink), /usr/lib64 (actual
directory), /usr/lib64/lp64d (symlink). By default glibc for RISC-V works as it
would live in multi-lib world.

So it works just like aarch64 and x86_64 regarding library placement + symlinks
for compatibility to RISC-V layout.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]