#11260: ECL-11.1.1 fails to compile maxima on WIndows 7 / Cygwin 1.7.9
-----------------------+----------------------------------------------------
Reporter: dimpase | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-4.7.1
Component: cygwin | Keywords: fork, remap, ecl
Work_issues: | Upstream: Reported upstream. Developers
acknowledge bug.
Reviewer: | Author:
Merged: | Dependencies:
-----------------------+----------------------------------------------------
Description changed by dimpase:
Old description:
> Symptoms - dreadfully looking errors on address spaces of DLLs with
> temporary names, and dead or dying forks...
>
> {{{
> ; - Compiling source file
> ;
> "/home/dima/sage-4.7.alpha5/spkg/build/maxima-5.23.2/src/src/clmacs.lis
> p"
> ;;;
> ;;; Compiling
> /home/dima/sage-4.7.alpha5/spkg/build/maxima-5.23.2/src/src/clmacs
> .lisp.
> ;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=2
> ;;;
> ;;; Compiling (DEFUN MEMQ ...).
>
> [...]
>
> ;;; Emitting code for DO-MERGE-SYMM.
> ;;; Emitting code for DO-MERGE-ASYM.
> ;;; Note:
> ;;; Constant value optimized away or not used
> ;;; (t)
> ;;; Note:
> ;;; Invoking external command:
> ;;; gcc -I. -I/home/dima/sage-4.7.alpha5/local/include/
> -I/home/dima/sage-4.7.
> alpha5/local/include -g -O2 -Dcygwin -O2 -w -c binary-ecl/clmacs.c -o
> binary-ecl
> /clmacs.o
> ;;; Finished compiling
> /home/dima/sage-4.7.alpha5/spkg/build/maxima-5.23.2/src/s
> rc/clmacs.lisp.
> ;;;
> ;;; Note:
> ;;; Invoking external command:
> ;;; gcc -I. -I/home/dima/sage-4.7.alpha5/local/include/
> -I/home/dima/sage-4.7.
> alpha5/local/include -g -O2 -Dcygwin -O2 -w -c /tmp/eclinit7mTHXx.c -o
> /tmp/ecli
> nit7mTHXx.o
> 4 [main] ecl 2684
> C:\cygwin\home\dima\sage-4.7.alpha5\local\bin\ecl.exe: *
> ** fatal error - unable to remap \\?\C:\cygwin\tmp\eclBeSwlo.dll to same
> address
> as parent: 0x320000 != 0x420000
> 4 [main] ecl 2684
> C:\cygwin\home\dima\sage-4.7.alpha5\local\bin\ecl.exe: *
> ** fatal error - unable to remap \\?\C:\cygwin\tmp\eclBeSwlo.dll to same
> address
> as parent: 0x320000 != 0x420000
> Stack trace:
> Frame Function Args
> 0022A4B8 6102796B (0022A4B8, 00000000, 00000000, 00000000)
> 0022A7A8 6102796B (6117EC60, 00008000, 00000000, 61180977)
> 0022B7D8 61004F1B (611A7FAC, 6124AB54, 00320000, 00420000)
> End of stack trace
> 3 [main] ecl 3168 fork: child 2684 - died waiting for dll loading,
> errno 1
> 1
> 3 [main] ecl 3168 fork: child 2684 - died waiting for dll loading,
> errno 1
> 1
> An error occurred during initialization:
> Could not spawn subprocess to run "gcc"..
> ;;; Note:
> ;;; Invoking external command:
> ;;; gcc -o binary-ecl/clmacs.fas
> -L/home/dima/sage-4.7.alpha5/local/lib/ /tmp/
> eclinit7mTHXx.o binary-ecl/clmacs.o -shared
> -L/home/dima/sage-4.7.alpha5/local/l
> ib -Wl,--enable-auto-image-base -L/home/dima/sage-4.7.alpha5/local/lib
> -Wl,--ena
> ble-auto-image-base -lecl -lgmp -lgc -lm make[1]: *** [binary-ecl/maxima]
> Error
> 1
> make[1]: Leaving directory
> `/home/dima/sage-4.7.alpha5/spkg/build/maxima-5.23.2/
> src/src'
> make: *** [install-recursive] Error 1
> ***********************************************************
> Failed to install Maxima.
> ***********************************************************
> }}}
New description:
The problem is specific to Windows 7, and (most probably---untested) other
newer than XP Windows releases, like Vista, etc.
On these systems Cygwin has still some glitches related to fork etc...
Note that it builds fine under WinXP.
Symptoms - dreadfully looking errors on address spaces of DLLs with
temporary names, and dead or dying forks...
{{{
; - Compiling source file
;
"/home/dima/sage-4.7.alpha5/spkg/build/maxima-5.23.2/src/src/clmacs.lis
p"
;;;
;;; Compiling
/home/dima/sage-4.7.alpha5/spkg/build/maxima-5.23.2/src/src/clmacs
.lisp.
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=2
;;;
;;; Compiling (DEFUN MEMQ ...).
[...]
;;; Emitting code for DO-MERGE-SYMM.
;;; Emitting code for DO-MERGE-ASYM.
;;; Note:
;;; Constant value optimized away or not used
;;; (t)
;;; Note:
;;; Invoking external command:
;;; gcc -I. -I/home/dima/sage-4.7.alpha5/local/include/
-I/home/dima/sage-4.7.
alpha5/local/include -g -O2 -Dcygwin -O2 -w -c binary-ecl/clmacs.c -o
binary-ecl
/clmacs.o
;;; Finished compiling
/home/dima/sage-4.7.alpha5/spkg/build/maxima-5.23.2/src/s
rc/clmacs.lisp.
;;;
;;; Note:
;;; Invoking external command:
;;; gcc -I. -I/home/dima/sage-4.7.alpha5/local/include/
-I/home/dima/sage-4.7.
alpha5/local/include -g -O2 -Dcygwin -O2 -w -c /tmp/eclinit7mTHXx.c -o
/tmp/ecli
nit7mTHXx.o
4 [main] ecl 2684
C:\cygwin\home\dima\sage-4.7.alpha5\local\bin\ecl.exe: *
** fatal error - unable to remap \\?\C:\cygwin\tmp\eclBeSwlo.dll to same
address
as parent: 0x320000 != 0x420000
4 [main] ecl 2684
C:\cygwin\home\dima\sage-4.7.alpha5\local\bin\ecl.exe: *
** fatal error - unable to remap \\?\C:\cygwin\tmp\eclBeSwlo.dll to same
address
as parent: 0x320000 != 0x420000
Stack trace:
Frame Function Args
0022A4B8 6102796B (0022A4B8, 00000000, 00000000, 00000000)
0022A7A8 6102796B (6117EC60, 00008000, 00000000, 61180977)
0022B7D8 61004F1B (611A7FAC, 6124AB54, 00320000, 00420000)
End of stack trace
3 [main] ecl 3168 fork: child 2684 - died waiting for dll loading,
errno 1
1
3 [main] ecl 3168 fork: child 2684 - died waiting for dll loading,
errno 1
1
An error occurred during initialization:
Could not spawn subprocess to run "gcc"..
;;; Note:
;;; Invoking external command:
;;; gcc -o binary-ecl/clmacs.fas -L/home/dima/sage-4.7.alpha5/local/lib/
/tmp/
eclinit7mTHXx.o binary-ecl/clmacs.o -shared
-L/home/dima/sage-4.7.alpha5/local/l
ib -Wl,--enable-auto-image-base -L/home/dima/sage-4.7.alpha5/local/lib
-Wl,--ena
ble-auto-image-base -lecl -lgmp -lgc -lm make[1]: *** [binary-ecl/maxima]
Error
1
make[1]: Leaving directory
`/home/dima/sage-4.7.alpha5/spkg/build/maxima-5.23.2/
src/src'
make: *** [install-recursive] Error 1
***********************************************************
Failed to install Maxima.
***********************************************************
}}}
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11260#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.