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

[runtime] Add dummy _stret symbols for iOS/ARM64 #66

Merged
merged 1 commit into from
May 18, 2016

Conversation

spouliot
Copy link
Contributor

The _stret API are not included in the ARM64 version of iOS (not
needed) but the removal of dlsym cause build failures*

So we're providing dummy symbols, just like what we did for tvOS,
to please the native linker (so nothing is undefined) and keep the
benefits of not using dlsym.

  • Xamarin.iOS.dll (or other bindings) when the linker is disabled.
    Normally the linker would remove the 32bits parts of the bindings
    on a 64bits slice (and that would not be noticed). However we can
    not assume this will be done for all binding projects, hence this
    workaround.

The `_stret` API are not included in the ARM64 version of iOS (not
needed) but the removal of `dlsym` cause build failures*

So we're providing dummy symbols, just like what we did for tvOS,
to please the native linker (so nothing is undefined) and keep the
benefits of not using dlsym.

* Xamarin.iOS.dll (or other bindings) when the linker is disabled.
Normally the linker would remove the 32bits parts of the bindings
on a 64bits slice (and that would not be noticed). However we can
not assume this will be done for all binding projects, hence this
workaround.
@xamarin-release-manager
Copy link
Collaborator

Build success

@spouliot spouliot merged commit 323c7f4 into dotnet:master May 18, 2016
@spouliot spouliot deleted the dlsym-stret branch May 20, 2016 19:25
rolfbjarne added a commit to rolfbjarne/xamarin-macios that referenced this pull request Apr 3, 2019
rolfbjarne added a commit to rolfbjarne/xamarin-macios that referenced this pull request Dec 20, 2019
Fixes these warnings:

    IPhoneSdks.cs(22,4): warning CS0618: 'AppleSdkSettings.Changed' is obsolete: 'This event is never raised' [/work/maccore/onedotnet/xamarin-macios/msbuild/Xamarin.iOS.Tasks.Core/Xamarin.iOS.Tasks.Core.csproj]
    IPhoneSdks.cs(31,4): warning CS0618: 'AppleSdkSettings.CheckChanged()' is obsolete: 'This method does nothing' [/work/maccore/onedotnet/xamarin-macios/msbuild/Xamarin.iOS.Tasks.Core/Xamarin.iOS.Tasks.Core.csproj]
    MacOSXSdks.cs(18,4): warning CS0618: 'AppleSdkSettings.Changed' is obsolete: 'This event is never raised' [/work/maccore/onedotnet/xamarin-macios/msbuild/Xamarin.Mac.Tasks.Core/Xamarin.Mac.Tasks.Core.csproj]
    MacOSXSdks.cs(25,4): warning CS0618: 'AppleSdkSettings.CheckChanged()' is obsolete: 'This method does nothing' [/work/maccore/onedotnet/xamarin-macios/msbuild/Xamarin.Mac.Tasks.Core/Xamarin.Mac.Tasks.Core.csproj]

Also bump Xamarin.MacDev to pick up updated Xamarin.MacDev:

* dotnet/macios-devtools@0f578f5 [tests] Upgrade to NUnit 3.12 and use package references. (dotnet#65)
* dotnet/macios-devtools@55a30e2 [tests] Adjust tests to not expect the provisioning profiles in the index in any particular order. (dotnet#63)
* dotnet/macios-devtools@dc270f6 Make methods that do nothing obsolete and fix a compiler warning. (dotnet#67)
* dotnet/macios-devtools@681aef6 Remove unused csproj. (dotnet#66)
* dotnet/macios-devtools@d78a92f Update gitignore (dotnet#55)

Diff: https://github.com/xamarin/Xamarin.MacDev/compare/ca221c8fd65a6f1d6e85d77018d4a7619a2c120d..0f578f51e63b6ff93014782dbc9378e6b6bc6d75
mandel-macaque pushed a commit that referenced this pull request Dec 23, 2019
…ng. (#7637)

Fixes these warnings:

    IPhoneSdks.cs(22,4): warning CS0618: 'AppleSdkSettings.Changed' is obsolete: 'This event is never raised' [/work/maccore/onedotnet/xamarin-macios/msbuild/Xamarin.iOS.Tasks.Core/Xamarin.iOS.Tasks.Core.csproj]
    IPhoneSdks.cs(31,4): warning CS0618: 'AppleSdkSettings.CheckChanged()' is obsolete: 'This method does nothing' [/work/maccore/onedotnet/xamarin-macios/msbuild/Xamarin.iOS.Tasks.Core/Xamarin.iOS.Tasks.Core.csproj]
    MacOSXSdks.cs(18,4): warning CS0618: 'AppleSdkSettings.Changed' is obsolete: 'This event is never raised' [/work/maccore/onedotnet/xamarin-macios/msbuild/Xamarin.Mac.Tasks.Core/Xamarin.Mac.Tasks.Core.csproj]
    MacOSXSdks.cs(25,4): warning CS0618: 'AppleSdkSettings.CheckChanged()' is obsolete: 'This method does nothing' [/work/maccore/onedotnet/xamarin-macios/msbuild/Xamarin.Mac.Tasks.Core/Xamarin.Mac.Tasks.Core.csproj]

Also bump Xamarin.MacDev to pick up updated Xamarin.MacDev:

* dotnet/macios-devtools@0f578f5 [tests] Upgrade to NUnit 3.12 and use package references. (#65)
* dotnet/macios-devtools@55a30e2 [tests] Adjust tests to not expect the provisioning profiles in the index in any particular order. (#63)
* dotnet/macios-devtools@dc270f6 Make methods that do nothing obsolete and fix a compiler warning. (#67)
* dotnet/macios-devtools@681aef6 Remove unused csproj. (#66)
* dotnet/macios-devtools@d78a92f Update gitignore (#55)

Diff: https://github.com/xamarin/Xamarin.MacDev/compare/ca221c8fd65a6f1d6e85d77018d4a7619a2c120d..0f578f51e63b6ff93014782dbc9378e6b6bc6d75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants