Re: latest changes break build

Sam Steingold <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <86innsbf4o.fsf@sdsGazPro>
Bruno,

> * Bruno Haible <[email protected]> [2017-02-27 22:25:59 +0100]:
>
> 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.
>
> $ ./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.

somehow gdb does not stop:

(gdb) br main
Breakpoint 20 at 0x106848: file ../src/spvw.d, line 3699.
(gdb) run
Starting program: /home/sds/src/clisp/current/build-g/lisp.run -M lispinit.mem |cat
STACK size: 98222 [0x7ffff7f81e00 0x7ffff7ec2090]

*** - TRUENAME: The value of *TERMINAL-IO* was not an appropriate stream: #<CLOSED IO TERMINAL-STREAM>. It has been changed to #<IO TERMINAL-STREAM>.
During startup program exited normally.
(gdb) 

this:

(gdb) run -M lispinit.mem 2>/dev/null

stops on breaks, but does not fail with the "not an appropriate stream" error.

ideas?

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 16.10 (yakkety) X 11.0.11804000
http://www.childpsy.net/ http://memri.org http://ffii.org http://dhimmi.org
http://www.dhimmitude.org http://americancensorship.org
MS: our tomorrow's software will run on your tomorrow's HW at today's
speed.

------------------------------------------------------------------------------
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.