New hotspot build only builds "PRODUCT"

Volker Simonis volker.simonis at gmail.com
Tue May 5 16:12:28 UTC 2015


On Tue, May 5, 2015 at 3:31 PM, Magnus Ihse Bursie
<magnus.ihse.bursie at oracle.com> wrote:
> On 2015-05-05 15:20, Volker Simonis wrote:
>>
>> Hi,
>>
>> I've just realized that the new hotspot build completely ignores the
>> --with-debug-level configure settings and alwys build a release VM no
>> matter how --with-debug-level was set.
>>
>> Is this a known limitiation?
>> Do you currently concentrate on the realse build only?
>
>
> Yes and yes.
>
> Our current strategy is to get "equal builds" for products builds on "all"
> platforms first, whatever hacks it might require. :) After that, we'll look
> at cleaning up the code, and adding support for additional build features
> like debug level.
>

OK, I see so I won't mess with debug builds then:)

But another question: I just compared the dependencies compiler flags
of the old and the new build and realized that for the old build we
use '-MMD -MP -MF -fpch-deps' but in the new build we only use '-MMD
-MF' (except for x86 which is the only platform in the new build where
we still use -fpch-deps). Is this intentional as well?

I think the omission of -MP may be related to "8072106: Properly
handle dependencies for deleted header files" which created the
corresponding targets manually. But what about '-fpch-deps', shouldn't
we always use it?

> /Magnus


More information about the build-infra-dev mailing list