public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc-4.2.2 on x86_64 -  gcc/32/llibgcc.a - Archive has no index
@ 2008-04-12 13:45 Poor Yorick
  2008-04-14 19:57 ` Jim Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Poor Yorick @ 2008-04-12 13:45 UTC (permalink / raw)
  To: gcc-help

gcc-4.2.2 on x86_64, with binutils-2.18, build fails.  I think this is the
relevant message from x86_64-unknown-linux-gnu/32/libmudflap/config.log:


    configure:2311: /path/to/src/gcc-4.2.2/gcc-4.2.2_build/./gcc/xgcc -B/path/to/src/gcc-4.2.2/gcc-4.2.2_build/./gcc/ -B/path/to/gcc-4.2.2/x86_64-unknown-linux-gnu/bin/ -B/path/to/gcc-4.2.2/x86_64-unknown-linux-gnu/lib/ -isystem /path/to/gcc-4.2.2/x86_64-unknown-linux-gnu/include -isystem /path/to/gcc-4.2.2/x86_64-unknown-linux-gnu/sys-include  -m32 -O2 -g -O2    conftest.c  >&5
    /path/to/src/gcc-4.2.2/gcc-4.2.2_build/./gcc/32/libgcc.a: could not read symbols: Archive has no index; run ranlib to add one

This message from the binutils list seems relevant:

    http://sourceware.org/ml/binutils/2007-09/msg00150.html

        "You can specify the default target for all the GNU binutils by setting
        the GNUTARGET environment variable.  This is sort of documented in the
        binutils manual."

But I have no idea how to apply this information as a workaround to get gcc-4.2.2 buikld on x86_64.  Any ideas?


-- 
Yorick

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gcc-4.2.2 on x86_64 -  gcc/32/llibgcc.a - Archive has no index
  2008-04-12 13:45 gcc-4.2.2 on x86_64 - gcc/32/llibgcc.a - Archive has no index Poor Yorick
@ 2008-04-14 19:57 ` Jim Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 2008-04-14 19:57 UTC (permalink / raw)
  To: Poor Yorick; +Cc: gcc-help

Poor Yorick wrote:
>     configure:2311: /path/to/src/gcc-4.2.2/gcc-4.2.2_build/./gcc/xgcc -B/path/to/src/gcc-4.2.2/gcc-4.2.2_build/./gcc/ -B/path/to/gcc-4.2.2/x86_64-unknown-linux-gnu/bin/ -B/path/to/gcc-4.2.2/x86_64-unknown-linux-gnu/lib/ -isystem /path/to/gcc-4.2.2/x86_64-unknown-linux-gnu/include -isystem /path/to/gcc-4.2.2/x86_64-unknown-linux-gnu/sys-include  -m32 -O2 -g -O2    conftest.c  >&5
>     /path/to/src/gcc-4.2.2/gcc-4.2.2_build/./gcc/32/libgcc.a: could not read symbols: Archive has no index; run ranlib to add one
> This message from the binutils list seems relevant:

That doesn't look relevant to me.  A properly built x86_64-linux 
binutils will automatically handle both 32-bit and 64-bit libraries.

Did you check the libgcc.a library to make sure it is OK?

Did you build your own copy of binutils?  Did you check to make sure it 
is OK?

Jim

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-14 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-12 13:45 gcc-4.2.2 on x86_64 - gcc/32/llibgcc.a - Archive has no index Poor Yorick
2008-04-14 19:57 ` Jim Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).