Skip to content
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

Linker fails on function pointers in System.Private.CoreLib #43824

Closed
jeromelaban opened this issue Oct 26, 2020 · 3 comments
Closed

Linker fails on function pointers in System.Private.CoreLib #43824

jeromelaban opened this issue Oct 26, 2020 · 3 comments
Labels
untriaged New issue has not been triaged by the area owner

Comments

@jeromelaban
Copy link
Contributor

Description

When linking the latest master's System.Private.CoreLib.dll, the following error happens:

Mono.Linker.MarkException: Error processing method: 'System.Boolean Interop/Globalization::EnumCalendarInfo(method System.Void *(System.Char*,System.IntPtr),System.String,System.Globalization.CalendarId,System.Globalization.CalendarDataType,System.IntPtr)' in assembly: 'System.Private.CoreLib.dll' ---> System.NullReferenceException: Object reference not set to an instance of an object
at Mono.Linker.Steps.MarkStep.ProcessInteropMethod (Mono.Cecil.MethodDefinition method) [0x0007e] in <c337541799f547028f11675864404f19>:0
at Mono.Linker.Steps.MarkStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x0019a] in <c337541799f547028f11675864404f19>:0
at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x0001b] in <c337541799f547028f11675864404f19>:0

Other information

Using 0e402bc.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Oct 26, 2020
@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@jkotas
Copy link
Member

jkotas commented Oct 26, 2020

Duplicate of #41866. Fixed in latest linker.

@jkotas jkotas closed this as completed Oct 26, 2020
@jeromelaban
Copy link
Contributor Author

Thanks Jan!

@ghost ghost locked as resolved and limited conversation to collaborators Dec 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

3 participants