Git Product home page Git Product logo

Comments (5)

kaniini avatar kaniini commented on August 17, 2024 2

The unmask issue is caused by assumptions that the assembly is being built against a Darwin ABI, where all C symbols are prefixed with an underscore. On ELF ABI, this is not the case.

Working on making the assembly portable and will drop a PR this evening.

from fastwebsockets.

jhheider avatar jhheider commented on August 17, 2024 1

My build was with clang-14, but it seems that this ASM might need some help.

from fastwebsockets.

littledivy avatar littledivy commented on August 17, 2024 1

Tagged 0.1.3 and will be in Deno next patch release denoland/deno#18684

from fastwebsockets.

LukeChannings avatar LukeChannings commented on August 17, 2024

The errors I get are:

cargo:warning=src/m_arm64_neon.S: Assembler messages:
cargo:warning=src/m_arm64_neon.S:46: Error: unknown mnemonic `eor.16b' -- `eor.16b v2,v2,v0'
cargo:warning=src/m_arm64_neon.S:47: Error: unknown mnemonic `eor.16b' -- `eor.16b v3,v3,v1'
cargo:warning=src/m_arm64_neon.S:68: Error: unknown mnemonic `eor.8b' -- `eor.8b v1,v1,v0'

Which leads me to this StackOverflow answer - Assembly unknown mnemonic AArch64 ARMv8

I don't believe AArch64 binutils has any way to support the Apple syntax, so I think the available solutions are limited to "fix the code up manually" or "try Clang/LLVM instead".

So I guess this can't compile with GCC?

from fastwebsockets.

jhheider avatar jhheider commented on August 17, 2024

Beautiful. Thanks @littledivy .

from fastwebsockets.

Related Issues (20)

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.