From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3253 invoked by alias); 10 Aug 2009 10:47:36 -0000 Received: (qmail 3245 invoked by uid 22791); 10 Aug 2009 10:47:35 -0000 X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=BAYES_05,J_CHICKENPOX_65,RCVD_IN_SORBS_WEB X-Spam-Check-By: sourceware.org Received: from gmp-eb-inf-2.sun.com (HELO gmp-eb-inf-2.sun.com) (192.18.6.24) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 10 Aug 2009 10:47:28 +0000 Received: from fe-emea-09.sun.com (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged)) by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7AAlGnH021822 for ; Mon, 10 Aug 2009 10:47:25 GMT MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) id <0KO500H00PWAY800@fe-emea-09.sun.com> for gdb@sourceware.org; Mon, 10 Aug 2009 11:47:16 +0100 (BST) Received: from [10.0.0.3] ([unknown] [88.117.81.4]) by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) with ESMTPSA id <0KO50021HPYRVHC0@fe-emea-09.sun.com>; Mon, 10 Aug 2009 11:47:16 +0100 (BST) Date: Mon, 10 Aug 2009 10:47:00 -0000 From: Christian Thalinger Subject: Re: status of Darwin support In-reply-to: To: Tristan Gingold Cc: Joel Brobecker , Thiago Jung Bauermann , gdb@sourceware.org, tromey@redhat.com Message-id: <4A7FFAB3.7080903@Sun.COM> References: <4A5F8D9E.1060307@Sun.COM> <200908041804.30240.thiago.bauermann@gmail.com> <20090805044504.GJ4370@adacore.com> <4A7ABAF0.7010004@Sun.COM> User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) X-IsSubscribed: yes 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: 2009-08/txt/msg00056.txt.bz2 Tristan Gingold wrote: >> (gdb) r >> Starting program: /Users/twisti/bsd-port/hotspot/build/bsd/ >> bsd_i486_compiler2/jvmg/gamma >> dyld: Library not loaded: libjvm.dylib >> Referenced from: /Users/twisti/bsd-port/hotspot/build/bsd/ >> bsd_i486_compiler2/jvmg/gamma >> Reason: image not found >> >> Even if the path to the library is in DYLD_LIBRARY_PATH. > > Unknown issue. Can you try to investigate by yourself (ie, check that > your program can see DYLD_LIBRARY_PATH and is not setuid/setgid) ? I can say for sure it's not setuid/setgid. I will have a look at the other issue. > > You may also post a tiny reproducer and I will look at this when I > have spare time. I try to come up with one. > I have just committed a patch that may fix this issue. I gave it a try and I get: (gdb) r Starting program: /Users/twisti/bsd-port/hotspot/build/bsd/bsd_i486_compiler2/jvmg/gamma objfiles.c:792: internal-error: qsort_cmp: Assertion `obj_section_endaddr (sect1) <= sect2_addr' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. > > Do not hesitate to report issues also gdb for Darwin is not yet > feature full. I will. -- Christian