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: Thu, 15 Mar 2018 05:14:19 +0000

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

--- Comment #8 from Jim Wilson <wilson at gcc dot gnu.org> ---
If gcc is configured --enable-multilib, then it appears that you get the -L
options you need for this to work.  If gcc is configured --disable-multilib,
then you do not get the -L options needed for this to work.

Is your gcc configured --disable-multilib?

Making links in /usr/lib64 to the default ABI libraries can make this work
regardless of whether gcc emits the necessary -L options.

Configuring gcc with --enable-multilib fails because the 32-bit glibc support
hasn't been upstreamed yet.  Fedora has a hack for this.  They asked me to
write a proper patch, which can be found in
    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84797
with this patch you can configure with --enable-multilib
--with-multilib-list=lp64d and the compiler should build and produce the
necessary -L options.  I haven't had a change to double check this yet.

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