This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failed 5.1 Build for AIX 4.3.3

This belongs to the mailing list. It is really
a generic gdb issue, rather than Insight.  Anyway, I ran into this
problem myself. Try the following in the gdb directory:

make CFLAGS='-g -O2 -mminimal-toc'


Chip Cuntz writes:
 > I can't get this baby to build...  The folloing is the tail end of stdout.
 > Any ideas would be great!
 > ...
 > rm -f libgdb.a
 > ar q libgdb.a version.o blockframe.o breakpoint.o findvar.o regcache.o
 > source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o symtab.o
 > symfile.o symmisc.o linespec.o infcmd.o infrun.o expprint.o environ.o
 > stack.o thread.o event-loop.o event-top.o inf-loop.o completer.o gdbarch.o
 > arch-utils.o gdbtypes.o copying.o rs6000-tdep.o xcoffread.o ppc-linux-tdep.o
 > ser-unix.o ser-pipe.o ser-tcp.o fork-child.o infptrace.o inftarg.o corelow.o
 > rs6000-nat.o xcoffsolib.o remote.o dcache.o remote-utils.o tracepoint.o
 > ax-general.o ax-gdb.o   memattr.o mem-break.o target.o parse.o language.o
 > buildsym.o
 > signals.o kod.o kod-cisco.o gdb-events.o exec.o bcache.o objfiles.o
 > minsyms.o maint.o demangle.o dbxread.o coffread.o elfread.o dwarfread.o
 > dwarf2read.o mipsread.o stabsread.o corefile.o c-lang.o ch-exp.o ch-lang.o
 > f-lang.o ui-out.o cli-out.o varobj.o wrapper.o jv-lang.o jv-valprint.o
 > jv-typeprint.o m2-lang.o p-lang.o p-typ!
 > eprint.o p-valprint.o scm-exp.o scm-lang.o scm-valprint.o complaints.o
 > typeprint.o c-typeprint.o ch-typeprint.o f-typeprint.o m2-typeprint.o
 > c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o m2-valprint.o
 > nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o ui-file.o frame.o
 > gnu-v2-abi.o gnu-v3-abi.o hpacc-abi.o cp-abi.o annotate.o inflow.o
 > gnu-regex.o    init.o
 > ar: Creating an archive file libgdb.a.
 > ranlib libgdb.a
 > rm -f gdb
 > gcc -g -O2         -o gdb \
 > main.o libgdb.a cli-decode.o cli-script.o cli-cmds.o cli-setshow.o
 > cli-utils.o mi-out.o mi-console.o mi-cmds.o mi-cmd-var.o mi-cmd-break.o
 > mi-cmd-stack.o mi-cmd-disas.o mi-main.o mi-parse.o mi-getopt.o gdbtk.o
 > gdbtk-bp.o gdbtk-cmds.o gdbtk-hooks.o gdbtk-register.o gdbtk-stack.o
 > gdbtk-varobj.o gdbtk-wrapper.o    ../bfd/libbfd.a ../readline/libreadline.a
 > ../opcodes/libopcodes.a ./../intl/libintl.a
 > ../libiberty/libiberty.a -lcurses
 > ../libgui/src/libgui.a -L/home/aspen/users1/ccuntz/insight-5.1/itcl/itcl/uni
 > x -litcl3.0 -L/home/aspen/users1/ccuntz/insight-5.1/itcl/itk/unix -litk3.0 -
 > L/home/aspen/users1/ccuntz/insight-5.1/tix/unix/tk8.0 -ltix4.1.8.0 -L/home/a
 > spen/users1/ccuntz/insight-5.1/tk/unix -ltk8.0 -L/home/aspen/users1/ccuntz/i
 > nsight-5.1/tcl/unix -ltcl8.0   -lX11 -ldl  -lm -lm  ../libiberty/libiberty.a
 > \
 > ld: 0711-781 ERROR: TOC overflow. TOC size: 71956       Maximum size: 65536
 > collect2: ld returned 12 exit status
 > gmake[1]: *** [gdb] Error 1
 > gmake[1]: Leaving directory `/home/aspen/users1/ccuntz/insight-5.1/gdb'
 > gmake: *** [all-gdb] Error 2
 > $
 > Chip Cuntz
 > Worldcom
 > v622.1305/719.535.1305

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]