Opened 6 months ago
Closed 5 months ago
#70075 closed defect (fixed)
dotnet-cli @8.0.4: dyld: Symbol not found: ____chkstk_darwin
Reported by: | diogob003 (Diogo) | Owned by: | tsabirgaliev (Tair Sabirgaliev) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | judaew (Vadym-Valdis Yudaiev) | |
Port: | dotnet-cli dotnet-sdk-6 |
Description
I installed dotnet-sdk-6
and command dotnet
from dotnet-cli
does not work properly
MacOS: 10.13.6
MacPorts: 2.9.3
→ dotnet dyld: Symbol not found: ____chkstk_darwin Referenced from: /opt/local/bin/dotnet (which was built for Mac OS X 10.15) Expected in: /usr/lib/libSystem.B.dylib in /opt/local/bin/dotnet [1] 6539 abort dotnet
The dotnet-cli
match dotnet-sdk-8
MACOSX_DEPLOYMENT_TARGET, but not dotnet-sdk-6
min macos version that should still work on 10.13.
dotnet-cli
should be split to match dotnet-sdk-6
and dotnet-sdk-8
build target.
The binaries from https://dotnet.microsoft.com/download/dotnet/thank-you/sdk-6.0.422-macos-x64-binaries work properly without dylib problems.
Change History (5)
comment:1 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | judaew added |
---|---|
Owner: | set to tsabirgaliev |
Status: | new → assigned |
Summary: | dotnet-cli 8.0.4 : build for newer macos → dotnet-cli @8.0.4: dyld: Symbol not found: ____chkstk_darwin |
comment:2 Changed 5 months ago by tsabirgaliev (Tair Sabirgaliev)
comment:3 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Then that should be indicated in the Portfile:
-
dotnet/dotnet-cli/Portfile
diff --git a/dotnet/dotnet-cli/Portfile b/dotnet/dotnet-cli/Portfile index d04ca0cebe2..7ea247f07cd 100644
a b name dotnet-cli 27 27 version 8.0.6 28 28 revision 0 29 29 categories dotnet 30 platforms {darwin >= 19} 30 31 license MIT 31 32 maintainers {@tsabirgaliev gmail.com:tair.sabirgaliev} \ 32 33 {@judaew judaew} openmaintainer … … long_description .NET is a free, cross-platform, open source developer platfo 44 45 whichever is latest. 45 46 46 47 homepage https://dotnet.microsoft.com/ 47 platforms darwin48 48 supported_archs x86_64 arm64 49 49 50 50 master_sites https://dotnetcli.azureedge.net/dotnet/Runtime/${version}/
comment:4 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
And since you are installing a pre-compiled binary, the port's contents will not vary by macOS version, so you should indicate that as well:
-
dotnet/dotnet-cli/Portfile
diff --git a/dotnet/dotnet-cli/Portfile b/dotnet/dotnet-cli/Portfile index d04ca0cebe2..0150c05073e 100644
a b name dotnet-cli 27 27 version 8.0.6 28 28 revision 0 29 29 categories dotnet 30 platforms {darwin any} {darwin >= 19} 30 31 license MIT 31 32 maintainers {@tsabirgaliev gmail.com:tair.sabirgaliev} \ 32 33 {@judaew judaew} openmaintainer … … long_description .NET is a free, cross-platform, open source developer platfo 44 45 whichever is latest. 45 46 46 47 homepage https://dotnet.microsoft.com/ 47 platforms darwin48 48 supported_archs x86_64 arm64 49 49 50 50 master_sites https://dotnetcli.azureedge.net/dotnet/Runtime/${version}/
comment:5 Changed 5 months ago by judaew (Vadym-Valdis Yudaiev)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
https://github.com/dotnet/core/blob/main/release-notes/6.0/supported-os.md this page list macos 10.15+ as minimum supported version of Macos