Re: latest changes break build

Bruno Haible <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <5262716.x5pFJbnNta@omega>
Don, Sam,

> $ /home/don/hg/clisp/build-dir/clisp -K boot  -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc --version
> STACK size: 98222 [0x7ffa8ed7ee00 0x7ffa8ecbf090]
> GNU CLISP 2.49+ (2010-07-17) (built 3697183652) (memory 3697183717)
> Software: GNU C 6.3.1 20161221 (Red Hat 6.3.1-1) 
> gcc -m64 -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -falign-functions=4 -fno-strict-aliasing -ggdb -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DENABLE_UNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DDYNAMIC_MODULES  libgnu.a  -ldl /usr/local/lib/libavcall.a /usr/local/lib/libcallback.a  /usr/local/lib64/libsigsegv.a -lc  
> SAFETY=3 TYPECODES WIDE_HARD SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY

Thanks. I'm reproducing it through a build with CPPFLAGS="-DSAFETY=3 -DDEBUG_SPVW"
but probably any options will do as well. The point is that we expect

$ ./clisp -K boot  -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc --version 2>/dev/null | head -n 1

to be 1 line:
"GNU CLISP 2.49+ (2010-07-17) (built 3697183652) (memory 3697183717)"
but in fact it is the empty line.

Here you see why:

$ ./clisp -K boot  -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc --version 2>/dev/null | \
  hexdump -e '"%06.6_ax  " 16/1 "%02X "' -e '"  " 16/1 "%_p" "\n"' "$@"
000000  0A 2A 2A 2A 20 2D 20 54 52 55 45 4E 41 4D 45 3A  .*** - TRUENAME:
000010  20 54 68 65 20 76 61 6C 75 65 20 6F 66 20 2A 54   The value of *T
000020  45 52 4D 49 4E 41 4C 2D 49 4F 2A 20 77 61 73 20  ERMINAL-IO* was 
000030  6E 6F 74 20 61 6E 20 61 70 70 72 6F 70 72 69 61  not an appropria
000040  74 65 20 73 74 72 65 61 6D 3A 20 23 3C 43 4C 4F  te stream: #<CLO
000050  53 45 44 20 49 4F 20 54 45 52 4D 49 4E 41 4C 2D  SED IO TERMINAL-
000060  53 54 52 45 41 4D 3E 2E 20 49 74 20 68 61 73 20  STREAM>. It has 
000070  62 65 65 6E 20 63 68 61 6E 67 65 64 20 74 6F 0A  been changed to.
000080  20 20 20 20 20 20 23 3C 49 4F 20 54 45 52 4D 49        #<IO TERMI
000090  4E 41 4C 2D 53 54 52 45 41 4D 3E 2E 0A 45 78 69  NAL-STREAM>..Exi
0000a0  74 69 6E 67 20 6F 6E 20 73 69 67 6E 61 6C 20 36  ting on signal 6
0000b0  0A                                               .

Sam, your turn, I guess.

Bruno


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.