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: wilson at gcc dot gnu.org
Subject: [Bug ld/22962] [RISCV] add abi subdirectories support to ld
Date: Wed, 14 Mar 2018 21:21:22 +0000

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

Jim Wilson <wilson at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wilson at gcc dot gnu.org

--- Comment #1 from Jim Wilson <wilson at gcc dot gnu.org> ---
It isn't clear what bug you are trying to report here, or what glibc change you
are referring to.  Some info on how to reproduce would be useful.

I've done a lot of multilibbed cross-compiler builds for riscv64-linux, and
have not seen any problem.  Gcc should add extra options to the link line to
point to the right library dirs.

I've not seen any multilibbed operating systems as yet, so no need for
multilibbed native compilers.

If we do need multilibbed native compilers, then we may have a problem with
directory names, as we don't have any convention for this as yet.  At the
moment, the only convention we have is that 64-bit code is in /lib64 and 32-bit
code is in /lib.  But different OSes have different conventions for library
naming, so it may not be safe to make assumptions about this in the linker. 
For instance, on my 64-bit x86 Ubuntu system, libraries are in
/usr/lib/x86_64-linux-gnu, not in /usr/lib64.

Gcc is usually a better place to fix such issues than ld.  If you are trying to
use ld to link, that is a mistake.  You should use gcc to link.

-- 
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]