[Ecls-list] Error building ecl from cvs

Claus Brod claus.brod at googlemail.com
Wed Oct 1 17:28:58 UTC 2008


The Windows build doesn't seem too well, either - after my latest update, I
get a compiler error in src/c/unixint.d because SIGBUS isn't defined in
Windows:

../../src/c/unixint.d(308) : error C2065: 'SIGBUS' : undeclared identifier



I applied the following temporary patch to make the code compile:

*** src/c/unixint.d     30 Sep 2008 21:09:36 -0000      1.33
--- src/c/unixint.d     1 Oct 2008 17:26:10 -0000
***************
*** 304,311 ****
        int code_int = fixnnint(signal);
        int i;
  #ifdef GBC_BOEHM
!       if ((code_int == SIGSEGV && ecl_get_option(ECL_INCREMENTAL_GC)) ||
!           (code_int == SIGBUS)) {
                FEerror("It is not allowed to change the behavior of
SIGBUS/SEGV
.",
                        0);
        }
--- 304,314 ----
        int code_int = fixnnint(signal);
        int i;
  #ifdef GBC_BOEHM
!       if ((code_int == SIGSEGV && ecl_get_option(ECL_INCREMENTAL_GC))
! #ifdef SIGBUS
!          || (code_int == SIGBUS)
! #endif
!          ) {
                FEerror("It is not allowed to change the behavior of
SIGBUS/SEGV
.",
                        0);
        }



With this change, the code compiles, but now I'm running into an access
violation (0xC0000005) in ecl_min:

C++ compiler flags: /EHsc /DGC_DLL /nologo /D_CRT_SECURE_NO_DEPRECATE
/DNDEBUG /
MD /O2
C++ linker flags: /link /nologo /verbose:lib /nodefaultlib:libcmt
/nodefaultlib:
libcmtd /nodefaultlib:libc /nodefaultlib:libcd /nodefaultlib:msvcrtd.lib
ECL Modules:  cmp asdf sockets rt defsystem profile
ECL Features: (cons :wants-profile (cons :wants-defsystem (cons :wants-rt
(cons
:wants-sockets (cons :wants-asdf (cons :wants-cmp (cons :wants-dlopen
*features*
)))))))
        .\ecl_min < compile.lsp
NMAKE : fatal error U1077: '.\ecl_min' : return code '0xc0000005'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20081001/c3dfe4aa/attachment.html>


More information about the ecl-devel mailing list