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

Cedric Berger cedric at precidata.com
Tue Apr 19 15:22:58 UTC 2022


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?

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





More information about the devel mailing list