From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15189 invoked by alias); 7 Jul 2008 13:12:06 -0000 Received: (qmail 15172 invoked by uid 22791); 7 Jul 2008 13:12:05 -0000 X-Spam-Check-By: sourceware.org Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.31) with SMTP; Mon, 07 Jul 2008 13:11:47 +0000 Received: (qmail invoked by alias); 07 Jul 2008 13:11:44 -0000 Received: from unknown (EHLO [10.47.138.33]) [88.218.166.211] by mail.gmx.net (mp011) with SMTP; 07 Jul 2008 15:11:44 +0200 X-Authenticated: #4463548 Subject: Trouble with gdb 6.8 on Irix From: Dimitrios Apostolou To: gdb@sourceware.org Content-Type: text/plain Date: Mon, 07 Jul 2008 13:12:00 -0000 Message-Id: <1215436260.2515.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 (2.22.2-2.fc9) Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.52 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00039.txt.bz2 Hello, I am getting the following error while building gdb 6.8 on Irix. It was easy to surpass by compiling without -Werror, but I'm reporting it to get it fixed in the next version. gmake[2]: Entering directory `/tmp/gdb-6.8/gdb' gcc -c -g -O2 -I. -I.././gdb -I.././gdb/config -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber -I.././gdb/../libdecnumber -DMI_OUT=1 -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-unused -Wno-switch -Wno-char-subscripts -Werror remote.c remote.c: In function `extended_remote_attach_1': remote.c:2859: warning: unsigned int format, pid_t arg (arg 3) gmake[2]: *** [remote.o] Error 1 gmake[2]: Leaving directory `/tmp/gdb-6.8/gdb' But on my system the following is true for pid_t: typedef long pid_t; I should also note that gdb 6.8 doesn't work as it should on my platform. I am trying to debug firefox, but gdb just hangs while loading the binary. Top shows 100% CPU usage for firefox, 0% for gdb, and it stays like that for long. I had better results with gdb 6.3, where gdb managed to work but was unable to provide a proper backtrace when the crash happened. Another error I'm getting, this time when loading a core file, is the following: This GDB was configured as "mips-sgi-irix6.5"... BFD: /tmp/firefox-3.0rc1/obj-mips-sgi-irix6.5/dist/bin/components/libgklayout.so: don't know how to handle processor specific section `.events.stubs' [0x70000021] BFD: /tmp/firefox-3.0rc1/obj-mips-sgi-irix6.5/dist/bin/components/libgklayout.so: don't know how to handle processor specific section `.events.stubs' [0x70000021] Error while mapping shared library sections: "/tmp/firefox-3.0rc1/obj-mips-sgi-irix6.5/dist/bin/components/libgklayout.so": not in executable format: File format not recognized. Finally a minor issue is that gdb needs gmake to compile. It's not a bug, but I thought that since autotools are being used, the Makefiles would be portable to all makes. However the native make of Irix aborts with a syntax error. Please tell me if you care on this, so that I'll send you more details. Thanks, Dimitris