This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Building gcc-4.5.0 on powerpc Mac OSX 10.4.11 problem: ld: malformed table of contents in: ../libiberty/libiberty.a
- From: Ian Lance Taylor <iant at google dot com>
- To: Mauricio Gomes <mgpensar at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 26 May 2010 13:51:09 -0700
- Subject: Re: Building gcc-4.5.0 on powerpc Mac OSX 10.4.11 problem: ld: malformed table of contents in: ../libiberty/libiberty.a
- References: <AANLkTinVBp9Yc-9CC5qR13uChjT5a_L9HsrrSiVbkquM@mail.gmail.com>
Mauricio Gomes <mgpensar@gmail.com> writes:
> /usr/libexec/gcc/powerpc-
> apple-darwin8/4.0.1/ld: malformed table of contents in:
> ../libiberty/libiberty.a (ranlib struct 0 library member offset not a
> multiple of 4 bytes, can't load from it)
> collect2: ld returned 1 exit status
I can not imagine what would cause that, but it must be Darwin
specific. I only have the obvious suggestions. Have you tried simply
restarting the build from scratch? Is it possible that you are out of
disk space? See which ar and ranlib programs are on PATH, and make
sure they are from the same directory.
Ian