Menu

#159 r6692 and r6693 csl-reduce compilation fails on MacBook Air M1

None
closed
None
5
2024-01-19
2024-01-17
No

Both native and universal compilation of r6692 and r6693 csl-reduce fails on a MacBook Air M1. The operating system is macOS Sonoma 14.2.1.

Compiling both native and universal csl reduce on x86_64 macOS Big Sur 11.7.10 seems to work fine, in spite of the fact that the applications csl.app, bootstrapreduce.app and reduce.app do not exist.

Please see the attached log files.

Marco

2 Attachments

Related

Bugs: #159

Discussion

  • Arthur Norman

    Arthur Norman - 2024-01-17

    It appears to me that something in macOS or its tools must have changed. A
    load of those things now need "-framework CoreFoundation" in LIBS. That
    fixes a bunch of the issues, but leaves some Semaphore things unresolved
    and I do not know what one needs to do now to regain access to them.

    The changes I have made to CSL recently are really remote from this so to
    me it feels as if the system has shifted under my feet in a way that was
    not nbackwatds compatible and that has broken the Reduce build.

    To date I have used
    LDFLAGS="$LDFLAGS -framework Carbon -framework CoreServices -framework ApplicationServices"
    so either macOS itself or some part of macports or some feature of Xcode
    appears to mean that something more is needed and it is not clear to me
    what. I found mention of CoreFoundation by web search. Are there Macintosh
    people who can advise please.

    If things have suddently broken without me doing anything I feel I am
    upset.

    Arthur

    On Wed, 17 Jan 2024, Marco Ferraris wrote:


    [bugs:#159] r6692 and r6693 csl-reduce compilation fails on MacBook Air M1

    Status: open
    Group:
    Created: Wed Jan 17, 2024 08:15 PM UTC by Marco Ferraris
    Last Updated: Wed Jan 17, 2024 08:15 PM UTC
    Owner: nobody
    Attachments:

    Both native and universal compilation of r6692 and r6693 csl-reduce fails on a MacBook Air M1. The operating system is macOS Sonoma 14.2.1.

    Compiling both native and universal csl reduce on x86_64 macOS Big Sur 11.7.10 seems to work fine, in spite of the fact that the applications csl.app, bootstrapreduce.app and reduce.app do not exist.

    Please see the attached log files.

    Marco


    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/reduce-algebra/bugs/159/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

     

    Related

    Bugs: #159

  • Arthur Norman

    Arthur Norman - 2024-01-17

    When I look up MPCreateSemaphore I see it labelled as deprecated. But that
    is what is used in the FXThread part of the FOX library. I am using a
    fairly antique version of that because the more up to date FOX moved to a
    license I am not willing to work with. Do you know if this is something
    that Apple have now removed and so is genuinely not available. If so then
    for now Reduce will not be available for the Mac. I suppose4 until and
    unless I feel minded to work out what Apple now want people to use for
    semaphores and whether they support the features used vis FXThread and I
    (or somebody else) dives in there are reworks stuff. I am busy with other
    things right now!

    Arthur

     
  • Marco Ferraris

    Marco Ferraris - 2024-01-18

    Compilation still fails for r6695 csl-reduce on my macOS Sonoma 14.2.1 MacBook Air M1.

    This is the relevant part of the log file.

    ~/sw/reduce-algebra/trunk/csl/cslbase/newallocate.h:966:12: error: use of undeclared identifier 'consFringe'; did you mean 'continue'?
    while (consFringe < consEnd &&
    ^~~~~~~~~~
    continue
    ~/sw/reduce-algebra/trunk/csl/cslbase/newallocate.h:966:12: error: expected expression
    ~/sw/reduce-algebra/trunk/csl/cslbase/newallocate.h:968:9: error: use of undeclared identifier 'consFringe'
    consFringe += sizeof(ConsCell);
    ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    20 errors generated.
    gmake[2]: *** [Makefile:2672: csl-arith01.o] Error 1
    gmake[2]: uscita dalla directory «~/sw/reduce-algebra/trunk/cslbuild/aarch64-mac_14_sonoma-darwin23.2.0/csl»
    gmake[1]: *** [Makefile:1438: all] Error 2
    gmake[1]: uscita dalla directory «~/sw/reduce-algebra/trunk/cslbuild/aarch64-mac_14_sonoma-darwin23.2.0/csl»

    Reduce build tasks finished: Highest return code 2
    make: [all] Error 2 (ignored)

     
  • Rainer Schöpf

    Rainer Schöpf - 2024-01-19
    • status: open --> closed
    • assigned_to: Arthur Norman
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB