From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15337 invoked by alias); 27 Jun 2002 03:10:08 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15329 invoked from network); 27 Jun 2002 03:10:07 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 27 Jun 2002 03:10:07 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id AF3443C40; Wed, 26 Jun 2002 23:10:02 -0400 (EDT) Message-ID: <3D1A820A.9020302@ges.redhat.com> Date: Wed, 26 Jun 2002 20:10:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020613 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Chu, Josh" Cc: "'gdb@sources.redhat.com'" , Kun Li Subject: Re: Building gdb on 64bit solaris References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-06/txt/msg00282.txt.bz2 Could you please download than try GDB 5.2 or better a current snapshot of GDB. See http://sources.redhat.com/gdb/current/ . From other comments, it apparently doesn't build. However, if you can post the details or look closer, it may be possible to figure out what is going wrong. Andrew > I have compiled gcc for 64bit solaris and attempted a compile of gdb. > I ran ./configure followed by 'make' and the compilation stops when trying > to compile core-sol2.c. > Here's my output : > ... > gcc -m64 -c -g -O2 -I. -I. -I./config -DHAVE_CONFIG_H > -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd > -I./../include -I../intl -I./../intl -I./tui -DUSE_INCLUDED_REGEX > ser-pipe.c > gcc -m64 -c -g -O2 -I. -I. -I./config -DHAVE_CONFIG_H > -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd > -I./../include -I../intl -I./../intl -I./tui -DUSE_INCLUDED_REGEX > corelow.c > gcc -m64 -c -g -O2 -I. -I. -I./config -DHAVE_CONFIG_H > -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd > -I./../include -I../intl -I./../intl -I./tui -DUSE_INCLUDED_REGEX > core-sol2.c > core-sol2.c: In function `fetch_core_registers': > core-sol2.c:62: sizeof applied to an incomplete type > core-sol2.c:69: dereferencing pointer to incomplete type > core-sol2.c:71: dereferencing pointer to incomplete type > core-sol2.c:72: dereferencing pointer to incomplete type > core-sol2.c:73: dereferencing pointer to incomplete type > core-sol2.c:74: dereferencing pointer to incomplete type > *** Error code 1 > make: Fatal error: Command failed for target `core-sol2.o' > Current working directory /files0/retl/tools/share/gdb/gdb-5.0/gdb > *** Error code 1 > make: Fatal error: Command failed for target `all-gdb' > (/files0/retl/tools/share/gdb/gdb-5.0)$ uname -a > SunOS mspdev25 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-80 > (/files0/retl/tools/share/gdb/gdb-5.0)$ echo $CC > gcc -m64 > (/files0/retl/tools/share/gdb/gdb-5.0)$ file `which gcc` > /files0/retl/tools/gcc/bin/gcc: ELF 64-bit MSB executable SPARCV9 Version 1, > dynamically linked, not stripped > > Any idea why I am getting these errors? Is this a known problem when > compiling 64bit solaris? > Thanks! > --JC >