Giter Site home page Giter Site logo

Illegal hardware instruction about delabella HOT 3 OPEN

ramcdona avatar ramcdona commented on July 23, 2024
Illegal hardware instruction

from delabella.

Comments (3)

msokalski avatar msokalski commented on July 23, 2024

Oh, I felt in my guts it will come back. I'll fix it as soon as I can, probably after the weekend.

from delabella.

ramcdona avatar ramcdona commented on July 23, 2024

Previously, when I was discussing a M1 build, it was a native M1 build. Although my program requires x86-64 for everything to work, I do most of my development on a M1 (and I just don't use the parts that don't work there).

I had never had a problem with Rosetta2 before, so I hadn't adequately tested it until I made my release builds (using a GitHub Actions build server automated process) that builds x86-64 binaries for Mac. Those binaries are the ones that give the illegal hardware instruction when running on an M1.

As a test, I changed the -mfma to -mno-fma in the CMakeLists.txt and re-built a x86-64 binary. It runs (without the illegal hardware instruction) on my M1 Mac.

It also seems to work for certain simple cases. However, for a more complex test case, it sends Delabella into an infinite loop on both M1 and x86-64.

I will try to isolate a case that exhibits this behavior.

from delabella.

ramcdona avatar ramcdona commented on July 23, 2024

This test file (using the test application from before) will go into an infinite loop when Delabella is built with -mno-fma on clang/xcode. The infinite loop is actually in constrain edges, not the main triangulation.

dlbtest_367.txt

from delabella.

Related Issues (12)

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.