On Wed, 6 Dec 2023 11:46:03 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

>> Xiaohong Gong has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Add "--with-libsleef-lib" and "--with-libsleef-include" options
>
> make/modules/jdk.incubator.vector/Lib.gmk line 45:
> 
>> 43:   $(eval $(call SetupJdkLibrary, BUILD_LIBVMATH, \
>> 44:       NAME := vmath, \
>> 45:       CFLAGS := $(CFLAGS_JDKLIB) $(LIBSLEEF_CFLAGS) 
>> -fvisibility=default, \
> 
> Why `-fvisibility=default`? (Sorry, only noticed this now)

Yeah. Considering all the symbols in this lib are global and need to be 
exported, I added this flag here instead of the source code. I'v removed this 
in latest commit, and added the attribute visibility in source code like other 
jdk code. Please help to review again. Thanks a lot!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16234#discussion_r1418458207

Reply via email to