Mac problem(?), new build, --with-debug-level=slowdebug
Staffan Larsen
staffan.larsen at oracle.com
Thu Jan 10 08:56:09 UTC 2013
See: http://bugs.sun.com/view_bug.do?bug_id=8004490
Patch: http://hg.openjdk.java.net/jdk8/build/rev/2d9bb72b4e34
/Staffan
On 10 jan 2013, at 09:31, Fredrik Öhrström <oehrstroem at gmail.com> wrote:
> Could you post the hotspot-spec.gmk file?
>
> 2013/1/9 David Chase <david.r.chase at oracle.com>:
>> Summary: I wanted to debug, I configured thoroughly with slowdebug, but was not able to debug the result.
>>
>> More detailed:
>>
>> I configured jdk8tl in common/makefiles,
>>
>> sh ../autoconf/configure --with-debug-level=slowdebug
>>
>> cleaned, and then built:
>>
>> make CONF=macosx-x86_64-normal-server-slowdebug images
>>
>> Then export JAVA_HOME=/Users/dr2chase/work/jdk8tl/build/macosx-x86_64-normal-server-slowdebug/images/j2sdk-image
>>
>> Then in hotspot-comp, I also configure for slowdebug, and
>>
>> make CONF=macosx-x86_64-normal-server-slowdebug all
>>
>> I then attempt to debug gamma:
>>
>> cd /Users/dr2chase/work/hotspot-comp/build/macosx-x86_64-normal-server-slowdebug/hotspot/bsd_amd64_compiler2/product
>> DYLD_LIBRARY_PATH=. ./gamma -version
>> Using java runtime at: /Users/dr2chase/work/jdk8tl/build/macosx-x86_64-normal-server-slowdebug/images/j2sdk-image/jre
>> openjdk version "1.8.0-internal-debug"
>> OpenJDK Runtime Environment (build 1.8.0-internal-debug-dr2chase_2013_01_09_11_52-b00)
>> OpenJDK 64-Bit Server VM (build 25.0-b15, mixed mode)
>> DYLD_LIBRARY_PATH=. gdb ./gamma
>> ...
>>
>> And I seem to get no symbols. Line numbers don't match code, I can't print variables, etc.
>> Other people (Vladimir Kozlov) using old build DO get symbols, and CAN print variables.
>> We're running the same version of the OS, and the same version of gdb.
>>
>> I cannot tell if this is pilot error or a bug. Are there any suggestions for missteps I might have made?
>>
>> If necessary, I can distill this down to about a dozen commands to reproduce, though it takes time to run them.
>>
>> David
>>
More information about the build-dev
mailing list