[RTEMS Project] #4892: MacOS tools build failures on Ventura and M series processors

RTEMS trac trac at rtems.org
Mon Mar 27 04:20:26 UTC 2023


#4892: MacOS tools build failures on Ventura and M series processors
-------------------------+--------------------------
 Reporter:  Chris Johns  |       Owner:  Chris Johns
     Type:  defect       |      Status:  assigned
 Priority:  normal       |   Milestone:  6.1
Component:  tool/rsb     |     Version:  6
 Severity:  normal       |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+--------------------------

Comment (by Chris Johns):

 I have attached the 4 patches I have for building on a recent MacOS.

 You need:

 1. Recent Xcode installed with the command line tools package. To install
 the package start Xcode and then click on the Xcode menu item followed by
 "Open Developer Tools", "More Developer Tools...". Find the command line
 tools package for the version of Xcode you are running and install.

 2. Install a recent Python 3 from https://www.python.org/downloads/macos/
 and install. From a terminal shell run:
 {{{
 % /Applications/Python\ 3.11/Update\ Shell\ Profile.command
 }}}
 To install the paths in your environment

 3. Create a virtual environment and activate it:
 {{{
 % python3 -m venv rpy
 % . ./rpy/bin/activate
 }}}

 4. Optionally install Homebrew and set up the environment. Make sure one
 of gcc-12 through to gcc-9 packages is installed.

 5. Run a normal RSB build

 **Note:** Currently M2 Pro builds are failing with a segment fault. I have
 only one machine to test this on.

--
Ticket URL: <http://devel.rtems.org/ticket/4892#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list