Re: RSB build fails on M1 Macbook Pro

2022-09-20 Thread Chris Johns
On 21/9/2022 1:35 am, Karel Gardas wrote: > > Well, obviously, I would fix that by installing the library. But anyway, gdb > is > IIRC compiled before GCC which probably also means you will be missing mpfr > and > mpc too -- so best way for you may be following > https://gcc.gnu.org/install/prer

Re: RSB build fails on M1 Macbook Pro

2022-09-20 Thread Karel Gardas
Well, obviously, I would fix that by installing the library. But anyway, gdb is IIRC compiled before GCC which probably also means you will be missing mpfr and mpc too -- so best way for you may be following https://gcc.gnu.org/install/prerequisites.html IIRC libraries are nice enough to pro

Re: RSB build fails on M1 Macbook Pro

2022-09-20 Thread andrew.butterfi...@scss.tcd.ie
How do I fix this? On 20/09/2022, 14:41, "Karel Gardas" wrote: You are missing isl library header file: configure:6284: /usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/Users/butrfeld/REPOS/RTEMS/src/rsb/rtems/build/tmp/sb-501/tools/rtems-default-tools/Users/butrfeld/RTEMS/rtems

Re: RSB build fails on M1 Macbook Pro

2022-09-20 Thread Karel Gardas
You are missing isl library header file: configure:6284: /usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/Users/butrfeld/REPOS/RTEMS/src/rsb/rtems/build/tmp/sb-501/tools/rtems-default-tools/Users/butrfeld/RTEMS/rtems/6/include -o conftest -g -O2 -L/Users/butrfeld/REPOS/RTEMS/src/rsb/rtems/build/

Re: RSB build fails on M1 Macbook Pro

2022-09-20 Thread andrew.butterfi...@scss.tcd.ie
Hi Karel, Gdb config.log now attached Andrew On 20/09/2022, 14:17, "Karel Gardas" wrote: Usually just last page is enough. Anyway, your report reports that the compilation fails on gdb configure with: configure: WARNING: MPFR is missing or unusable; some features may be

Re: RSB build fails on M1 Macbook Pro

2022-09-20 Thread Joel Sherrill
On Tue, Sep 20, 2022 at 8:17 AM Karel Gardas wrote: > > Usually just last page is enough. Anyway, your report reports that the > compilation fails on gdb configure with: > > configure: WARNING: MPFR is missing or unusable; some features may be > unavailable. > checking whether to use python... /o

Re: RSB build fails on M1 Macbook Pro

2022-09-20 Thread Karel Gardas
Usually just last page is enough. Anyway, your report reports that the compilation fails on gdb configure with: configure: WARNING: MPFR is missing or unusable; some features may be unavailable. checking whether to use python... /opt/homebrew/bin/python3 checking for python... no configure:

Re: RSB build fails on M1 Macbook Pro

2022-09-20 Thread Joel Sherrill
FWIW OAR very recently got an M1 Mac to do automated build sweeps on. It has not been brought online yet but it's in the queue. You can see what else is being built regularly by looking at the build mailing list results. Help is needed for odd host and target issues but at least the intent is to

Re: RSB build fails on M1 Macbook Pro

2022-09-20 Thread Karel Gardas
JFYI: 2 months ago I pushed patches in order to make M1 working at least for arm target. As devil is in the detail you will also need to provide rsb-report-sparc-rtems6-gdb-11.2-x86_64-apple-darwin21.6.0-1.txt for investigation. Karel On 9/20/22 14:55, andrew.butterfi...@scss.tcd.ie wrote:

RSB build fails on M1 Macbook Pro

2022-09-20 Thread andrew.butterfi...@scss.tcd.ie
Dear all, I tried to follow the Quickstart on my new M1 Macbook Pro (Apple Silicon), which one of my students is also trying to do. It fails with the following error ... downloading: sources/gdb-11.2.tar.xz - 21.0MB of 21.0MB (100%) building: sparc-rtems6-gdb-11.2-x86_64-apple-darwin21.6.0-1 er