Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

random build errors

Help
2014-06-19
2014-07-08
  • Hello all,

    i'm trying to build reduce-psl with cygwin64 under windows 8.1
    All seems fine, but when I launch make I got this:

    $ make
    /bin/sh scripts/make.sh
    MFLAGS=<> MKFLAGS=<> MAKECMDGOALS=<> args=<>
    par=no PSLMFLAGS=<>
    Current machine tag is x86_64-pc-windows
    About to build in pslbuild/x86_64-pc-windows
    make MYFLAGS= --no-print-directory
    if ! test -f red/bootstrap.img; \ then make red/bootstrap.img; \ if test -f red/bootstrap.img; then make reduce; fi; \ else touch red/bootstrap.img; touch red/hugo; make reduce; fi
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh support x86_64-pc-windows
    build core module support for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh rlisp x86_64-pc-windows
    build core module rlisp for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh alg x86_64-pc-windows
    build core module alg for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh poly x86_64-pc-windows
    build core module poly for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh polydiv x86_64-pc-windows
    build core module polydiv for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh arith x86_64-pc-windows
    build core module arith for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh mathpr x86_64-pc-windows
    build core module mathpr for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh ezgcd x86_64-pc-windows
    build core module ezgcd for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh factor x86_64-pc-windows
    build core module factor for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh hephys x86_64-pc-windows
    build core module hephys for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh int x86_64-pc-windows
    build core module int for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh matrix x86_64-pc-windows
    build core module matrix for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh rlisp88 x86_64-pc-windows
    build core module rlisp88 for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh rprint x86_64-pc-windows
    build core module rprint for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh fmprint x86_64-pc-windows
    build core module fmprint for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh pretty x86_64-pc-windows
    build core module pretty for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh solve x86_64-pc-windows
    build core module solve for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh desir x86_64-pc-windows
    build core module desir for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh ineq x86_64-pc-windows
    build core module ineq for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh modsr x86_64-pc-windows
    build core module modsr for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh rsolve x86_64-pc-windows
    build core module rsolve for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh algint x86_64-pc-windows
    build core module algint for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh arnum x86_64-pc-windows
    build core module arnum for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh assist x86_64-pc-windows
    build core module assist for architecture x86_64-pc-windows
    deps/core-packages.psl-make:186: recipe for target red/assist.b' failed make[2]: *** [red/assist.b] Error 127 Makefile:586: recipe for targetall' failed
    make[1]: [all] Error 2
    Building failed with return code 2 for version pslbuild/x86_64-pc-windows
    Makefile:11: recipe for target `all' failed
    make:
    [all] Error 2

    the very strange and weird thing is that if I launch again the make process, I got an error in another file, i.e.:

    $ make
    /bin/sh scripts/make.sh
    MFLAGS=<> MKFLAGS=<> MAKECMDGOALS=<> args=<>
    par=no PSLMFLAGS=<>
    Current machine tag is x86_64-pc-windows
    About to build in pslbuild/x86_64-pc-windows
    make MYFLAGS= --no-print-directory
    if ! test -f red/bootstrap.img; \ then make red/bootstrap.img; \ if test -f red/bootstrap.img; then make reduce; fi; \ else touch red/bootstrap.img; touch red/hugo; make reduce; fi
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh support x86_64-pc-windows
    build core module support for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh rlisp x86_64-pc-windows
    build core module rlisp for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh alg x86_64-pc-windows
    build core module alg for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh poly x86_64-pc-windows
    build core module poly for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh polydiv x86_64-pc-windows
    build core module polydiv for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh arith x86_64-pc-windows
    build core module arith for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh mathpr x86_64-pc-windows
    build core module mathpr for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh ezgcd x86_64-pc-windows
    build core module ezgcd for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh factor x86_64-pc-windows
    build core module factor for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh hephys x86_64-pc-windows
    build core module hephys for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh int x86_64-pc-windows
    build core module int for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh matrix x86_64-pc-windows
    build core module matrix for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh rlisp88 x86_64-pc-windows
    build core module rlisp88 for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh rprint x86_64-pc-windows
    build core module rprint for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh fmprint x86_64-pc-windows
    build core module fmprint for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh pretty x86_64-pc-windows
    build core module pretty for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh solve x86_64-pc-windows
    build core module solve for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh desir x86_64-pc-windows
    build core module desir for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh ineq x86_64-pc-windows
    build core module ineq for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh modsr x86_64-pc-windows
    build core module modsr for architecture x86_64-pc-windows
    /home/Fausto/reduce-algebra-code-2575-trunk/psl/coremodule.sh rsolve x86_64-pc-windows
    build core module rsolve for architecture x86_64-pc-windows
    deps/core-packages.psl-make:162: recipe for target red/rsolve.b' failed make[2]: *** [red/rsolve.b] Error 127 Makefile:586: recipe for targetall' failed
    make[1]: [all] Error 2
    Building failed with return code 2 for version pslbuild/x86_64-pc-windows
    Makefile:11: recipe for target `all' failed
    make:
    [all] Error 2

    Now I cannot build rsolve, but the previous make compiled it without errors!!!!

    Really I don't know how to fix this error. I tried several gcc versions, several make versions... but I have always the same problem.
    Is it possible to check the log file that should contains this error ? Where I can find it ?

    thanks in advance,
    Fausto

     
    • Hello all,

      just to specify I'm using the latest snapshot of the source code (rev. 2575).

      regards,
      Fausto

       
    • Rainer Schöpf
      Rainer Schöpf
      2014-06-20

      I believe this is caused by the Windows 8 Address Space Layout Randomization, so that every new PSL process has a different, randomly chosen heap address.

      This shouldn't make a difference, but it does (on Windows 8). We need to look very carefully into the PSL startup code and check why this happens.

      Rainer

       
      • thefausap
        thefausap
        2014-07-08

        Hello,

        I disabled ASLR for bpsl.exe and now the building process is almost ok.
        But it stops at

        /home/Fausto/reduce-algebra-code-2575-trunk/psl/noncoremodule.sh ranum
        x86_64-pc-windows
        build noncore module ranum for architecture x86_64-pc-windows

        It seems reduce.img has been created, but redpsl script doesn't work.
        I have

        /home/Fausto/reduce-algebra-code-2575-trunk/scripts/../pslbuild/x86_64-pc-windows/red/reduce.img:
        No such file or directory

        If I go in pslbuild/x86_64-pc-windows/psl and run:

        ./bpsl.exe -td 1000 -f ../red/reduce.img

        it works!

        Regards,
        Fausto

        2014-06-20 12:31 GMT+02:00 "Rainer Schöpf" schoepf@users.sf.net:

        I believe this is caused by the Windows 8 Address Space Layout
        Randomization, so that every new PSL process has a different, randomly
        chosen heap address.

        This shouldn't make a difference, but it does (on Windows 8). We need to
        look very carefully into the PSL startup code and check why this happens.

        Rainer


        random build errors


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

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