This is the mail archive of the
mailing list for the GDB project.
Re: status of Darwin support
Tristan Gingold wrote:
>> (gdb) r
>> Starting program: /Users/twisti/bsd-port/hotspot/build/bsd/
>> dyld: Library not loaded: libjvm.dylib
>> Referenced from: /Users/twisti/bsd-port/hotspot/build/bsd/
>> 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
> 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:
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.