public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: target/5842: [AIX] g++/collect2 extracts all static objects from archives
@ 2002-03-13 13:45 dje
  0 siblings, 0 replies; only message in thread
From: dje @ 2002-03-13 13:45 UTC (permalink / raw)
  To: dje, gcc-bugs, gcc-prs, llattanz, nobody

Synopsis: [AIX] g++/collect2 extracts all static objects from archives

Responsible-Changed-From-To: unassigned->dje
Responsible-Changed-By: dje
Responsible-Changed-When: Wed Mar 13 13:45:07 2002
Responsible-Changed-Why:
    AIX
State-Changed-From-To: open->closed
State-Changed-By: dje
State-Changed-When: Wed Mar 13 13:45:07 2002
State-Changed-Why:
    The report is not correct.  collect2 does not add all objects
    to the export list.  collect2 does search all archives for
    static contsructors and destructors and adds those to the
    export list.  Those constructors and destructors may pull
    in more dependencies.  Because the AIX linker garbage
    collects symbols, if the symbol is not scanned and referenced
    early (e.g., ctor/dtor), it may be omitted from the
    executable.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5842


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-13 21:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-13 13:45 target/5842: [AIX] g++/collect2 extracts all static objects from archives dje

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).