public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/11493] New: gdb 7.1 sparcv9 sol9 build fails due to symbol error elfcore_write_prstatus
@ 2010-04-13  7:52 sebastian dot wenzler at hp dot com
  0 siblings, 0 replies; only message in thread
From: sebastian dot wenzler at hp dot com @ 2010-04-13  7:52 UTC (permalink / raw)
  To: gdb-prs

Hello ,

we're trying to compile gdb 7.1 on Solaris 9.
64 and 32 bit builds both fail with symbol error. 
Looks like bfd problem is rising again?!
I also tried --disable-largefile and --disable-tui but that didn't help either.

Environment looks like this:
make 3.81

# uname -a
SunOS aachen3 5.9 Generic_122300-19 sun4u sparc SUNW,Sun-Blade-1500

# gcc -v
Using built-in specs.
Target: sparcv9-sun-solaris29
Configured with: /home/xhpkagu/test/gcc/gcc-4.4.3_SOL9/configure
--prefix=/app/gcc/4.4.3 --with-gmp=/app/gmp/4.2.4 --with-mpfr=/app/mpfr/2.4.0
--enable-languages=c,c++,fortran,objc sparcv9-sun-solaris29
Thread model: posix
gcc version 4.4.3 (GCC)

 ./configure --prefix=/app/gdb/7.0 --enable-shared=yes sparcv9-sun-solaris29 ; make
make install
.....

make[3]: Leaving directory `/local/scratch/gdb-7.1/gdb'
rm -f gdb
sparcv9-sun-solaris29-gcc -g -O2      \
                -o gdb gdb.o libgdb.a \
                   ../readline/libreadline.a ../opcodes/libopcodes.a
../bfd/libbfd.a ./../intl/libintl.a ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a    -ldl -ltermcap -lz -lsocket -lnsl -lm 
../libiberty/libiberty.a  gnulib/libgnu.a
Undefined                       first referenced
 symbol                             in file
elfcore_write_prstatus              libgdb.a(procfs.o)
ld: fatal: Symbol referencing errors. No output written to gdb
collect2: ld returned 1 exit status
make[2]: *** [gdb] Error 1
make[2]: Leaving directory `/local/scratch/gdb-7.1/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/local/scratch/gdb-7.1'
make: *** [all] Error 2

Any hints appreciated.

BR
Sebastian

-- 
           Summary: gdb 7.1 sparcv9 sol9 build fails due to symbol error
                    elfcore_write_prstatus
           Product: gdb
           Version: 7.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: gdb
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: sebastian dot wenzler at hp dot com
                CC: gdb-prs at sourceware dot org
 GCC build triplet: sparcv9-sun-solaris29
  GCC host triplet: sparcv9-sun-solaris29
GCC target triplet: sparcv9-sun-solaris29


http://sourceware.org/bugzilla/show_bug.cgi?id=11493

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-13  7:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-13  7:52 [Bug gdb/11493] New: gdb 7.1 sparcv9 sol9 build fails due to symbol error elfcore_write_prstatus sebastian dot wenzler at hp dot com

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).