* Re: collect2: ld returned 12 exit status
[not found] <c8cc0fd10807240801jc7511day80cd6719d71689ef@mail.gmail.com>
@ 2008-07-24 17:27 ` David Edelsohn
0 siblings, 0 replies; only message in thread
From: David Edelsohn @ 2008-07-24 17:27 UTC (permalink / raw)
To: Shlom Marom, shlomym; +Cc: gcc-help
> 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-24 16:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <c8cc0fd10807240801jc7511day80cd6719d71689ef@mail.gmail.com>
2008-07-24 17:27 ` collect2: ld returned 12 exit status David Edelsohn
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).