Questions tagged [rosetta-2]

Use this tag for questions related to Apple’s Rosetta 2 x86 emulation, first introduced in macOS Big Sur in 2020 to enable backward compatibility for x86 code running on Apple Silicon (ARM) CPUs.

Use this tag for questions related to Apple’s Rosetta 2 x86 emulation, first introduced in macOS Big Sur in 2020 to enable backward compatibility for x86 code running on Apple Silicon (ARM) CPUs.

50 questions
1
vote
2 answers

How do I use SFML on Apple M1 Mac?

I installed SFML for macOS-clang with this video https://www.youtube.com/watch?v=WOyp5n2FmZY. And I setup the Xcode like this video https://www.youtube.com/watch?v=kusRtYC-wj4 but it does not work like in the video. It can be built with no error or…
1
vote
1 answer

Creating environment in miniconda on Mac M1

I recently got a new Mac with M1 processor. From the terminal I installed miniconda through home-brew. Then, I tried to create a new conda environment as usual using conda create --name my_env. Then, I try to activate the environment using conda…
Geo_toto
  • 23
  • 4
0
votes
1 answer

Failed building wheel for uwsgi on mac silicon

I'm trying to install uwsgi on mac with M1 arm processor using x86_64 architecture (rosetta 2). When I do this the installation fails with this stack: I'm using pyenv with python 3.8.5 What's I'm doing wrong? Will be glad to give you more details…
danil51608
  • 39
  • 5
0
votes
1 answer

Intel CPU targeted DLL on M1/M2 (ARM CPU) workaround for Unity?

So I’m working on a Unity project and I recently got a new Mac with the M2 chip. I realized that some of the DLLs I use are targeting intel based CPUs and they don’t work in Unity. I use Rosetta as a workaround for this but unity doesn’t seem to be…
0
votes
0 answers

Universal app starts under Rosetta rather than natively on Apple silicon

I have a primary application that is built for x86_64 and runs perfectly fine on Apple silicon under Rosetta translation. I also have a secondary Electron application that is built as a Universal binary. When I start the secondary application…
digital_fate
  • 567
  • 1
  • 5
  • 15
0
votes
0 answers

Getting native Xcode on m1 to build x86 packages for simulator

I'm tying to get Xcode in native mode to use the simulators in Rosetta mode, I found this site, which seems to be trying to work except the packages will not build x86 simulator binaries for the simulator, and so I get errors now saying "Could not…
Nathan Day
  • 5,981
  • 2
  • 24
  • 40
0
votes
1 answer

Change subprocess.run architecture from x86 to arm

I am running python on a m1 Mac with Rosetta, on a x86_64 architecture. During the execution I need to use subprocess.run to launch some external program. However that program need to run under arm64 architecture. Is there a possible solution for…
Dinari
  • 2,487
  • 13
  • 28
0
votes
0 answers

On macOS, can execvp use the Rosetta cache?

On the arm version of macOS, the first time an x86 process is run it is converted to arm code. Each following time the process is run the arm version should be used from a cache to avoid the conversion process. However, if I use execvp to start the…
Roland Rabien
  • 8,750
  • 7
  • 50
  • 67
0
votes
1 answer

Python packages on Rosetta M1 Macbook

I am trying to run a script from a repo which was using python 3.7 and other packages version that were not supported in M1. I install a separate conda through open terminal under Rosetta, i can install those specific packages i need. but when i try…
0
votes
1 answer

How to Trap Floating-Point Exceptions On Rosetta 2

In a related question, How to trap floating-point exceptions on M1 Macs?, someone wanted to understand how to make the following code work natively on macOS hosted by a machine using the M1 processor: #include // for sqrt() …
0
votes
1 answer

Run CLI on M1 mac meant for x86_64

I am on an M1 mac and am trying to download and run a project that is meant for x86_64. I opened my terminal and put it into x86_64 mode using env /usr/bin/arch -x86_64 /bin/zsh --login. I then installed the required dependencies and tried to run it…
P.Bjur
  • 13
  • 4
0
votes
2 answers

Why can I run x86 binary on ARM?

I recently compiled a C program I wrote with gcc on my x86 intel MacBook - I downloaded this binary onto my M1 MacBook and it seems to run fine... This challenges my understanding because I figured it had to be complied for a specific instruction…
0
votes
1 answer

SceneKit SCNMatrix4Mult EXC_BAD_ACCESS on M1

Using Xcode Version 13.0 (13A233) MacOS BigSur 11.6, I made a new command line app, and in it's main type: import SceneKit let _ = SCNMatrix4Mult(SCNMatrix4Identity, SCNMatrix4Identity) When run on a 2013 intel machine, works and exits without…
Allen King
  • 303
  • 2
  • 8
0
votes
1 answer

How to install everything natively without rosetta 2 in M1 macs?

I have been using M1 macbook for almost half a year and initially, I installed many packages under rosetta 2 and many natively (I assume). I run my terminal under rosetta 2 but whenever I install any package using brew, I do it using arch -arm64…
0
votes
2 answers

Install the python 3.9.x M1 version in a virtual environment

I am using an M1 mac and I am using a conda environment with python 3.8.8. I tried to update with 'conda update python' but 3.8.8 is the latest version I can get and it is running on Rosetta 2. I would like to install the latest 3.9.x for BigSur (so…
Tao
  • 31
  • 1
  • 2
  • 6