[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building a multiarch gcc

On Mon, 13 Dec 2004 09:58:52 -0800, Brad Boyer <flar@allandria.com> wrote:
> I haven't tried it, but the error does look familiar. I think this is
> the error you get when binaries get too many symbols. The TOC normally
> fits in a single 16bit offset window. If your binary gets too big, it
> can't use simple immediate offsets to access individual elements. I
> haven't seen that in quite a while, so I had thought gcc was smarter
> about it now. However, this sounds very similar. I'm sure that the
> java stuff is very large, with an insane number of symbols in a
> single library. There were command line options to gcc to make it
> assume that it needed to handle these differently. Try adding
> -mminimal-toc to the gcc command line for all the object files.
> There are some other related options listed in the man page.
It worked!!!!
once more the problem was that the compile system was assuming that 
"gcc -print-multi-directory" would print 64 if the resulting library
should be 64 bits.
>         Brad Boyer
>         flar@allandria.com> 

Attachment: gcc.patch.gz
Description: application/gzip

Reply to: