Tool Suite Build Failed - machine 'arm64-apple' not recognized

Joel Sherrill joel at rtems.org
Tue Apr 19 15:58:56 UTC 2022


On Tue, Apr 19, 2022 at 10:23 AM Cedric Berger <cedric at precidata.com> wrote:

> Hello,
>
> On 10.04.22 20:37, Jay Zhu wrote:
> > Hi,
> > I am a student new to RTEMS and trying to get my first lines to run.
> When following the quick-start guide, I was stuck in Install Tool Suite
> procedure. Using this command:
> > ../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6
> 6/rtems-sparc
> > The output was:
> >
> > error: building expat-2.1.0-arm64-apple-darwin21.4.0-1
> > Build FAILED
> >    See error report:
> rsb-report-expat-2.1.0-arm64-apple-darwin21.4.0-1.txt
> >
> > Then I lookup the log file, in which the errors are:
> >
> > Invalid configuration `arm64-apple-darwin21.4.0': machine `arm64-apple'
> not recognized
> > configure: error: /bin/sh conftools/config.sub arm64-apple-darwin21.4.0
> failed
> > checking build system type...
> > checking build system type...
> > shell cmd failed: /bin/sh -ex
> /Users/Jay/quick-start/src/rsb/rtems/build/expat-2.1.0-arm64-apple-darwin21.4.0-1/do-build
> > error: building expat-2.1.0-arm64-apple-darwin21.4.0-1
> >
> > Can you kindly tell me how can I fix this?
>

Download the latest expat source by itself and try to build it. Looks like
they have a release in March. Maybe that adds  arm64-apple-darwin as a
known target.

If that works, we just need to bump the expat version in the RSB.

Building with Ubuntu always side steps issues. :)

>
> I can't help you fix this, but I've successfully built 6/rtems-arm tools
> + BSP on a M1 Mac using multipass. basically:
>
> 1) create the ubuntu VM: "multipass launch -n u2004 -c 6 -d 16G -m 4G
> 20.04"
>
> 2) create a shared folder: "multipass mount /opt/vm/rtems
> u2004:/opt/vm/rtems"
>
> 3) upgrade expat to 2.4.8 and gmp to 6.2.1
>
> 4) before building, specify "ulimit -n 4096" on the linux VM otherwise
> GCC will fail to link with incomprehensible error.
>
> Cedric
>
>
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>


More information about the devel mailing list