From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28023 invoked by alias); 22 Oct 2007 03:23:34 -0000 Received: (qmail 28014 invoked by uid 22791); 22 Oct 2007 03:23:33 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 22 Oct 2007 03:23:31 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 7F64C2A986B; Sun, 21 Oct 2007 23:21:37 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Kl9DyqgtxTF4; Sun, 21 Oct 2007 23:21:37 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 2EED62A9D04; Sun, 21 Oct 2007 23:21:37 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id EBE92E7AC8; Sun, 21 Oct 2007 20:21:34 -0700 (PDT) Date: Mon, 22 Oct 2007 03:31:00 -0000 From: Joel Brobecker To: Ulrich Weigand Cc: gdb-patches@sourceware.org Subject: Re: [0/8] solib handler rework Message-ID: <20071022032134.GA764@adacore.com> References: <200710192131.l9JLVYuv002496@d12av02.megacenter.de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710192131.l9JLVYuv002496@d12av02.megacenter.de.ibm.com> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-10/txt/msg00483.txt.bz2 Hello Ulrich, > Tests on other affected platforms would be welcome: alpha-linux, > arm-wince, arm-linux, i386-gnu, i386-cygwin, i386-nto, m32r-linux, > hppa-hpux (32-bit and 64-bit), mips-irix, and frv. I tested on hppa-hpux (32-bit only, I don't have a 64-bit compiler), and on mips-irix. The good news is that testing on mips-irix showed no change. The other good news is that I saw no regression on hppa-hpux as well. But there was a glitch: solib-pa64.c builds fine, but then I have unresolved symbol issues: /usr/ccs/bin/ld: Unsatisfied symbols: dlgetmodinfo (first referenced in libgdb.a(solib-pa64.o)) (code) dlgetname (first referenced in libgdb.a(solib-pa64.o)) (code) This wasn't happening before simply because this entire file was ifdef'ed out when building 32-bit GDB. Why was it included in the first place if it was going to be ifdef'ed out? Looking at the HP documentation, it looks like this symbol should be provided by -ldl (see http://docs.hp.com/en/B9106-90010/dlgetname.3C.html) but in fact, neither on HPUX 11.00 and 11.11 seems to provide libdl. On the other hand, I found these symbols inside libxpdl.sl. So it looks like we just need to add -lxpdl. I did this manually and that allowed me to complete the testing of your patch on hpux. I really wonder if this was actually building on hppa64 before... Looking at all the makefile fragments, I don't see how. I'm trying to find a 64bit GCC somewhere to give it a try. -- Joel