Menu

#138 CSL Reduce 6170 compilation fails on macOS 10.15 x86_64

None
closed
None
5
2021-11-20
2021-11-15
No

The compilation of CSL Reduce fails on macOS 10.15 x86_64 with the following message:

In file included from trunk/csl/cslbase/restart.cpp:2220:
trunk/csl/cslbase/testcode.cpp:41:37: error: use of undeclared identifier 'fringe'
cout << "Fringe = " << Addr(fringe) << " at end of GC\n";
^
trunk/csl/cslbase/testcode.cpp:42:36: error: use of undeclared identifier 'limit'
cout << "Limit = " << Addr(limit) << " at end of GC\n";
^
2 errors generated.
gmake[2]: *** [Makefile:2970: csl-restart.o] Errore 1
gmake[2]: uscita dalla directory «trunk/cslbuild/x86_64-mac_10.15_catalina-darwin19.6.0/csl»
make[1]: *** [all] Error 2

Best regards, Marco

Related

Bugs: #138

Discussion

  • Arthur Norman

    Arthur Norman - 2021-11-15

    Apologies - the stuff in testcode.cpp is not relevant except when testing
    new experiements so that was accidental leakage of test code to where it
    could hurt day to day builds. I hope I have now fixed it. Arthur

    On Mon, 15 Nov 2021, Marco Ferraris wrote:


    ** [bugs:#138] CSL Reduce 6170 compilation fails on macOS 10.15 x86_64**

    Status: open
    Group:
    Created: Mon Nov 15, 2021 02:49 AM UTC by Marco Ferraris
    Last Updated: Mon Nov 15, 2021 02:49 AM UTC
    Owner: nobody

    The compilation of CSL Reduce fails on macOS 10.15 x86_64 with the following message:

    In file included from trunk/csl/cslbase/restart.cpp:2220:
    trunk/csl/cslbase/testcode.cpp:41:37: error: use of undeclared identifier 'fringe'
    cout << "Fringe = " << Addr(fringe) << " at end of GC\n";
    ^
    trunk/csl/cslbase/testcode.cpp:42:36: error: use of undeclared identifier 'limit'
    cout << "Limit = " << Addr(limit) << " at end of GC\n";
    ^
    2 errors generated.
    gmake[2]: *** [Makefile:2970: csl-restart.o] Errore 1
    gmake[2]: uscita dalla directory «trunk/cslbuild/x86_64-mac_10.15_catalina-darwin19.6.0/csl»
    make[1]: *** [all] Error 2

    Best regards, Marco


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

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

     

    Related

    Bugs: #138

    • Marco Ferraris

      Marco Ferraris - 2021-11-15

      Hi Norman,

      compiling CSL Reduce 6172 works well both on macintel64 and aarch64-mac_11_bigsur-darwin20.6.0.

      Compiling PSL Reduce 6172 works well on on macintel64 but fails on M1 Mac with the following message:

      ~/sw/reduce-algebra/trunk/psl/bootstrap.sh aarch64-mac_11_bigsur-darwin20.6.0
      ~/sw/reduce-algebra/trunk/pslbuild/aarch64-mac_11_bigsur-darwin20.6.0
      ++++++ Build initial bootstrap system ++++++
      ~/sw/reduce-algebra/trunk/psl/bootstrap.sh: line 110: ./bpsl: No such file or directory
      ~/sw/reduce-algebra/trunk/psl/bootstrap.sh: line 128: ./bpsl: No such file or directory
      Bootstrap reduce built

      Is it possible to have a working M1 bpsl?

      Best regards
      Marco

      Il giorno 15 nov 2021, alle ore 10:28, Arthur Norman arthurcnorman@users.sourceforge.net ha scritto:

      Apologies - the stuff in testcode.cpp is not relevant except when testing
      new experiements so that was accidental leakage of test code to where it
      could hurt day to day builds. I hope I have now fixed it. Arthur

      On Mon, 15 Nov 2021, Marco Ferraris wrote:

      [bugs:#138] https://sourceforge.net/p/reduce-algebra/bugs/138/ CSL Reduce 6170 compilation fails on macOS 10.15 x86_64

      Status: open
      Group:
      Created: Mon Nov 15, 2021 02:49 AM UTC by Marco Ferraris
      Last Updated: Mon Nov 15, 2021 02:49 AM UTC
      Owner: nobody

      The compilation of CSL Reduce fails on macOS 10.15 x86_64 with the following message:

      In file included from trunk/csl/cslbase/restart.cpp:2220:
      trunk/csl/cslbase/testcode.cpp:41:37: error: use of undeclared identifier 'fringe'
      cout << "Fringe = " << Addr(fringe) << " at end of GC\n";
      ^
      trunk/csl/cslbase/testcode.cpp:42:36: error: use of undeclared identifier 'limit'
      cout << "Limit = " << Addr(limit) << " at end of GC\n";
      ^
      2 errors generated.
      gmake[2]: [Makefile:2970: csl-restart.o] Errore 1
      gmake[2]: uscita dalla directory «trunk/cslbuild/x86_64-mac_10.15_catalina-darwin19.6.0/csl»
      make[1]: [all] Error 2

      Best regards, Marco

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/reduce-algebra/bugs/138/ https://sourceforge.net/p/reduce-algebra/bugs/138/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/
      [bugs:#138] https://sourceforge.net/p/reduce-algebra/bugs/138/ CSL Reduce 6170 compilation fails on macOS 10.15 x86_64

      Status: open
      Group:
      Created: Mon Nov 15, 2021 02:49 AM UTC by Marco Ferraris
      Last Updated: Mon Nov 15, 2021 02:49 AM UTC
      Owner: nobody

      The compilation of CSL Reduce fails on macOS 10.15 x86_64 with the following message:

      In file included from trunk/csl/cslbase/restart.cpp:2220:
      trunk/csl/cslbase/testcode.cpp:41:37: error: use of undeclared identifier 'fringe'
      cout << "Fringe = " << Addr(fringe) << " at end of GC\n";
      ^
      trunk/csl/cslbase/testcode.cpp:42:36: error: use of undeclared identifier 'limit'
      cout << "Limit = " << Addr(limit) << " at end of GC\n";
      ^
      2 errors generated.
      gmake[2]: [Makefile:2970: csl-restart.o] Errore 1
      gmake[2]: uscita dalla directory «trunk/cslbuild/x86_64-mac_10.15_catalina-darwin19.6.0/csl»
      make[1]: [all] Error 2

      Best regards, Marco

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/reduce-algebra/bugs/138/ https://sourceforge.net/p/reduce-algebra/bugs/138/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #138

      • Arthur Norman

        Arthur Norman - 2021-11-15

        CSL is basically all coded in C++ so moving that to the Mac M1 only had to
        worry about waiting for all the libraries that it needs to rely on to get
        adjusted for macports. For PSL a compiler back-end targetting aarch64 is
        needed, and Rainer has one of those coming on well but not yet released.
        By running on the m1 via rosetta2 so you get a shell that thinks it is an
        x86_64 there is a good chance that the existing version will work nicely,
        and the performance may be better than you would have feared.

        Arthur

        On Mon, 15 Nov 2021, Marco Ferraris wrote:

        Hi Norman,

        compiling CSL Reduce 6172 works well both on macintel64 and aarch64-mac_11_bigsur-darwin20.6.0.

        Compiling PSL Reduce 6172 works well on on macintel64 but fails on M1 Mac with the following message:

        ~/sw/reduce-algebra/trunk/psl/bootstrap.sh aarch64-mac_11_bigsur-darwin20.6.0
        ~/sw/reduce-algebra/trunk/pslbuild/aarch64-mac_11_bigsur-darwin20.6.0
        ++++++ Build initial bootstrap system ++++++
        ~/sw/reduce-algebra/trunk/psl/bootstrap.sh: line 110: ./bpsl: No such file or directory
        ~/sw/reduce-algebra/trunk/psl/bootstrap.sh: line 128: ./bpsl: No such file or directory
        Bootstrap reduce built

        Is it possible to have a working M1 bpsl?

        Best regards
        Marco

        Il giorno 15 nov 2021, alle ore 10:28, Arthur Norman arthurcnorman@users.sourceforge.net ha scritto:

        Apologies - the stuff in testcode.cpp is not relevant except when testing
        new experiements so that was accidental leakage of test code to where it
        could hurt day to day builds. I hope I have now fixed it. Arthur

        On Mon, 15 Nov 2021, Marco Ferraris wrote:

        [bugs:#138] https://sourceforge.net/p/reduce-algebra/bugs/138/ CSL Reduce 6170 compilation fails on macOS 10.15 x86_64

        Status: open
        Group:
        Created: Mon Nov 15, 2021 02:49 AM UTC by Marco Ferraris
        Last Updated: Mon Nov 15, 2021 02:49 AM UTC
        Owner: nobody

        The compilation of CSL Reduce fails on macOS 10.15 x86_64 with the following message:

        In file included from trunk/csl/cslbase/restart.cpp:2220:
        trunk/csl/cslbase/testcode.cpp:41:37: error: use of undeclared identifier 'fringe'
        cout << "Fringe = " << Addr(fringe) << " at end of GC\n";
        ^
        trunk/csl/cslbase/testcode.cpp:42:36: error: use of undeclared identifier 'limit'
        cout << "Limit = " << Addr(limit) << " at end of GC\n";
        ^
        2 errors generated.
        gmake[2]: [Makefile:2970: csl-restart.o] Errore 1
        gmake[2]: uscita dalla directory «trunk/cslbuild/x86_64-mac_10.15_catalina-darwin19.6.0/csl»
        make[1]: [all] Error 2

        Best regards, Marco

        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/reduce-algebra/bugs/138/ https://sourceforge.net/p/reduce-algebra/bugs/138/
        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/
        [bugs:#138] https://sourceforge.net/p/reduce-algebra/bugs/138/ CSL Reduce 6170 compilation fails on macOS 10.15 x86_64

        Status: open
        Group:
        Created: Mon Nov 15, 2021 02:49 AM UTC by Marco Ferraris
        Last Updated: Mon Nov 15, 2021 02:49 AM UTC
        Owner: nobody

        The compilation of CSL Reduce fails on macOS 10.15 x86_64 with the following message:

        In file included from trunk/csl/cslbase/restart.cpp:2220:
        trunk/csl/cslbase/testcode.cpp:41:37: error: use of undeclared identifier 'fringe'
        cout << "Fringe = " << Addr(fringe) << " at end of GC\n";
        ^
        trunk/csl/cslbase/testcode.cpp:42:36: error: use of undeclared identifier 'limit'
        cout << "Limit = " << Addr(limit) << " at end of GC\n";
        ^
        2 errors generated.
        gmake[2]: [Makefile:2970: csl-restart.o] Errore 1
        gmake[2]: uscita dalla directory «trunk/cslbuild/x86_64-mac_10.15_catalina-darwin19.6.0/csl»
        make[1]: [all] Error 2

        Best regards, Marco

        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/reduce-algebra/bugs/138/ https://sourceforge.net/p/reduce-algebra/bugs/138/
        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/


        ** [bugs:#138] CSL Reduce 6170 compilation fails on macOS 10.15 x86_64**

        Status: open
        Group:
        Created: Mon Nov 15, 2021 02:49 AM UTC by Marco Ferraris
        Last Updated: Mon Nov 15, 2021 02:49 AM UTC
        Owner: nobody

        The compilation of CSL Reduce fails on macOS 10.15 x86_64 with the following message:

        In file included from trunk/csl/cslbase/restart.cpp:2220:
        trunk/csl/cslbase/testcode.cpp:41:37: error: use of undeclared identifier 'fringe'
        cout << "Fringe = " << Addr(fringe) << " at end of GC\n";
        ^
        trunk/csl/cslbase/testcode.cpp:42:36: error: use of undeclared identifier 'limit'
        cout << "Limit = " << Addr(limit) << " at end of GC\n";
        ^
        2 errors generated.
        gmake[2]: *** [Makefile:2970: csl-restart.o] Errore 1
        gmake[2]: uscita dalla directory «trunk/cslbuild/x86_64-mac_10.15_catalina-darwin19.6.0/csl»
        make[1]: *** [all] Error 2

        Best regards, Marco


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

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

         

        Related

        Bugs: #138

      • Rainer Schöpf

        Rainer Schöpf - 2021-11-15

        A bpsl for Apple M1 needs a rewrite of PSL's memory layout, because of the W^X security feature on "Apple Silicon". W^X isn't a bad thing (OpenBSD has it since a couple of years which is the reason PSL doesn't run on OpenBSD), but I wish Apple wouldn't put spokes in our wheels again and again by changing the rules on the fly.

        Executive summary: don't hold your breath waiting for a native PSL on M1!

        Rainer

         
        • Marco Ferraris

          Marco Ferraris - 2021-11-15

          The fastest way in order to install "sheep, classi and stensor" on my M1 MacBook Air is to have a native M1 version of PSL. I’ll wait until you release it.

          Best regards
          Marco

          Il giorno 15 nov 2021, alle ore 18:47, Rainer Schöpf schoepf@users.sourceforge.net ha scritto:

          A bpsl for Apple M1 needs a rewrite of PSL's memory layout, because of the W^X security feature on "Apple Silicon". W^X isn't a bad thing (OpenBSD has it since a couple of years which is the reason PSL doesn't run on OpenBSD), but I wish Apple wouldn't put spokes in our wheels again and again by changing the rules on the fly.

          Executive summary: don't hold your breath waiting for a native PSL on M1!

          Rainer

           
  • Rainer Schöpf

    Rainer Schöpf - 2021-11-20
    • status: open --> closed
    • assigned_to: Arthur Norman
    • Group: -->
     
  • Rainer Schöpf

    Rainer Schöpf - 2021-11-20

    Bug in compilation was corrected

     

Log in to post a comment.

MongoDB Logo MongoDB