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

feat: build, sign and notarize a binary for Apple Silicon macOS devices #305

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

timrogers
Copy link
Owner

No description provided.

@timrogers timrogers force-pushed the timrogers/macos-arm64 branch from aecc54a to 885ffec Compare October 6, 2024 18:28
@timrogers
Copy link
Owner Author

This binary doesn't work for me 🤔 :

#
# Fatal error in , line 0
# Check failed: 12 == (*__error()).
#
#
#
#FailureMessage Object: 0x30d8ab470
----- Native stack trace -----

 1: 0x1032285e2 node::NodePlatform::ForNodeIsolate(v8::Isolate*) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
 2: 0x1046b9e9b V8_Fatal(char const*, ...) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
 3: 0x1046c7ae8 v8::base::OS::SetPermissions(void*, unsigned long, v8::base::OS::MemoryPermission) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
 4: 0x103689187 v8::internal::MemoryAllocator::SetPermissionsOnExecutableMemoryChunk(v8::internal::VirtualMemory*, unsigned long, unsigned long, unsigned long) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
 5: 0x103688dea v8::internal::MemoryAllocator::AllocateAlignedMemory(unsigned long, unsigned long, unsigned long, v8::internal::AllocationSpace, v8::internal::Executability, void*, v8::internal::VirtualMemory*) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
 6: 0x103689461 v8::internal::MemoryAllocator::AllocateUninitializedChunkAt(v8::internal::BaseSpace*, unsigned long, v8::internal::Executability, unsigned long, v8::internal::PageSize) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
 7: 0x10368a25d v8::internal::MemoryAllocator::AllocatePage(v8::internal::MemoryAllocator::AllocationMode, v8::internal::Space*, v8::internal::Executability) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
 8: 0x1036a23d9 v8::internal::PagedSpaceBase::TryExpandImpl() [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
 9: 0x1036a2abd v8::internal::PagedSpaceBase::RawRefillLabMain(int, v8::internal::AllocationOrigin) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
10: 0x1036a24d1 v8::internal::PagedSpaceBase::RefillLabMain(int, v8::internal::AllocationOrigin) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
11: 0x1035e5739 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
12: 0x1035c560a v8::internal::Factory::CodeBuilder::AllocateInstructionStream(bool) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
13: 0x1035c4d06 v8::internal::Factory::CodeBuilder::BuildInternal(bool) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
14: 0x103411cc9 v8::internal::baseline::BaselineCompiler::Build(v8::internal::LocalIsolate*) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
15: 0x103414732 v8::internal::GenerateBaselineCode(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SharedFunctionInfo>) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
16: 0x103485b53 v8::internal::Compiler::CompileSharedWithBaseline(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SharedFunctionInfo>, v8::internal::Compiler::ClearExceptionFlag, v8::internal::IsCompiledScope*) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
17: 0x10348888e v8::internal::Compiler::CompileBaseline(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Compiler::ClearExceptionFlag, v8::internal::IsCompiledScope*) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
18: 0x1033f4737 v8::internal::baseline::BaselineBatchCompiler::CompileBatch(v8::internal::Handle<v8::internal::JSFunction>) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
19: 0x103486191 v8::internal::Compiler::Compile(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Compiler::ClearExceptionFlag, v8::internal::IsCompiledScope*) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
20: 0x103ad7e78 v8::internal::Runtime_CompileLazy(int, unsigned long*, v8::internal::Isolate*) [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
21: 0x102ec9576  [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
22: 0x102e3c364  [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
23: 0x102e3af5c  [/Users/timrogers/Downloads/gh-migrate-project-darwin-arm64]
[1]    67107 trace trap  ./gh-migrate-project-darwin-arm64 |
       67108 done        pbcopy

@timrogers timrogers force-pushed the timrogers/macos-arm64 branch from 8efc01f to 53d51bd Compare November 28, 2024 17:26
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.

1 participant