Loading... (original) (raw)

Windows 32 bit builds of the saproc native library are broken after

JDK-8210647

:

cl : Command line error D8016 : '/RTC1' and '/O1' command-line options are incompatible
> *** [Lib-jdk.hotspot.agent.gmk:54: /output-jdk11-fastdebug/support/modules_libs/jdk.hotspot.agent/saproc.dll] Error 1

The reason for this is that flag /RTC1 is added for 32 bit Windows build unconditionally, while it should only be added for slowdebug builds after

JDK-8210647

. RTC1 flag is being added here:
http://hg.openjdk.java.net/jdk/jdk/file/e25291a90cba/make/lib/Lib-jdk.hotspot.agent.gmk#l47

backported by

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8212231 Build of saproc.dll broken on Windows 32 bit after JDK-8210647

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8215116 Build of saproc.dll broken on Windows 32 bit after JDK-8210647

relates to

Bug - A problem which impairs or prevents the functions of the product. JDK-8210647 libsaproc is being compiled without optimization