Menu

#195 Compiling r7380 csl-reduce on macOS and Windows 11 fails.

open
nobody
None
5
2026-07-22
2026-07-19
No

Hi Arthur,

compiling revisions 7377, 7378, 7379 and 7380 of csl-reduce on macOS Tahoe (M1 chip) fails.

When trying to compile "arith01.c" compilation stops with the following message

gmake[3]: ***  Nessuna regola per generare l'obiettivo «lvector.h», necessario per «csl-arith01.o».  Arresto.

It looks like that the header file "lvector.h" is missing.

This happens also for the Windows 11 (x86_64) for revision 7380.

Best regards
Marco

Related

Bugs: #195

Discussion

  • Marco Ferraris

    Marco Ferraris - 2026-07-20

    Hi.
    Now, with r7381 CSL-Reduce, the aarch64 macOS Tahoe compiler stops with the following messages:

    [aarch64-mac_26_tahoe-darwin25.5.0] CXX   csl-arith01.o
    /sw/reduce-algebra/trunk/csl/cslbase/arith01.cpp:784:9: error: call to 'frexp' is ambiguous
      784 |     d = frexp(d, &x);
          |         ^~~~~
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__math/exponential_functions.h:45:36: note: candidate function
       45 | inline _LIBCPP_HIDE_FROM_ABI float frexp(float __x, int* __e) _NOEXCEPT { return __builtin_frexpf(__x, __e); }
          |                                    ^
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__math/exponential_functions.h:52:42: note: candidate function
       52 | inline _LIBCPP_HIDE_FROM_ABI long double frexp(long double __x, int* __e) _NOEXCEPT {
          |                                          ^
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:425:15: note: candidate function
      425 | extern double frexp(double, int *);
          |               ^
    1 error generated.
    gmake[3]: *** [Makefile:3214: csl-arith01.o] Error 1
    gmake[3]: uscita dalla directory «/sw/reduce-algebra/trunk/cslbuild/aarch64-mac_26_tahoe-darwin25.5.0/csl»
    gmake[2]: *** [Makefile:1745: all] Error 2
    gmake[2]: uscita dalla directory «/sw/reduce-algebra/trunk/cslbuild/aarch64-mac_26_tahoe-darwin25.5.0/csl»
    gmake[1]: *** [Makefile:693: /sw/reduce-algebra/trunk/m4/libtool.m4] Error 2
    gmake[1]: uscita dalla directory «/sw/reduce-algebra/trunk/cslbuild/aarch64-mac_26_tahoe-darwin25.5.0»
    
    Reduce build tasks finished: Highest return code 2
    make: [all] Error 2 (ignored)
    

    I didn't try to compile on Windows 11 yet.

    Marco

     
  • Marco Ferraris

    Marco Ferraris - 2026-07-21

    CSL-Reduce release r7382 compiles without problems (both native and universal) on my M1 MacBook Air.

     
  • Marco Ferraris

    Marco Ferraris - 2026-07-22

    Compiling r7382 under Windows 11 has problems.

    The code compiled in the directory "cslbuild/x86_64-pc-windows/csl" seems to work correctly.

    However, the code compiled in the directory "cslbuild/x86_64-pc-cygwin/csl" doesn't work.
    The command "cd ~/sw/reduce-algebra; ./trunk/bin/redcsl -w" returns the following error message:

    +++ Image file "~/sw/reduce-algebra/trunk/scripts/../cslbuild/x86_64-pc-cygwin/csl/reduce.img(InitialImage)" can not be read
    

    The file "/cslbuild/x86_64-pc-cygwin/csl/reduce.img" doesn't exist. The only ".img" file in the directory "cslbuild/x86_64-pc-cygwin/csl/" is "bootstrapreduce.img".

    Marco

     
    • Arthur Norman

      Arthur Norman - 2026-07-22

      I have just make a build of revision 7382 and it has built happily for me.
      SOMETIMES when I try build on Windows the build fails when (as best I can
      judge - if I knew exactly what issues were and if I could I would have
      fixed them) cygwin gets confused in parallel "make"s. In such cases trying
      "make" again often resolves matters.

      Marco: if you are somebody who can check things on several platforms and
      you are keeping up with the latest revisions, would you like to be
      registered as a developer at sourecforge so you have the capability not
      just to test but to chase down and fix some issues and to think about
      improvements or extensions that you believe the system would benefit from?
      I think it might be very good to get you on board! If interested (indeed
      if your thoughts are anything other than absolute rejection of the idea!)
      email just me directly so we can sort things out or discuss further.

      Arthur

      On Wed, 22 Jul 2026, Marco Ferraris wrote:

      Compiling r7382 under Windows 11 has problems.

      The code compiled in the directory "cslbuild/x86_64-pc-windows/csl" seems to work correctly.

      However, the code compiled in the directory "cslbuild/x86_64-pc-cygwin/csl" doesn't work.
      The command "cd ~/sw/reduce-algebra; ./trunk/bin/redcsl -w" returns the following error message:

      +++ Image file "~/sw/reduce-algebra/trunk/scripts/../cslbuild/x86_64-pc-cygwin/csl/reduce.img(InitialImage)" can not be read

      The file "/cslbuild/x86_64-pc-cygwin/csl/reduce.img" doesn't exist. The only ".img" file in the directory "cslbuild/x86_64-pc-cygwin/csl/" is "bootstrapreduce.img".

      Marco


      [bugs:#195] Compiling r7380 csl-reduce on macOS and Windows 11 fails.

      Status: open
      Group:
      Created: Sun Jul 19, 2026 11:49 PM UTC by Marco Ferraris
      Last Updated: Tue Jul 21, 2026 09:16 AM UTC
      Owner: nobody

      Hi Arthur,

      compiling revisions 7377, 7378, 7379 and 7380 of csl-reduce on macOS Tahoe (M1 chip) fails.

      When trying to compile "arith01.c" compilation stops with the following message

      gmake[3]: *** Nessuna regola per generare l'obiettivo «lvector.h», necessario per «csl-arith01.o». Arresto.

      It looks like that the header file "lvector.h" is missing.

      This happens also for the Windows 11 (x86_64) for revision 7380.

      Best regards
      Marco


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

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

       

      Related

      Bugs: #195


Log in to post a comment.