Re: collect2: ld returned 12 exit status

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

 



> I'm trying to compile and link a product that was already compiled and
> linked successfully before, on AIX5.3 with gcc3.4.6, but I got the
> following link err:
> "collect2: ld returned 12 exit status"

> Pls note that this happens to me only when not using  the strip flag
> (-s) since I need the symbols for debugging...
> => I can link only the release version.

	There are other error message that you are not reporting, but I
suspect the problem is TOC overflow.  You can try compiling the program
with -mminimal-toc GCC option or adding -Wl,-bbigtoc to the link
commandline.

David



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux