This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: status of Darwin support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]