RSB build fails on M1 Macbook Pro

Andrew.Butterfield at scss.tcd.ie Andrew.Butterfield at scss.tcd.ie
Tue Sep 20 13:35:56 UTC 2022



Hi Karel,

Gdb config.log now attached

Andrew


On 20/09/2022, 14:17, "Karel Gardas" <karel.gardas at centrum.cz> 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... /opt/homebrew/bin/python3
    checking for python... no
    configure: error: no usable python found at /opt/homebrew/bin/python3
    make[1]: *** [configure-gdb] Error 1

    if you look into gdb build directory you will see config.log there which 
    may tell you more about why your homebrew python3 fails.

    Karel

    On 9/20/22 15:02, Andrew Butterfield wrote:
    > Hi Karel,
    > here it is - I didn't want to attach this unless necessary!
    > 
    > Regards,
    >    Andrew
    > 
    > 
    > 
    > --------------------------------------------------------------------
    > Andrew Butterfield     Tel: +353-1-896-2517     Fax: +353-1-677-2204
    > Lero at TCD, Head of Software Foundations & Verification Research Group
    > School of Computer Science and Statistics,
    > Room G.39, O'Reilly Institute, Trinity College, University of Dublin
    >                           http://www.scss.tcd.ie/Andrew.Butterfield/
    > --------------------------------------------------------------------
    >   
    > 
    > -----Original Message-----
    > From: Karel Gardas <karel.gardas at centrum.cz>
    > Date: Tuesday 20 September 2022 at 14:00
    > To: "Andrew.Butterfield at scss.tcd.ie" <Andrew.Butterfield at scss.tcd.ie>, "users at rtems.org" <users at rtems.org>
    > Subject: Re: RSB build fails on M1 Macbook Pro
    > 
    > 
    >      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.Butterfield at scss.tcd.ie wrote:
    >      > 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
    >      > error: building sparc-rtems6-gdb-11.2-x86_64-apple-darwin21.6.0-1
    >      > Build FAILED
    >      >    See error report: rsb-report-sparc-rtems6-gdb-11.2-x86_64-apple-darwin21.6.0-1.txt
    >      > error: building sparc-rtems6-gdb-11.2-x86_64-apple-darwin21.6.0-1
    >      > Build Set: Time 0:06:26.055237
    >      > error: building sparc-rtems6-gdb-11.2-x86_64-apple-darwin21.6.0-1
    >      > Build Set: Time 0:06:26.058387
    >      > Build FAILED
    >      >
    >      > python maps to /usr/local/bin/python - it's a Mach-O 64-bit executable x86_64
    >      >
    >      > python --version is 3.6.8
    >      >
    >      > There is a  homebrew python3 but it's an arm64 executable, so seems not to be implicated.
    >      >
    >      > The full terminal transcript is attached
    >      >
    >      > Regards,
    >      >    Andrew
    >      >
    >      >
    >      >
    >      >
    >      >
    >      > --------------------------------------------------------------------
    >      > Andrew Butterfield     Tel: +353-1-896-2517     Fax: +353-1-677-2204
    >      > Lero at TCD, Head of Software Foundations & Verification Research Group
    >      > School of Computer Science and Statistics,
    >      > Room G.39, O'Reilly Institute, Trinity College, University of Dublin
    >      >                           http://www.scss.tcd.ie/Andrew.Butterfield/
    >      > --------------------------------------------------------------------
    >      >
    >      >
    >      >
    >      > _______________________________________________
    >      > users mailing list
    >      > users at rtems.org
    >      > http://lists.rtems.org/mailman/listinfo/users
    > 
    > 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 36365 bytes
Desc: config.log
URL: <http://lists.rtems.org/pipermail/users/attachments/20220920/9a2a70b7/attachment-0001.obj>


More information about the users mailing list