This is the mail archive of the gdb-prs@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]
Other format: [Raw text]

build/1941: gdb 6.3 - compilation failed on Solaris 9


>Number:         1941
>Category:       build
>Synopsis:       gdb 6.3 - compilation failed on Solaris 9
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 10 13:48:01 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator:     gdb@ostkamp.fastmail.fm
>Release:        gdb-6.3
>Organization:
>Environment:
Solaris 9, gcc 3.4.2
>Description:
GDB compilation fails with following error:

$ cd gdb-6.3
$ make
make  all-recursive
Making all in doc
Making all in po
make  all-recursive
Making all in po
gcc -c -g -O2     -I. -I. -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/..  -I../bfd -I./../bfd -I./../include  -I../intl -I./../intl  -DMI_OUT=1 -DTUI=1  -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function  ada-exp.c
ada-exp.y: In function `ada_parse':
ada-exp.y:611: warning: implicit declaration of function `lexer_init'
ada-exp.y:611: error: `yyin' undeclared (first use in this function)
ada-exp.y:611: error: (Each undeclared identifier is reported only once
ada-exp.y:611: error: for each function it appears in.)
ada-exp.y:612: error: `left_block_context' undeclared (first use in this function)
ada-exp.y: At top level:
ada-exp.y:116: warning: 'ada_lex' declared `static' but never defined
ada-exp.y:906: warning: 'type_long' defined but not used
ada-exp.y:912: warning: 'type_long_long' defined but not used
ada-exp.y:918: warning: 'type_float' defined but not used
ada-exp.y:924: warning: 'type_double' defined but not used
ada-exp.y:930: warning: 'type_long_double' defined but not used
ada-exp.y:936: warning: 'type_char' defined but not used
*** Error code 1
make: Fatal error: Command failed for target `ada-exp.o'
Current working directory /export/home/ostkamp/gdb-6.3/gdb
*** Error code 1
make: Fatal error: Command failed for target `all-gdb'

$gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-languages=c,c+ : (reconfigured) ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-languages=c,c++
Thread model: posix
gcc version 3.4.2

BTW: GDB 6.2 compiles out of the box.
>How-To-Repeat:
Install gcc, libiconv etc. from www.sunfreeware.com on Solaris 9 SPARC. Unpack gdb-6.3.tar.bz2, run configure, run make.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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