Closed AliveDevil closed 1 year ago
On msbuild /m:2 /bl IKVM.sln:
msbuild /m:2 /bl IKVM.sln
"E:\ikvm-jdk8u152\IKVM.sln" (default target) (1) -> "E:\ikvm-jdk8u152\src\IKVM.Runtime\IKVM.Runtime.csproj" (default target) (27) -> "E:\ikvm-jdk8u152\src\IKVM.Runtime\IKVM.Runtime.csproj" (Build target) (27:2) -> (GenerateJNITrampolines target) -> E:\ikvm-jdk8u152\src\IKVM.Runtime\IKVM.Runtime.csproj(302,9): error MSB4018: The "GenerateJNITrampolinesFunctionTable" task failed unexpectedly. [TargetFramework=net461] E:\ikvm-jdk8u152\src\IKVM.Runtime\IKVM.Runtime.csproj(302,9): error MSB4018: System.IO.IOException: The process cannot access the file 'E:\ikvm-jdk8u152\src\IKVM.Runtime\obj\Debug\net461\jni-trampolines\win7-x64.s' because it is being used by another process. [TargetFramework=net461] E:\ikvm-jdk8u152\src\IKVM.Runtime\IKVM.Runtime.csproj(302,9): error MSB4018: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [TargetFramework=net461] E:\ikvm-jdk8u152\src\IKVM.Runtime\IKVM.Runtime.csproj(302,9): error MSB4018: at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) [TargetFramework=net461] E:\ikvm-jdk8u152\src\IKVM.Runtime\IKVM.Runtime.csproj(302,9): error MSB4018: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) [TargetFramework=net461] E:\ikvm-jdk8u152\src\IKVM.Runtime\IKVM.Runtime.csproj(302,9): error MSB4018: at System.IO.File.OpenRead(String path) [TargetFramework=net461] E:\ikvm-jdk8u152\src\IKVM.Runtime\IKVM.Runtime.csproj(302,9): error MSB4018: at GenerateJNITrampolinesFunctionTable.Execute() [TargetFramework=net461] E:\ikvm-jdk8u152\src\IKVM.Runtime\IKVM.Runtime.csproj(302,9): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [TargetFramework=net461] E:\ikvm-jdk8u152\src\IKVM.Runtime\IKVM.Runtime.csproj(302,9): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() [TargetFramework=net461]
This didn't happen to be open in VS or something at the same time, did it?
No, just two /m:2 on a quad core CPU.
/m:2
No more trampolines now. Moved to libjvm.
On
msbuild /m:2 /bl IKVM.sln
: