* Current git master build fails on 32bit
@ 2016-05-23 11:46 dsmich
2016-06-12 21:27 ` dsmich
0 siblings, 1 reply; 2+ messages in thread
From: dsmich @ 2016-05-23 11:46 UTC (permalink / raw)
To: guile-devel
Git master is failing to build for me. My old 32bit single core machine.
$ git describe
v2.1.2-164-gc95a193
$ gcc --version
gcc (Debian 4.9.2-10) 4.9.2
Here is the error:
GUILEC language/ecmascript/impl.go
wrote `language/ecmascript/impl.go'
GUILEC language/ecmascript/base.go
language/ecmascript/base.scm:229:22: warning: possibly unbound variable `Boolean'
language/ecmascript/base.scm:230:21: warning: possibly unbound variable `String'
language/ecmascript/base.scm:231:21: warning: possibly unbound variable `Number'
Backtrace:
In ice-9/boot-9.scm:
147:2 19 (with-fluid* _ _ _)
In system/base/target.scm:
57:6 18 (with-target _ _)
In system/base/compile.scm:
150:6 17 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ ?)
43:4 16 (call-once _)
In ice-9/boot-9.scm:
824:4 15 (with-throw-handler _ _ _)
In system/base/compile.scm:
59:11 14 (_)
153:11 13 (_ #<closed: file 8473990>)
217:8 12 (read-and-compile _ #:from _ #:to _ #:env _ #:opts _)
253:6 11 (compile _ #:from _ #:to _ #:env _ #:opts _)
181:32 10 (lp (#<procedure compile-bytecode (exp env opts)>) _ _ # ?)
In language/cps/compile-bytecode.scm:
573:12 9 (compile-bytecode _ #<directory (language ecmascript b?> ?)
568:12 8 (lower-cps _ _)
In language/cps/optimize.scm:
106:0 7 (optimize-first-order-cps _ _)
In language/cps/licm.scm:
306:4 6 (hoist-loop-invariant-code _)
In language/cps/intmap.scm:
514:5 5 (visit-branch #(#(#(#<intset 0-1295> (absent) # ?) ?) ?) ?)
514:5 4 (visit-branch #((absent) (absent) (absent) (absent) # ?) ?)
514:5 3 (visit-branch #((absent) (absent) (absent) (absent) # ?) ?)
In language/cps/licm.scm:
300:11 2 (hoist-in-function _ _ #<intmap 0-2447>)
229:20 1 (hoist-in-loop #<intmap 0-2447> 2088 #<intset 2081-208?> ?)
In ice-9/boot-9.scm:
748:26 0 (dispatch-exception _ _ _)
ice-9/boot-9.scm:748:26: In procedure dispatch-exception:
ice-9/boot-9.scm:748:26: Throw to key `match-error' with args `("match" "no matching pattern" #<cps (ktail)>)'.
Makefile:2208: recipe for target 'language/ecmascript/base.go' failed
make[2]: *** [language/ecmascript/base.go] Error 1
make[2]: *** Waiting for unfinished jobs....
wrote `language/ecmascript/parse.go'
make[2]: Leaving directory '/home/dsmith/src/guile/module'
Makefile:1816: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/dsmith/src/guile'
Makefile:1701: recipe for target 'all' failed
make: *** [all] Error 2
May not be related, but these warnings were generated when compiling hashtab:
CC libguile_2.2_la-hashtab.lo
hash.c: In function 'narrow_string_hash':
hash.c:115:3: warning: left shift count >= width of type
JENKINS_LOOKUP3_HASHWORD2 (str, len, ret);
^
hash.c: In function 'wide_string_hash':
hash.c:124:3: warning: left shift count >= width of type
JENKINS_LOOKUP3_HASHWORD2 (str, len, ret);
^
hash.c: In function 'scm_i_utf8_string_hash':
hash.c:213:5: warning: left shift count >= width of type
ret = (((unsigned long) c) << 32) | b;
^
-Dale
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Current git master build fails on 32bit
2016-05-23 11:46 Current git master build fails on 32bit dsmich
@ 2016-06-12 21:27 ` dsmich
0 siblings, 0 replies; 2+ messages in thread
From: dsmich @ 2016-06-12 21:27 UTC (permalink / raw)
To: guile-devel, dsmich
---- dsmich@roadrunner.com wrote:
> Git master is failing to build for me. My old 32bit single core machine.
>
> $ git describe
> v2.1.2-164-gc95a193
>
Yey! v2.1.2-200-g7142005 is now (mostly) working.
However, make -k check is failing in a few places. Handling EOF seems to be a common theme... :
language/ecmascript/tokenize.scm:460:21: language/ecmascript/tokenize.scm:460:21: Syntax error:
unknown file:1:0: bad syntax: character not allowed in form #<eof>
FAIL: test-language
error: interrupted by the user
and
Running ecmascript.test
ERROR: ecmascript.test: parser: true; - arguments: ((syntax-error #f "Syntax error: unexpected end of input" #f #f #f))
ERROR: ecmascript.test: parser: true; - arguments: ((syntax-error #f "Syntax error: unexpected end of input" #f #f #f))
ERROR: ecmascript.test: parser: 2 + 2; - arguments: ((wrong-type-arg "char=?" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "character" #<eof>) (#<eof>)))
ERROR: ecmascript.test: parser: 2 + 2; - arguments: ((wrong-type-arg "char=?" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "character" #<eof>) (#<eof>)))
ERROR: ecmascript.test: parser: 2\xa0+2; - arguments: ((wrong-type-arg "char=?" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "character" #<eof>) (#<eof>)))
ERROR: ecmascript.test: parser: 2\xa0+2; - arguments: ((wrong-type-arg "char=?" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "character" #<eof>) (#<eof>)))
ERROR: ecmascript.test: parser: "hello"; - arguments: ((wrong-type-arg "string" "Wrong type (expecting ~A): ~S" ("character" #<eof>) (#<eof>)))
ERROR: ecmascript.test: parser: "hello"; - arguments: ((wrong-type-arg "string" "Wrong type (expecting ~A): ~S" ("character" #<eof>) (#<eof>)))
ERROR: ecmascript.test: parser: function square(x) { return x * x; } - arguments: ((syntax-error #f "Syntax error: unexpected end of input" #f #f #f))
ERROR: ecmascript.test: parser: function square(x) { return x * x; } - arguments: ((syntax-error #f "Syntax error: unexpected end of input" #f #f #f))
ERROR: ecmascript.test: parser: document.write('Hello, world!'); - arguments: ((syntax-error #f "Syntax error: unexpected end of input" #f #f #f))
ERROR: ecmascript.test: parser: document.write('Hello, world!'); - arguments: ((syntax-error #f "Syntax error: unexpected end of input" #f #f #f))
ERROR: ecmascript.test: parser: var x = { foo: 12, bar: "hello" }; - arguments: ((syntax-error #f "Syntax error: unexpected end of input" #f #f #f))
ERROR: ecmascript.test: parser: var x = { foo: 12, bar: "hello" }; - arguments: ((syntax-error #f "Syntax error: unexpected end of input" #f #f #f))
ERROR: ecmascript.test: parser: "\x12"; - arguments: ((wrong-type-arg "string" "Wrong type (expecting ~A): ~S" ("character" #<eof>) (#<eof>)))
ERROR: ecmascript.test: parser: "\x12"; - arguments: ((wrong-type-arg "string" "Wrong type (expecting ~A): ~S" ("character" #<eof>) (#<eof>)))
ERROR: ecmascript.test: parser: "\u1234"; - arguments: ((wrong-type-arg "string" "Wrong type (expecting ~A): ~S" ("character" #<eof>) (#<eof>)))
ERROR: ecmascript.test: parser: "\u1234"; - arguments: ((wrong-type-arg "string" "Wrong type (expecting ~A): ~S" ("character" #<eof>) (#<eof>)))
ERROR: ecmascript.test: parser: function foo(x) { } - arguments: ((syntax-error #f "Syntax error: unexpected end of input" #f #f #f))
ERROR: ecmascript.test: parser: function foo(x) { } - arguments: ((syntax-error #f "Syntax error: unexpected end of input" #f #f #f))
ERROR: ecmascript.test: parser: .123; - arguments: ((syntax-error #f "bad syntax: character not allowed" ((filename . #f) (line . 0) (column . 0)) #<eof> #f ()))
ERROR: ecmascript.test: parser: .123; - arguments: ((syntax-error #f "bad syntax: character not allowed" ((filename . #f) (line . 0) (column . 0)) #<eof> #f ()))
ERROR: ecmascript.test: parser: 0xff; - arguments: ((wrong-type-arg "char=?" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "character" #<eof>) (#<eof>)))
ERROR: ecmascript.test: parser: 0xff; - arguments: ((wrong-type-arg "char=?" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "character" #<eof>) (#<eof>)))
ERROR: ecmascript.test: compiler: true; - arguments: ((syntax-error #f "Syntax error: unexpected end of input" #f #f #f))
ERROR: ecmascript.test: compiler: if (3 > 2) true; else false; - arguments: ((syntax-error #f "Syntax error: unexpected end of input" #f #f #f))
ERROR: ecmascript.test: compiler: 2 + 2; - arguments: ((wrong-type-arg "char=?" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "character" #<eof>) (#<eof>)))
ERROR: ecmascript.test: compiler: "hello"; - arguments: ((wrong-type-arg "string" "Wrong type (expecting ~A): ~S" ("character" #<eof>) (#<eof>)))
ERROR: ecmascript.test: compiler: var test = { bar: 1 }; - arguments: ((syntax-error #f "Syntax error: unexpected end of input" #f #f #f))
ERROR: ecmascript.test: compiler: 42 + " good times!"; - arguments: ((wrong-type-arg "char=?" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "character" #<eof>) (#<eof>)))
ERROR: ecmascript.test: compiler: [0,1,2,3,4,5].length * 7; - arguments: ((syntax-error #f "bad syntax: character not allowed" ((filename . #f) (line . 0) (column . 0)) #<eof> #f ()))
and
Running ports.test
FAIL: ports.test: file: in tell 1
FAIL: ports.test: file: in tell 0 after unread
ERROR: ports.test: file: putback buffer flushed after seek - arguments: ((wrong-type-arg "char=?" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "character" #<eof>) (#<eof>)))
ERROR: ports.test: string ports: input tell 1 - arguments: ((out-of-range "string_port_seek" "Value out of range: ~S" (-33) (-33)))
ERROR: ports.test: string ports: input tell back to 0 - arguments: ((out-of-range "string_port_seek" "Value out of range: ~S" (-1) (-1)))
ERROR: ports.test: string ports: putback buffer discarded after seek - arguments: ((wrong-type-arg "char=?" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "character" #<eof>) (#<eof>)))
ERROR: ports.test: string ports: input seek to beginning - arguments: ((out-of-range "string_port_seek" "Value out of range: ~S" (-1) (-1)))
ERROR: ports.test: string ports: input reread first char - arguments: ((wrong-type-arg "char=?" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "character" #<eof>) (#<eof>)))
FAIL: ports.test: seek: file port: SEEK_CUR
FAIL: ports.test: truncate-file: file port: shorten to current pos
and
Running suspendable-ports.test
FAIL: suspendable-ports.test: file: in tell 1
FAIL: suspendable-ports.test: file: in tell 0 after unread
ERROR: suspendable-ports.test: file: putback buffer flushed after seek - arguments: ((wrong-type-arg "char=?" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "character" #<eof>) (#<eof>)))
ERROR: suspendable-ports.test: string ports: input tell 1 - arguments: ((out-of-range "string_port_seek" "Value out of range: ~S" (-33) (-33)))
ERROR: suspendable-ports.test: string ports: input tell back to 0 - arguments: ((out-of-range "string_port_seek" "Value out of range: ~S" (-1) (-1)))
ERROR: suspendable-ports.test: string ports: putback buffer discarded after seek - arguments: ((wrong-type-arg "char=?" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "character" #<eof>) (#<eof>)))
ERROR: suspendable-ports.test: string ports: input seek to beginning - arguments: ((out-of-range "string_port_seek" "Value out of range: ~S" (-1) (-1)))
ERROR: suspendable-ports.test: string ports: input reread first char - arguments: ((wrong-type-arg "char=?" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "character" #<eof>) (#<eof>)))
FAIL: suspendable-ports.test: seek: file port: SEEK_CUR
FAIL: suspendable-ports.test: truncate-file: file port: shorten to current pos
UNRESOLVED: suspendable-ports.test: 7.2.11 Binary Output: put-bytevector [2 args]
UNRESOLVED: suspendable-ports.test: 7.2.11 Binary Output: put-bytevector [3 args]
UNRESOLVED: suspendable-ports.test: 7.2.11 Binary Output: put-bytevector [4 args]
ERROR: suspendable-ports.test: 7.2.7 Input Ports: custom binary input port unbuffered & 'port-position' - arguments: ((out-of-range "string_port_seek" "Value out of range: ~S" (-9) (-9)))
-Dale
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-12 21:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-23 11:46 Current git master build fails on 32bit dsmich
2016-06-12 21:27 ` dsmich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).