Hi Yasumasa,

Your ideas are somewhat in line with what I've been thinking about debug 
symbols previously. I like the idea that you should specify what you would like 
to receive as result of the specification. 

However, as I recall, things were a bit more complicated than this when trying 
to cover all relevant cases. I'm on vacation this week and do not have access 
to my old collected thoughts and snippets on the debug information right now. 
I'll get back to you on Monday. 

However, a few things right now:
 * No logic in spec.gmk. That should be done in the m4 files. Ideally, spec.gmk 
is just a listing of variables and their contents. 
 * Maybe the name of the flag should reflect the fact that we're talking about 
native debug information, and not the java classes. Or maybe that's just 
understood..?

/Magnus

> 16 nov. 2015 kl. 09:38 skrev Yasumasa Suenaga <yasue...@gmail.com>:
> 
> Hi all,
> 
> I would like to propose JDK-8036003: Add 
> --with-debug-symbols=[none|internal|external|zipped] .
> 
> I had posted this enhancement which provides new make variable [1].
> But it does not fit current jdk 9. So I propose it again as new configure 
> option.
> 
> I'm sure that this enhancement helps Linux distros to package OpenJDK.
> For example, if you create RPM package of OpenJDK, you have to pass many make 
> variables [2].
> 
> Could you review it?
>  http://cr.openjdk.java.net/~ysuenaga/JDK-8036003/webrev.00/
> 
> 
> Thanks,
> 
> Yasumasa
> 
> 
> [1] http://mail.openjdk.java.net/pipermail/build-dev/2014-February/012019.html
> [2] 
> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2015-November/034036.html
> 

Reply via email to