[Bug bootstrap/34464] Link error when building on ppc970/Debian etch 4.0 (for ppc64)
tranzmatt at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Dec 14 18:26:00 GMT 2007
------- Comment #2 from tranzmatt at gmail dot com 2007-12-14 18:26 -------
Subject: Re: Link error when building on ppc970/Debian etch 4.0 (for ppc64)
I do have 32-bit libs in /lib32 and /usr/lib32. I tried adding
-L/lib32 -L/usr/lib32 to LDFLAGS, but the 64bit crti.o & crtn.o in
/lib & /usr/lib are caught first. Any way to force the lib32 folders
to be searched first?
Matt
On 14 Dec 2007 17:48:28 -0000, pinskia at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
>
>
> ------- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-14 17:48 -------
> This:
> /usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when searching for
> -lc
>
> means you don't have the 32bits library installed (really for PPC, you should
> be using almost all the time 32bits). Anyways use --disable-multilib to
> disable the 32bit libraries.
>
>
> --
>
> pinskia at gcc dot gnu dot org changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Severity|blocker |normal
> Status|UNCONFIRMED |RESOLVED
> Component|c |bootstrap
> Resolution| |INVALID
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34464
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34464
More information about the Gcc-bugs
mailing list