This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
build/1893: HP-UX 11.11: GDB 6.3 Build Fails with undefined reference to som_solib_get_got_by_pc
- From: philip_reyniers at hotmail dot com
- To: gdb-gnats at sources dot redhat dot com
- Cc: philip_reyniers at hotmail dot com
- Date: 8 Mar 2005 12:07:25 -0000
- Subject: build/1893: HP-UX 11.11: GDB 6.3 Build Fails with undefined reference to som_solib_get_got_by_pc
- Reply-to: philip_reyniers at hotmail dot com
>Number: 1893
>Category: build
>Synopsis: HP-UX 11.11: GDB 6.3 Build Fails with undefined reference to som_solib_get_got_by_pc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Tue Mar 08 12:08:00 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator: philip_reyniers@hotmail.com
>Release: unknown-1.0
>Organization:
>Environment:
HP-UX 11.11
GCC 3.4.3
>Description:
GCC BUILD INFORMATION:
Reading specs from /usr/local/pa20_64-par/lib/gcc/hppa64-hp-hpux11.11/3.4.3/specs
Configured with: ../configure --host=hppa64-hp-hpux11.11 --prefix=/usr/local/pa20_64-par --with-local-prefix=/usr/local/pa20_64-par --with-gnu-ld --with-ld=/usr/local/pa20_64/bin/ld --with-gnu-as --with-as=/usr/local/pa20_64/bin/as --enable-languages=c,c++,f77,java,objc --disable-shared --disable-nls
Thread model: single
gcc version 3.4.3
# file gcc
gcc: ELF-64 executable object file - PA-RISC 2.0 (LP64)
GCC COMPILE ERROR:
USING gmake
gcc -mpa-risc-2-0 -g -O2 -Dvfork=fork \
-o gdb gdb.o libgdb.a \
../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a ../libiberty/libiberty.a -lcurses -lm -liconv ../libiberty/libiberty.a
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
libgdb.a(hppa-hpux-tdep.o)(.text+0x1914): In function `hppa_hpux_som_find_global_pointer':
/build/gcc-build/gdb-6.3/gdb/hppa-hpux-tdep.c:1227: undefined reference to `som_solib_get_got_by_pc'
gmake[1]: *** [gdb] Error 1
gmake[1]: Leaving directory `/build/gcc-build/gdb-6.3/OBJDIR/gdb'
gmake: *** [all-gdb] Error 2
***********************************************************
***********************************************************
USING gmake -d inside OBJDIR/gdb
rm -f gdb
Putting child 0x80000001000e0950 (gdb) PID 472 on the chain.
Live child 0x80000001000e0950 (gdb) PID 472
Got a SIGCHLD; 1 unreaped children.
Reaping winning child 0x80000001000e0950 PID 472
gcc -mpa-risc-2-0 -g -O2 -Dvfork=fork \
-o gdb gdb.o libgdb.a \
../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a ../libiberty/libiberty.a -lcurses -lm -liconv ../libiberty/libiberty.a
Live child 0x80000001000e0950 (gdb) PID 473
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
libgdb.a(hppa-hpux-tdep.o)(.text+0x1914): In function `hppa_hpux_som_find_global_pointer':
/build/gcc-build/gdb-6.3/gdb/hppa-hpux-tdep.c:1227: undefined reference to `som_solib_get_got_by_pc'
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x80000001000e0950 PID 473
gmake: *** [gdb] Error 1
Removing child 0x80000001000e0950 PID 473 from chain.
>How-To-Repeat:
Using Build root located in /build/gcc-build .
gdb-6.3 source located in /build/gcc-build/gdb-6.3 .
Have tried both --enabled-shared and --disable-shared.
cd /build/gcc-build
tar -xvf gdb-6.3.tar
mkdir -p ./gdb-6.3/OBJDIR
chown -R root:sys ./gdb-6.3
chmod -R 777 ./gdb-6.3
cd ./gdb-6.3/OBJDIR
../configure --host=hppa64-hp-hpux11.11 --prefix=/usr/local/pa20_64-par --with-local-prefix=/usr/local/pa20_64-par --with-gcc --with-gnu-ld --with-ld=/usr/local/pa20_64-par/bin/ld --with-gnu-as --with-as=/usr/local/pa20_64-par/bin/as --enable-languages=c,c++,f77,java,objc --enable-shared --disable-nls
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: