Without the five soon to be attached patches, Clang 10 throws a lot of error messages.
Created attachment 212572 [details]
Patch for src/hotspot/share/runtime/arguments.cpp
Patch 1 of 5. Turned pointer comparison into regular C-style string comparison.
Created attachment 212573 [details]
Patch for src/hotspot/share/c1/c1_LIR.cpp
Patch 2 of 5. Weird indentation makes Clang 10 highly suspicious. Solved by adding curly braces.
Created attachment 212574 [details]
Patch for src/hotspot/share/runtime/sharedRuntime.cpp
Patch 3 of 5. Clang 10 wants the extra parenthesis.
Created attachment 212575 [details]
Patch for src/hotspot/share/gc/shenandoah/c1/shenandoahBarrierSetC1.hpp
Patch 4 of 5. Weird indentation makes Clang 10 highly suspicious. Solved by adding curly braces.
Created attachment 212576 [details]
Patch for src/java.base/share/native/libfdlibm/e_asin.c
Patch 5 of 5. Added curly braces to the else branch.
@Trond Can you produce a single patch against the port, fixing the errors you've identified using `make makepatch`  please: