RFR: JDK-8238388: libj2gss/NativeFunc.o "multiple definition" link errors with GCC10

Patrick Zhang OS patrick at os.amperecomputing.com
Wed Feb 5 12:53:01 UTC 2020


Hi,

Please help review this quick patch in order to resolve the libj2gss link errors caused by GCC10 default option -fno-common. More details, please see JDK-8238388 and its related JDK-8235903 [1].

Weijun, I saw your comments in the ticket, thanks. It is exactly the same way I am updating the code. In addition, could you please sponsor this patch (once approved)? Thanks.


JBS: https://bugs.openjdk.java.net/browse/JDK-8238388

Webrev: http://cr.openjdk.java.net/~qpzhang/8238388/webrev.01/

Test: ran jtreg tier1, jdk built with GCC4.8.5, GCC9, and GCC10, no regression found

[1] https://bugs.openjdk.java.net/browse/JDK-8235903 GCC default -fno-common exposes "multiple definition" link errors

Regards
Patrick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20200205/9e56c02f/attachment.htm>


More information about the security-dev mailing list