GCC/G++ AIX linker problem
Richard Hann
richard@excel-solutions.co.uk
Fri Jul 28 03:00:00 GMT 2000
GCC Version 2.95.1
IBM AIXÃÂ 4.1.5
ÃÂ
Command Line:
ÃÂ ÃÂ ÃÂ g++ -g -Wall
--unsigned-char -DUSE_DIRENT -DUNIX -DDISAM -DFFDECL -DUSCHAR
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
-I/usr/mark/fred/5.30.excel -I/usr/local/include -I/usr/mark/disam/head
main.cpp
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ libbuses_elf.a libtimesheetsui_elf.a libtimesheets_elf.a
libtimesheetstaticdataui_elf.a ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
libtimesheetstaticdata_elf.a libbase_elf.a libevent_elf.a
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
/usr/mark/fred/5.30.excel/libff_elf.a -lm -o buses
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
/usr/mark/disam/code/libdisam.a /usr/local/lib/libexpect.a
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ /usr/local/lib/libtcl8.0.a
ÃÂ
I have a problem with GCC/G++ (GNU C/C++ compiler)
linking a large
executable under AIX 4.1.5.ÃÂ The error message
returned is:
ÃÂ
ld: 0711-781 ERROR: TOC overflow. TOC size:
112492ÃÂ ÃÂ Maximum size 65536
collect2: ld returned 12 exit status
ÃÂ
The IBM web page documents a similar bug report IX75823
and an appropriate
fix (PTF) U455193 which I have tried installing to no
avail. Gnu suggests
using compiler flags -mminimal-toc which again do not
seem to have any
effect.
ÃÂ
Any ideas or possible work around would be greatly
appreciated.
ÃÂ
Richard Hann
ÃÂ
P.S. All the code compilers, links and runs under
SCO Openserver 5
ÃÂ
---------------------------------------------------------------------------- Richard
HannÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
Tel: 01993 200123 Excel Solutions
Ltd.ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
Fax: 01993 200220 2 Des Roches Square Witan
Way Witney OxfordshireÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
WWW: http://www.excel-solutions.co.uk OX8
6BEÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
email:ÃÂ richard@excel-solutions.co.uk ----------------------------------------------------------------------------
More information about the Gcc-bugs
mailing list