-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] Build failure: no previous prototype for function 'register_aot_modules' #89566
Comments
Tagging subscribers to this area: @directhex Issue DetailsBuild InformationBuild: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=353048 Error Message
Fill the error message using step by step known issues guidance. {
"ErrorMessage": "no previous prototype for function 'register_aot_modules'",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
|
@fanyang-mono I already looked at this in the morning before seeing this issue so assigned myself, here's the PR: #89922 |
See dotnet#89921 for the test failures. Additionally, the Android build was failing while compiling an AOT test due to this error: ``` /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot.Test/Release/net8.0/android-x64/AppBundle/modules.c:51:6: error: no previous prototype for function 'register_aot_modules' [-Werror,-Wmissing-prototypes] void register_aot_modules () ^ ``` This is because we turned on `-Werror=missing-prototypes` in dotnet#89197 but the MonoAOTCompiler didn't emit a function prototype in modules.c Fixes dotnet#89566
…ler (#89922) See #89921 for the test failures. Additionally, the Android build was failing while compiling an AOT test due to this error: ``` /__w/1/s/artifacts/bin/Android.Device_Emulator.Aot.Test/Release/net8.0/android-x64/AppBundle/modules.c:51:6: error: no previous prototype for function 'register_aot_modules' [-Werror,-Wmissing-prototypes] void register_aot_modules () ^ ``` This is because we turned on `-Werror=missing-prototypes` in #89197 but the MonoAOTCompiler didn't emit a function prototype in modules.c Fixes #89566
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=353048
Build error leg or test failing:
Pull request: #89467
Error Message
Fill the error message using step by step known issues guidance.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=353048
Error message validated:
no previous prototype for function 'register_aot_modules'
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/27/2023 2:25:57 PM UTC
Report
Summary
The text was updated successfully, but these errors were encountered: