public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/7663: AIX-LD fails with TOC overflow
@ 2002-08-20 12:29 wharms
0 siblings, 0 replies; 2+ messages in thread
From: wharms @ 2002-08-20 12:29 UTC (permalink / raw)
To: gcc-gnats
>Number: 7663
>Category: c++
>Synopsis: AIX-LD fails with TOC overflow
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Aug 20 12:16:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: wharms@bfs.de
>Release: unknown-1.0
>Organization:
>Environment:
creating
aix 4.2.0
gcc version 2.95.2
compiling gcc-3.2
>Description:
when compiling cc1plus the AIX-ld fails with
gcc -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-
long-long -DHAVE_CONFIG_H -o cc1plus \
cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parse.o cp/ptree
.o cp/rtti.o cp/spew.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o c
p/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-lang.o attribs.o c-common.o c-format.o c-pragma.o c-seman
tics.o c-lex.o main.o libbackend.a libcpp.a ./intl/libintl.a -liconv ../libiberty/libiberty.a
ld: 0711-781 ERROR: TOC overflow. TOC size: 77396 Maximum size: 65536
According to the manpage big TOC's carry a heavy performance penalty on AIX.
>How-To-Repeat:
>Fix:
add LDFLAGS += -Wl,-bbigtoc
so you get a warning because of the performance problems
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/7663: AIX-LD fails with TOC overflow
@ 2002-09-20 14:24 dje
0 siblings, 0 replies; 2+ messages in thread
From: dje @ 2002-09-20 14:24 UTC (permalink / raw)
To: dje, gcc-bugs, gcc-prs, nobody, wharms
Synopsis: AIX-LD fails with TOC overflow
Responsible-Changed-From-To: unassigned->dje
Responsible-Changed-By: dje
Responsible-Changed-When: Fri Sep 20 14:24:31 2002
Responsible-Changed-Why:
AIX
State-Changed-From-To: open->closed
State-Changed-By: dje
State-Changed-When: Fri Sep 20 14:24:31 2002
State-Changed-Why:
One either can link with -Wl,-bbigtoc or compile with -mminimal-toc. TOC usage is decreased in GCC 3.0 and beyond.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7663
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-20 21:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-20 12:29 c++/7663: AIX-LD fails with TOC overflow wharms
2002-09-20 14:24 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).