Integrated: OSX build fails with Xcode 12 due to missing parantheses around sizeo…

kabutz github.com+332398+kabutz at openjdk.java.net
Wed Oct 14 16:22:18 UTC 2020


On Wed, 14 Oct 2020 09:51:36 GMT, kabutz <github.com+332398+kabutz at openjdk.org> wrote:

> …f(relocInfo)
> For some reason, OS X 10.15.7 Catalina with Xcode 12 fails to compile the sharedRuntime.cpp without these extra
> parentheses. The tests pass on Linux and OS X with this small change.
> Output from the compiler:
> * For target hotspot_variant-server_libjvm_objs_sharedRuntime.o:
> 
>       buffer.stubs()->initialize_shared_locs((relocInfo*)stubs_locs_buf, sizeof(stubs_locs_buf) / sizeof(relocInfo));
>                                                                                 ~~~~~~~~~~~~~~  ^
> 
>       double stubs_locs_buf[20];
>              ^
> 
>       buffer.stubs()->initialize_shared_locs((relocInfo*)stubs_locs_buf, sizeof(stubs_locs_buf) / sizeof(relocInfo));
>                                                                                                 ^
> 1 error generated.

This pull request has now been integrated.

Changeset: 11abe7e8
Author:    Dr Heinz M. Kabutz <heinz at javaspecialists.eu>
Committer: Alan Bateman <alanb at openjdk.org>
URL:       https://git.openjdk.java.net/loom/commit/11abe7e8
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

OSX build fails with Xcode 12 due to missing parantheses around sizeo…

-------------

PR: https://git.openjdk.java.net/loom/pull/20


More information about the loom-dev mailing list