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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to