8000 unrecognized instruction mnemonic on MacOS arm64 · Issue #94 · amiremohamadi/DuckX · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content 8000
unrecognized instruction mnemonic on MacOS arm64 #94
Open
@huww98

Description

@huww98

Describe the bug
Build failure on MacBook Pro 2023, with Apple M2 Pro:

DuckX/test/iterator_tests.cpp:57:5: error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
   57 |     CHECK_EQ(begin(doc.paragraphs()), begin(doc.paragraphs()));
      |     ^
DuckX/test/doctest.h:2521:18: note: expanded from macro 'CHECK_EQ'
 2521 | #define CHECK_EQ DOCTEST_CHECK_EQ
      |                  ^
DuckX/test/doctest.h:2128:31: note: expanded from macro 'DOCTEST_CHECK_EQ'
 2128 | #define DOCTEST_CHECK_EQ(...) DOCTEST_BINARY_ASSERT(DT_CHECK_EQ, eq, __VA_ARGS__)
      |                               ^
DuckX/test/doctest.h:2104:9: note: expanded from macro 'DOCTEST_BINARY_ASSERT'
 2104 |         DOCTEST_ASSERT_LOG_AND_REACT(_DOCTEST_RB);                                                 \
      |         ^
DuckX/test/doctest.h:1729:9: note: expanded from macro 'DOCTEST_ASSERT_LOG_AND_REACT'
 1729 |         DOCTEST_BREAK_INTO_DEBUGGER();                                                             \
      |         ^
DuckX/test/doctest.h:350:47: note: expanded from macro 'DOCTEST_BREAK_INTO_DEBUGGER'
  350 | #define DOCTEST_BREAK_INTO_DEBUGGER() __asm__("int $3\n" : :)
      |                                               ^
<inline asm>:1:2: note: instantiated into assembly here
    1 |         int $3
      |         ^

To Reproduce
Steps to reproduce the behavior:

  1. build this project

Expected behavior
Build success

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0