Menu

#728 linux --with-debug: oint_addr_mask does not cover CODE_ADDRESS_RANGE

build problems
open
None
5
2018-02-13
2018-02-11
No

on Linux 4.13.0-33-generic with gcc (Ubuntu 7.2.0-8ubuntu3.2) 7.2.0 I get

gcc -I/home/sds/src/clisp/current/src -I/home/sds/src/clisp/current/build-g/gllib -I/home/sds/src/clisp/current/src/gllib -no-integrated-cpp -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -Wno-shift-negative-value -fwrapv -fno-strict-aliasing -ggdb -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DNO_ASM -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -c spvw.c
In file included from ../src/spvw.d:23:0:
../src/lispbibl.d:6536:6: error: #error oint_addr_mask does not cover CODE_ADDRESS_RANGE !!
     #error oint_addr_mask does not cover CODE_ADDRESS_RANGE !!
      ^~~~~
Makefile:1103: recipe for target 'spvw.o' failed
make: *** [spvw.o] Error 1

after ./configure --with-debug build-g

1 Attachments

Discussion

  • Bruno Haible

    Bruno Haible - 2018-02-12

    Please provide the following additional info:

    1. grep RANGE config.status
    2. Output of ./lisp.run -mm, as described in unix/PLATFORMS.
     
    • Sam Steingold

      Sam Steingold - 2018-02-12
      $ grep RANGE config.status
      D["CODE_ADDRESS_RANGE"]=" 0x000055C6F8000000UL"
      D["MALLOC_ADDRESS_RANGE"]=" 0x0000559353000000UL"
      D["SHLIB_ADDRESS_RANGE"]=" 0x00007F9F43000000UL"
      D["STACK_ADDRESS_RANGE"]=" 0x00007FFC2C000000UL"
      
       
    • Sam Steingold

      Sam Steingold - 2018-02-12

      the compilation error prevents building lisp.run.

       
      • Bruno Haible

        Bruno Haible - 2018-02-12

        Try a build with --enable-portability. This build should not run into this compilation error, and from the lisp.run executable of this build you can try the -mm option.

         
        • Sam Steingold

          Sam Steingold - 2018-02-12
          $ ./lisp.run -mm
          Memory dump:
            0x56147101c000 - 0x56147139afff
            0x56147159b000 - 0x5614715c5fff
            0x5614715c6000 - 0x5614715f2fff
            0x5614715f3000 - 0x5614715f6fff
            0x561473272000 - 0x561473292fff
            0x7fea4287e000 - 0x7fea42a53fff
            0x7fea42a54000 - 0x7fea42c53fff
            0x7fea42c54000 - 0x7fea42c57fff
            0x7fea42c58000 - 0x7fea42c59fff
            0x7fea42c5a000 - 0x7fea42c5dfff
            0x7fea42c5e000 - 0x7fea42c60fff
            0x7fea42c61000 - 0x7fea42e5ffff
            0x7fea42e60000 - 0x7fea42e60fff
            0x7fea42e61000 - 0x7fea42e61fff
            0x7fea42e62000 - 0x7fea42e63fff
            0x7fea42e64000 - 0x7fea43062fff
            0x7fea43063000 - 0x7fea43063fff
            0x7fea43064000 - 0x7fea43064fff
            0x7fea43065000 - 0x7fea43065fff
            0x7fea43066000 - 0x7fea43264fff
            0x7fea43265000 - 0x7fea43265fff
            0x7fea43266000 - 0x7fea43266fff
            0x7fea43267000 - 0x7fea43269fff
            0x7fea4326a000 - 0x7fea43468fff
            0x7fea43469000 - 0x7fea43469fff
            0x7fea4346a000 - 0x7fea4346afff
            0x7fea4346b000 - 0x7fea4348ffff
            0x7fea43490000 - 0x7fea4368efff
            0x7fea4368f000 - 0x7fea43692fff
            0x7fea43693000 - 0x7fea43693fff
            0x7fea43694000 - 0x7fea436d4fff
            0x7fea436d5000 - 0x7fea438d4fff
            0x7fea438d5000 - 0x7fea438d6fff
            0x7fea438d7000 - 0x7fea438dcfff
            0x7fea438dd000 - 0x7fea438ddfff
            0x7fea438de000 - 0x7fea43904fff
            0x7fea43ada000 - 0x7fea43ae0fff
            0x7fea43b05000 - 0x7fea43b05fff
            0x7fea43b06000 - 0x7fea43b06fff
            0x7fea43b07000 - 0x7fea43b07fff
            0x7fff75ec5000 - 0x7fff75ee4fff
            0x7fff75ee5000 - 0x7fff75ee6fff
            0x7fff75f3c000 - 0x7fff75f3efff
            0x7fff75f3f000 - 0x7fff75f40fff
            0xffffffffff600000 - 0xffffffffff600fff
          

          should --with-debug imply --enable-portability?

           
  • Bruno Haible

    Bruno Haible - 2018-02-13
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -0,0 +1 @@
    +clisp-amd64.diff (3.1 kB; text/x-patch)
    
     
  • Bruno Haible

    Bruno Haible - 2018-02-13

    The attached patch will fix it. Thanks for the report!

     

Log in to post a comment.

MongoDB Logo MongoDB