You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try not to use '-p:RemoveSections=true'. Maybe we should prevent it from being used on a Windows host.
The purpose of that parameter is to eliminate the _init and _fini lines from the exports file, the zed command looks for that pattern and replaces it with empty ones. dotnet/runtime#92272 (comment)
Publish with .Net 8 has some issues:
Windows 10 64bit.
try1:
dotnet publish -r linux-bionic-arm64 -p:DisableUnsupportedError=true -p:PublishAotUsingRuntimePack=true -p:AssemblyName=libhello-jni -p:RemoveSections=true
A change to .csproj row 49 - solves the error:
android_fake_clang.cmd
try2:
dotnet publish ...
error : Symbol stripping tool ('C/toolchains/llvm/prebuilt/windows-x86_64/bin/llvm-objcopy') not found in PATH.
A change to .csproj row 55 + adding the path to system env param path - solves the error:
llvm-objcopy
try3:
dotnet publish ...
error MSB3073: The command "sed -i -z 's/global: _init; _fini;/global: /g;' obj\Release\net8.0\linux-bionic-arm64
native\libhello-jni.exports" exited with code 9009.
The text was updated successfully, but these errors were encountered: