Windows pdb files lack correct dependencies (was: Re: code review round 0 for Full Debug Symbols on MacOS X hotspot (7165611))

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri Oct 4 13:17:21 UTC 2013


On 2013-09-30 18:38, Vadim Pakhnushev wrote:
> On 30.09.2013 20:14, Daniel D. Daugherty wrote:
>> My point is that make should rerun whatever rule is necessary to
>> generate those targets because they are on the target list.
>>
>> Now you have me curious. In your case, is this a clean build or an
>> incremental build?
>
> This happens in clean build as well as incremental.
> What I think is happening is that windows targets list doesn't include 
> .map and .pdb files.
> Now, if I delete .pdb files from build/.../jdk/bin folder, they are 
> somehow copied from the build/jdk/objs/... folder.
> But they are not rebuilded if deleted from objs folder, exactly 
> because there are no targets for them.
> So my fix is just a simple workaround, although the same problems can 
> be seen with zipped dbg files as well.
> That is, if you delete debug files from the objs folder, the build 
> will fail.

Hi Vadim,

There seems to be a dependency issue on Windows where .map and .pdb 
files do not have correct dependencies. I discovered this independently 
just the other day.

I have created https://bugs.openjdk.java.net/browse/JDK-8025936 to track 
this. The fix is fortunately trivial.

/Magnus



More information about the build-dev mailing list