On 2018-03-28 01:03, David Holmes wrote:
Hi Magnus,
I appreciate what you are trying to do here but there are reasons this
kind of cleanup keeps getting deferred :) - it's not trivial and deals
with really old code that isn't always clear. You may have bitten off
more than you want to chew he
On 2018-03-27 18:24, Thomas Stüfe wrote:
Hi Magnus,
just a cursory look, will look in greater detail tomorrow.
This is good, thanks for doing this.
As I wrote offlist, please remove the painfully wrong AIX
"workarounds". I do not know why we did this - the original code is
quite old - my as
On 2018-03-28 01:52, Weijun Wang wrote:
On Mar 24, 2018, at 6:03 AM, Magnus Ihse Bursie
wrote:
https://bugs.openjdk.java.net/browse/JDK-8200193 -- for jdk.security.auth
There is only one function to export and it already has JNIEXPORT, so you can
just remove the new $(LIBJAAS_CFLAGS) [1].
With some further simplifications, the code for building libjsound is
very small. There is no longer any reason to have that in a separate
file. Instead it should be inlined into Lib-java.desktop.gmk.
This patch also includes code to stop building libjsig on AIX, as
requested by Thomas Stüfe.
This patch removes mapfiles for the JDK executables (launchers). There's
really no reason to have mapfiles in the first place for executables.
Since no-one is linking to them, what symbols they export is immaterial.
Bug: https://bugs.openjdk.java.net/browse/JDK-8200358
WebRev:
http://cr.openjd
I'm not sure about this.
IIRC the AIX linker is able to use executables as a build-time input.
Maybe our AIX maintainers have some expertise here.
I think the _dynamic_ linker will see symbols in the executable. Resolving
them is likely to be strictly more work at startup, and it is likely that
Thanks Magnus,
this fixes AIX (in the sense that it does not attempt anymore to build
libjsound).
Best Regards, Thomas
On Wed, Mar 28, 2018 at 12:46 PM, Magnus Ihse Bursie <
[email protected]> wrote:
> With some further simplifications, the code for building libjsound is very
> smal
Hi Erik,
Thanks for reviewing!
Best regards,
Robin
> On 26 Mar 2018, at 17:50, Erik Joelsson wrote:
>
> Looks good.
>
> /Erik
>
>
> On 2018-03-26 08:01, Robin Westberg wrote:
>> Hi all,
>>
>> Please review this small change that defines the NOMINMAX macro when
>> building HotSpot on Windo
Hi Magnus,
Thanks for the review!
Best regards,
Robin
> On 26 Mar 2018, at 23:24, Magnus Ihse Bursie
> wrote:
>
> On 2018-03-26 17:01, Robin Westberg wrote:
>> Hi all,
>>
>> Please review this small change that defines the NOMINMAX macro when
>> building HotSpot on Windows.
>>
>> Issue: ht
Hi David,
Thanks for reviewing! I’ll delay progressing this one a bit until 8199619 is
integrated.
Best regards,
Robin
> On 27 Mar 2018, at 02:57, David Holmes wrote:
>
> Looks good to me.
>
> Thanks,
> David
>
> On 27/03/2018 1:01 AM, Robin Westberg wrote:
>> Hi David,
>> Thanks for taking
Hi Kim,
> On 26 Mar 2018, at 18:34, Kim Barrett wrote:
>
>> On Mar 26, 2018, at 11:01 AM, Robin Westberg
>> wrote:
>>
>> Hi all,
>>
>> Please review this small change that defines the NOMINMAX macro when
>> building HotSpot on Windows.
>>
>> Issue: https://bugs.openjdk.java.net/browse/JDK-
On Wed, Mar 28, 2018 at 2:19 PM, Martin Buchholz
wrote:
> I'm not sure about this.
>
> IIRC the AIX linker is able to use executables as a build-time input.
> Maybe our AIX maintainers have some expertise here.
>
>
I am quite sure we do not do that in the VM. I'm running a test build with
your pa
Looks good to me.
/Erik
On 2018-03-28 03:46, Magnus Ihse Bursie wrote:
With some further simplifications, the code for building libjsound is
very small. There is no longer any reason to have that in a separate
file. Instead it should be inlined into Lib-java.desktop.gmk.
This patch also inc
I will sponsor the change.
/Erik
On 2018-03-28 06:43, Robin Westberg wrote:
Hi Kim,
On 26 Mar 2018, at 18:34, Kim Barrett wrote:
On Mar 26, 2018, at 11:01 AM, Robin Westberg wrote:
Hi all,
Please review this small change that defines the NOMINMAX macro when building
HotSpot on Windows
Oh, change also looks fine to me.
..Thomas
On Wed, Mar 28, 2018 at 3:19 PM, Thomas Stüfe
wrote:
> Thanks Magnus,
>
> this fixes AIX (in the sense that it does not attempt anymore to build
> libjsound).
>
> Best Regards, Thomas
>
> On Wed, Mar 28, 2018 at 12:46 PM, Magnus Ihse Bursie <
> magnus.
On 2018-03-28 14:19, Martin Buchholz wrote:
I'm not sure about this.
IIRC the AIX linker is able to use executables as a build-time input.
Maybe our AIX maintainers have some expertise here.
As you heard from Thomas, this does not seem to be a problem.
I think the _dynamic_ linker will see
Hi Magnus,
I had a closer look at the changes, especially at jsig.c. It all comes
slowly back. The AIX version has been almost comically wrong.
About NSIG, I remember that we had coding in our port which needed to know
the max number of signals, and this was surprisingly hard since on some
platfo
Looks good from a build perspective.
/Erik
On 2018-03-28 04:08, Magnus Ihse Bursie wrote:
This patch removes mapfiles for the JDK executables (launchers).
There's really no reason to have mapfiles in the first place for
executables. Since no-one is linking to them, what symbols they export
i
Build changes still look good to me.
/Erik
On 2018-03-28 03:31, Magnus Ihse Bursie wrote:
On 2018-03-28 01:52, Weijun Wang wrote:
On Mar 24, 2018, at 6:03 AM, Magnus Ihse Bursie
wrote:
https://bugs.openjdk.java.net/browse/JDK-8200193 -- for
jdk.security.auth
There is only one function t
On Wed, Mar 28, 2018 at 12:07 PM, Magnus Ihse Bursie <
[email protected]> wrote:
>
> Anyway, with this patch all symbols in executables will be visible, so
> there should be no problem anyway.
>
The symbols visible in the main executable are a sort-of-public interface.
The difference
http://cr.openjdk.java.net/~kvn/8200383/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8200383
Changes for JDK-8200303 added calls to log2f() math function and it hit
problem building Hotspot on SPARC - it can't find this function.
For Hotspot build on Solaris we had hack to support old S
Looks good.
/Erik
On 2018-03-28 14:01, Vladimir Kozlov wrote:
http://cr.openjdk.java.net/~kvn/8200383/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8200383
Changes for JDK-8200303 added calls to log2f() math function and it
hit problem building Hotspot on SPARC - it can't find this fun
Thank you, Erik
Vladimir
On 3/28/18 2:10 PM, Erik Joelsson wrote:
Looks good.
/Erik
On 2018-03-28 14:01, Vladimir Kozlov wrote:
http://cr.openjdk.java.net/~kvn/8200383/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8200383
Changes for JDK-8200303 added calls to log2f() math function a
On 2018-03-28 22:39, Martin Buchholz wrote:
On Wed, Mar 28, 2018 at 12:07 PM, Magnus Ihse Bursie
mailto:[email protected]>>
wrote:
Anyway, with this patch all symbols in executables will be
visible, so there should be no problem anyway.
The symbols visible in the main
On 2018-03-28 23:01, Vladimir Kozlov wrote:
http://cr.openjdk.java.net/~kvn/8200383/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8200383
Changes for JDK-8200303 added calls to log2f() math function and it
hit problem building Hotspot on SPARC - it can't find this function.
For Hotspot
I can't find any documentation for what JNIEXPORT and friends actually do.
People including myself have been cargo-culting JNIEXPORT and JNICALL for
decades.
Why aren't they in the JNI spec?
---
It's fishy that the attribute externally_visible (which seems very
interesting!) is ARM specific.
#
On 2018-03-28 23:53, Martin Buchholz wrote:
I can't find any documentation for what JNIEXPORT and friends actually do.
People including myself have been cargo-culting JNIEXPORT and JNICALL
for decades.
Why aren't they in the JNI spec?
That surprises me. I'm quite certain that javah (or rather,
Hi David,
Thank you for reviewing the change. Please see my comments inline.
On 03/27/2018 07:23 PM, David Holmes wrote:
Hi Misha,
For the benefit of the broader community these are very old tests
related to the use of ligjsig, that were recently converted to be
jtreg tests in preparation
On 2018-03-29 00:15, mikhailo wrote:
Hi David,
Thank you for reviewing the change. Please see my comments inline.
On 03/27/2018 07:23 PM, David Holmes wrote:
Hi Misha,
For the benefit of the broader community these are very old tests
related to the use of ligjsig, that were recently con
On 2018-03-28 21:21, Thomas Stüfe wrote:
Hi Magnus,
I had a closer look at the changes, especially at jsig.c. It all comes
slowly back. The AIX version has been almost comically wrong.
About NSIG, I remember that we had coding in our port which needed to
know the max number of signals, and t
On 3/28/18 2:51 PM, Magnus Ihse Bursie wrote:
On 2018-03-28 23:01, Vladimir Kozlov wrote:
http://cr.openjdk.java.net/~kvn/8200383/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8200383
Changes for JDK-8200303 added calls to log2f() math function and it
hit problem building Hotspot on SPAR
On 2018-03-28 15:35, Vladimir Kozlov wrote:
Based on history it was done for 6307603 in 2010 and reason is the same:
http://hg.openjdk.java.net/jdk/hs/rev/1a5e995a710b
Is next fix correct?:
make/lib/Awt2dLibraries.gmk
@@ -409,8 +409,8 @@
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SE
On 2018-03-29 00:48, Erik Joelsson wrote:
On 2018-03-28 15:35, Vladimir Kozlov wrote:
Based on history it was done for 6307603 in 2010 and reason is the same:
http://hg.openjdk.java.net/jdk/hs/rev/1a5e995a710b
Is next fix correct?:
make/lib/Awt2dLibraries.gmk
@@ -409,8 +409,8 @@
LDFLAG
Thank you.
I will use second version and do testing again before push.
Vladimir
On 3/28/18 3:50 PM, Magnus Ihse Bursie wrote:
On 2018-03-29 00:48, Erik Joelsson wrote:
On 2018-03-28 15:35, Vladimir Kozlov wrote:
Based on history it was done for 6307603 in 2010 and reason is the same:
http
Hi. I wanted to build OpenJDK in windows using cygwin, and I set VC
compiler path, but due to whitespaces in the path I can't build, with the
following error:
```
configure: Rewriting CC to "/cygdrive/c/progra~2/microsoft visual
studio/2017/community/vc/tools/msvc/14.13.26128/bin/hostx86/x64/cl"
ch
Adding the template parameter to TraceEvent makes xlc happy too.
http://cr.openjdk.java.net/~mbaesken/webrevs/8200246/
Are you fine with this change ?
Observe that this is not a review. I have tested that your fix should
compile on linux, solaris, windows and mac.
Thanks,
Leo
Bes
On Wed, Mar 28, 2018 at 2:48 PM, Magnus Ihse Bursie <
[email protected]> wrote:
> On 2018-03-28 22:39, Martin Buchholz wrote:
>
>
>
> On Wed, Mar 28, 2018 at 12:07 PM, Magnus Ihse Bursie <
> [email protected]> wrote:
>
>>
>> Anyway, with this patch all symbols in executable
>From https://gcc.gnu.org/wiki/Visibility
Why is the new C++ visibility support so useful?
Put simply, it hides most of the ELF symbols which would have previously
(and unnecessarily) been public. This means:
-
*It very substantially improves load times of your DSO (Dynamic Shared
Obje
On Wed, Mar 28, 2018 at 3:14 PM, Magnus Ihse Bursie <
[email protected]> wrote:
> On 2018-03-28 23:53, Martin Buchholz wrote:
>
> I can't find any documentation for what JNIEXPORT and friends actually do.
> People including myself have been cargo-culting JNIEXPORT and JNICALL for
> dec
On Thu, Mar 29, 2018 at 12:37 AM, Magnus Ihse Bursie <
[email protected]> wrote:
> On 2018-03-28 21:21, Thomas Stüfe wrote:
>
> Hi Magnus,
>
> I had a closer look at the changes, especially at jsig.c. It all comes
> slowly back. The AIX version has been almost comically wrong.
>
> Abou
On 28/03/2018 22:48, Magnus Ihse Bursie wrote:
2) The exported symbols from executables are a public API and the
change therefore require a CSR.
I don't think there are any supported/documented interfaces here. It
would be nice if the launchers were linked without any exported symbols,
that
41 matches
Mail list logo