This is the mail archive of the gdb@sources.redhat.com 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]

20010707 snapshot fails to build on rs6000-ibm-aix4.2.0.0


The 0707 snapshot fails to link gdb on rs6000-ibm-aix4.2.0.0 because
no_shared_libraries referenced from remote.c, isn't provided by
xcoffsolib.c
It is defined in solib.c .
#!/bin/sh
# This file was generated automatically by configure.  Do not edit.
# This directory was configured as follows:
../gdb+dejagnu-20010707/configure --host=rs6000-ibm-aix4.2.0.0
--norecursion
#

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    ../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a
./../intl/libintl.a ../libiberty/libiberty.a -ltermcap     -lm  ../libiberty/libiberty.a \

ld: 0711-317 ERROR: Undefined symbol: .no_shared_libraries
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make[1]: *** [gdb] Error 1
make[1]: Leaving directory `/devel/tmp/gdb+dejagnu-20010707.obj/gdb'
make: *** [all-gdb] Error 2

# After adding -Wl,-bnoquiet
ld: 0711-318 ERROR: Undefined symbols were found.
     The following symbols are in error:
 Symbol                    Inpndx  TY CL Source-File(Object-File) OR Import-File{Shared-object}
                              RLD: Address  Section  Rld-type Referencing Symbol
 ----------------------------------------------------------------------------------------------
ld: 0711-317 ERROR: Undefined symbol: .no_shared_libraries
 .no_shared_libraries      [118]   ER PR ../../gdb+dejagnu-20010707/gdb/remote.c(libgdb.a[remote.o])
                                   00003e9c .text    R_RBR    [1796]  <.remote_open_1>
                                   00004114 .text    R_RBR    [1812]  <.remote_async_open_1>
ER: The return code is 8.
collect2: ld returned 8 exit status


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