Giter Site home page Giter Site logo

compile on x86_64 about acvm HOT 5 CLOSED

joske avatar joske commented on August 23, 2024
compile on x86_64

from acvm.

Comments (5)

ubenmackin avatar ubenmackin commented on August 23, 2024

@joske I no longer have x86_64 based Mac to test on. The application frontend (ACVM) is not a Universal app, but built for Apple Silicon. So I don't think you can just swap out the libs and have it work.

from acvm.

joske avatar joske commented on August 23, 2024

I changed the target to My Mac (so x86). It compiles, but still getting the SIGABRT. Don't even know which library it's trying to load. Any idea on how to debug this?

from acvm.

joske avatar joske commented on August 23, 2024

I am now able to start qemu standalone with aarch64 and arm64 ubuntu. I think the qemu libs are not the problem, but the sparkle thingy:

dyld: Library not loaded: @rpath/Sparkle.framework/Versions/A/Sparkle
Referenced from: /Users/jos/Library/Developer/Xcode/DerivedData/ACVM-fectmcndczkxbpexlfiskuujbdsi/Build/Products/Debug/ACVM.app/Contents/MacOS/ACVM
Reason: no suitable image found. Did find:
/Users/jos/Library/Developer/Xcode/DerivedData/ACVM-fectmcndczkxbpexlfiskuujbdsi/Build/Products/Debug/ACVM.app/Contents/MacOS/../Frameworks/Sparkle.framework/Versions/A/Sparkle: code signature in (/Users/jos/Library/Developer/Xcode/DerivedData/ACVM-fectmcndczkxbpexlfiskuujbdsi/Build/Products/Debug/ACVM.app/Contents/MacOS/../Frameworks/Sparkle.framework/Versions/A/Sparkle) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)
/Users/jos/Library/Developer/Xcode/DerivedData/ACVM-fectmcndczkxbpexlfiskuujbdsi/Build/Products/Debug/ACVM.app/Contents/MacOS/../Frameworks/Sparkle.framework/Versions/A/Sparkle: code signature in (/Users/jos/Library/Developer/Xcode/DerivedData/ACVM-fectmcndczkxbpexlfiskuujbdsi/Build/Products/Debug/ACVM.app/Contents/MacOS/../Frameworks/Sparkle.framework/Versions/A/Sparkle) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)
/Users/jos/Library/Developer/Xcode/DerivedData/ACVM-fectmcndczkxbpexlfiskuujbdsi/Build/Products/Debug/ACVM.app/Contents/MacOS/../Frameworks/Sparkle.framework/Versions/A/Sparkle: code signature in (/Users/jos/Library/Developer/Xcode/DerivedData/ACVM-fectmcndczkxbpexlfiskuujbdsi/Build/Products/Debug/ACVM.app/Contents/MacOS/../Frameworks/Sparkle.framework/Versions/A/Sparkle) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)
/Users/jos/Library/Developer/Xcode/DerivedData/ACVM-fectmcndczkxbpexlfiskuujbdsi/Build/Products/Debug/ACVM.app/Contents/MacOS/../Frameworks/Sparkle.framework/Versions/A/Sparkle: stat() failed with errno=1
(lldb)

from acvm.

joske avatar joske commented on August 23, 2024

Got it to work, turned out it was a code signing issue (I'm quite new to macOS development, linux guy). I can now start the ACVM gui, configure it, but when I try to start a VM, it crashes the qemu process (ACVM keeps running). Debugging.

from acvm.

joske avatar joske commented on August 23, 2024

you can close this item. I've got some dirty but working code in my fork. Mostly it's changes to the QEMU command line. That version has x86_64 binaries for everything, so it can start QEMU VMs on x86. Have not yet tried to start an ARM64 VM with it.

from acvm.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.