Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Problems with native build on a Mac M2 #142

Copy link
Copy link
@spike7638

Description

@spike7638
Issue body actions

I've been trying to resurrect some reprocessing code to run on my Mac M2 (Sonoma 14.7). Compiling the most basic example (the blue square on a pink background) works fine with npm run build; when I try npm run build:native, I get this:

> build:native
> bsb -make-world -backend native

ninja: no work to do.
[1/2] Building src/tsdl_new.cmx
/var/folders/kv/96mvfpgd641dg5m4tpn4wm980000gp/T/camlasm4fb328-b7a24e.s:238:2: error: invalid CFI advance_loc expression
 .cfi_adjust_cfa_offset -8
 ^
/var/folders/kv/96mvfpgd641dg5m4tpn4wm980000gp/T/camlasm4fb328-b7a24e.s:246:2: error: invalid CFI advance_loc expression
 .cfi_adjust_cfa_offset -8
 ^

  We've found a bug for you!
  /Users/jhughes/Documents/Projects/ReasonML/reprocessingExample/reprocessing-example/node_modules/@bsansouci/tsdl/src/tsdl_new.re
  
  Assembler error, input left in file /var/folders/kv/96mvfpgd641dg5m4tpn4wm980000gp/T/camlasm4fb328.s
  
Failure: /Users/jhughes/Documents/Projects/ReasonML/reprocessingExample/reprocessing-example/node_modules/bsb-native/lib/ninja.exe 
 Location: /Users/jhughes/Documents/Projects/ReasonML/reprocessingExample/reprocessing-example/node_modules/@bsansouci/tsdl/lib/bs/native

I'm afraid that an assembler error is beyond me. Worried that maybe I didn't have a recent enough version of Ocaml installed, I got some help making sure that was OK (see ocaml/opam-repository#26896), but apparently that was not the problem.

I know this project seems to be mostly mothballed, but I'm hoping this might be an easy fix.

Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.