From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28393 invoked by alias); 22 Oct 2004 11:24:32 -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 28381 invoked from network); 22 Oct 2004 11:24:30 -0000 Received: from unknown (HELO mail1.thewrittenword.com) (67.95.107.114) by sourceware.org with SMTP; 22 Oct 2004 11:24:30 -0000 Received: by mail1.thewrittenword.com (Postfix, from userid 1000) id 67F4A23F; Fri, 22 Oct 2004 06:24:30 -0500 (CDT) Date: Fri, 22 Oct 2004 14:52:00 -0000 From: Albert Chin To: gdb@sources.redhat.com Subject: [6.2.1] internal-error: Invalid or unsupported encoding Message-ID: <20041022112430.GL48422@mail1.thewrittenword.com> Reply-To: gdb@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i X-SW-Source: 2004-10/txt/msg00399.txt.bz2 $ uname -a SunOS gax 5.8 Generic_108528-27 sun4u sparc SUNW,Sun-Fire-V250 $ g++ -v Reading specs from /opt/TWWfsw/gcc332/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/specs Configured with: /opt/build/gcc-3.3.2/configure --enable-nls --with-included-gettext --enable-shared --enable-libgcj --enable-threads --datadir=/opt/TWWfsw/gcc332/share --with-local-prefix=/opt/TWWfsw/gcc332 --prefix=/opt/TWWfsw/gcc332 Thread model: posix gcc version 3.3.2 (TWW) $ gdb --version GNU gdb 6.2.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.8". $ cat libmy.cc #include int func() { return printf("func\n"); } $ cat static.cc #include extern int func(); int main() { func(); } $ g++ -g -fPIC -c -o libmy.o libmy.cc $ ar cr libmy.a libmy.o $ ranlib libmy.a $ g++ -g static.cc -L. -lmy $ ./a.out func $ gdb a.out GNU gdb 6.2.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.8"... dwarf2-frame.c:1136: internal-error: Invalid or unsupported encoding A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) Is this PR1618? Making libmy a shared library works fine. -- albert chin (china@thewrittenword.com)