Reqest for Review: Fix bug in FDS on Solaris

Kelly O'Hair kelly.ohair at oracle.com
Tue Jun 5 01:19:25 UTC 2012


On Jun 4, 2012, at 5:44 PM, David Holmes wrote:

> Hi Magnus,
> 
> On 5/06/2012 1:00 AM, Magnus Ihse Bursie wrote:
>> As previously discussed here, there is a bug basically disabling FDS on
>> Solaris.
>> 
>> Here is a webrev for a patch from Jonas Oreland
>> (jonas.oreland at oracle.com; he's not on this list though).
>> 
>> http://cr.openjdk.java.net/~ihse/fds-solaris-bugfix/webrev.00/
>> 
>> Jonas has done some reasonable amount of testing, looking at command
>> lines and making sure they seem alright, and checking that debug
>> information is added to output.
> 
> This stuff gives me a headache. The changes themselves seem to be okay. Though in working through this I am left perplexed as, as far as I can see, the variables CFLAGS_DBG and CXXFLAGS_DBG never end up getting used anywhere ???

They are, somehow via a $(CFLAGS_$(VARIANT))/BYFILE   it's complicated, overly complicated. :^(

> 
> I also can't convince myself if things are correct if TCOV_BUILD is defined (whatever that is!) because it disable -g but then FDS will set -xs. That said maybe those debug flags never get used anyway.

TCOV_BUILD only applied to debug builds as I recall.  It was like a debug build (no opt) but with no debug symbols either.

-kto

> 
> David
> -----
> 
>> I have reviewed it myself and find it OK.
>> 
>> Kelly: if this get's OK in the reviews (for my part I'm satisfied if
>> Daniel says OK), can you push it into the build forest?
>> 
>> /Magnus




More information about the build-dev mailing list