Yeah, you're right: I patched GMP because I first tried to build the
toolchain on aarch64-mac. Both patches were definitely needed for that.
Cedric
On 19.04.22 17:50, Alan Cudmore wrote:
Karel Gardas just submitted patches this morning to upgrade expat to
work on 64 bit Arm.
A couple of months ago, I was able to build an RTEMS toolchain on
aarch64 Linux with just an expat upgrade. I was not aware that GMP was
needed as well.
Alan
*From: *Cedric Berger <mailto:ced...@precidata.com>
*Sent: *Tuesday, April 19, 2022 11:23 AM
*To: *Jay Zhu <mailto:jing...@usc.edu>; devel@rtems.org
*Subject: *Re: Tool Suite Build Failed - machine 'arm64-apple' not
recognized
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
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel