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

illegal hardware instruction in Macbook Air 7.2 Intel Core i5 #143

Open
franklinhoracio opened this issue Dec 10, 2023 · 1 comment
Open

Comments

@franklinhoracio
Copy link

fhrol@Exia-2 SidecarPatcher % sudo swift main.swift
Password:
SidecarPatcher (Version 14)
GitHub : https://github.com/pookjw/SidecarPatcher
mount_apfs: volume could not be mounted: Permission denied
mount: / failed with 66
main/main.swift:225: Fatal error: Failed to load SidecarCore.
Stack dump:
0. Program arguments: /Library/Developer/CommandLineTools/usr/bin/swift-frontend -frontend -interpret main.swift -enable-objc-interop -sdk /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -color-diagnostics -target-sdk-version 13.1 -module-name main

  1. Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
  2. Compiling with the current language version
  3. While running user code "main.swift"
    Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var LLVM_SYMBOLIZER_PATH to point to it):
    0 swift-frontend 0x0000000108d48fe7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39
    1 swift-frontend 0x0000000108d48018 llvm::sys::RunSignalHandlers() + 248
    2 swift-frontend 0x0000000108d49600 SignalHandler(int) + 288
    3 libsystem_platform.dylib 0x00007ff80d960dfd _sigtramp + 29
    4 libsystem_platform.dylib 0x00007ff7bc783500 _sigtramp + 18446744072348641056
    5 libsystem_platform.dylib 0x000000010e8742ab _sigtramp + 18446603374891709643
    6 libsystem_platform.dylib 0x000000010e86fabe _sigtramp + 18446603374891691230
    7 swift-frontend 0x0000000104a809c0 llvm::orc::runAsMain(int ()(int, char**), llvm::ArrayRef<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >, llvm::Optionalllvm::StringRef) + 1856
    8 swift-frontend 0x0000000103b8ff28 swift::RunImmediately(swift::CompilerInstance&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > > const&, swift::IRGenOptions const&, swift::SILOptions const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_deleteswift::SILModule >&&) + 14104
    9 swift-frontend 0x00000001038ff482 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_deleteswift::SILModule >, llvm::PointerUnion<swift::ModuleDecl
    , swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 3138
    10 swift-frontend 0x0000000103902750 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 11792
    11 swift-frontend 0x0000000103896eaa swift::mainEntry(int, char const**) + 3082
    12 dyld 0x000000011ac4552e start + 462
    zsh: illegal hardware instruction sudo swift main.swift
@franklinhoracio
Copy link
Author

macOS Monterey 12.7.1 xcode 14.2

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

No branches or pull requests

1 participant