guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reduce/Reduce conflict errors


From: Matt Wette
Subject: Re: Reduce/Reduce conflict errors
Date: Sat, 21 Oct 2017 07:34:56 -0700

> On Oct 21, 2017, at 12:43 AM, Jeffrey Walton <address@hidden> wrote:
> 
> Hi Everyone,
> 
> I'm building GnuTLS 3.5.15 from sources, including its dependencies.
> One of them is libguile, and I am using version 2.2.2 from
> ftp.gnu.org. I'm working on Ubuntu 17, x86_64.
> 
> The GnuTLS self tests are failing. As a first step I looked through
> the build logs and found the issues below.
> 
> According to the Bison manual, "A reduce/reduce conflict occurs if
> there are two or more rules that apply to the same sequence of input.
> This usually indicates a serious error in the grammar."
> (https://www.gnu.org/software/bison/manual/html_node/Reduce_002fReduce.html).
> 
> My question is, is this something that I should be concerned about?
> Here, I'm only concerned about running GnuTLS self tests; not about Go
> because I don't use Go.
> 
> My second question is, if this needs to be addressed, which version of
> libguile does not experience the issue?
> 
> Thanks in advance,
> 
> Jeff
> 
> ****************************************
> 
>  GUILEC language/cps/with-cps.go
> wrote `language/cps/verify.go'
>  GUILEC language/ecmascript/tokenize.go
> wrote `language/cps/slot-allocation.go'
>  GUILEC language/ecmascript/parse.go
> wrote `language/cps/with-cps.go'
>  GUILEC language/ecmascript/impl.go
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on '--' in state 422
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on '++' in state 422
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on '-' in state 422
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on '+' in state 422
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on 'semicolon' in state 422
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on 'dot' in state 422
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on 'lbracket' in state 422
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on 'lparen' in state 422
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on '--' in state 397
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on '++' in state 397
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on '-' in state 397
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on '+' in state 397
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on 'semicolon' in state 397
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on 'dot' in state 397
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on 'lbracket' in state 397
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on 'lparen' in state 397
> %% Shift/Reduce conflict (shift 367, reduce 49) on 'else' in state 319
> %% Shift/Reduce conflict (shift 144, reduce 177) on 'in' in state 242
> %% Shift/Reduce conflict (shift 144, reduce 178) on 'in' in state 241
> %% Shift/Reduce conflict (shift 144, reduce 179) on 'in' in state 240
> %% Shift/Reduce conflict (shift 144, reduce 180) on 'in' in state 239
> %% Shift/Reduce conflict (shift 80, reduce 119) on 'colon' in state 125
> %% Shift/Reduce conflict (shift 170, reduce 139) on '++' in state 85
> %% Shift/Reduce conflict (shift 169, reduce 139) on '--' in state 85
> %% Shift/Reduce conflict (shift 153, reduce 159) on '+' in state 49
> %% Shift/Reduce conflict (shift 152, reduce 159) on '-' in state 49
> %% Shift/Reduce conflict (shift 144, reduce 176) on 'in' in state 47
> wrote `language/ecmascript/tokenize.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'
> wrote `language/ecmascript/impl.go'
>  GUILEC language/ecmascript/function.go
> language/ecmascript/function.scm:40:9: warning: possibly unbound
> variable `<js-array-object>'
> language/ecmascript/function.scm:44:43: warning: possibly unbound
> variable `js-array-vector'
> wrote `language/ecmascript/function.go'
>  GUILEC language/ecmascript/array.go
> wrote `language/ecmascript/base.go'
>  GUILEC language/ecmascript/compile-tree-il.go
> wrote `language/ecmascript/array.go'
>  GUILEC language/ecmascript/spec.go
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on '--' in state 422
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on '++' in state 422
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on '-' in state 422
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on '+' in state 422
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on 'semicolon' in state 422
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on 'dot' in state 422
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on 'lbracket' in state 422
> %% Reduce/Reduce conflict (reduce 11, reduce 7) on 'lparen' in state 422
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on '--' in state 397
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on '++' in state 397
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on '-' in state 397
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on '+' in state 397
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on 'semicolon' in state 397
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on 'dot' in state 397
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on 'lbracket' in state 397
> %% Reduce/Reduce conflict (reduce 9, reduce 6) on 'lparen' in state 397
> %% Shift/Reduce conflict (shift 367, reduce 49) on 'else' in state 319
> %% Shift/Reduce conflict (shift 144, reduce 177) on 'in' in state 242
> %% Shift/Reduce conflict (shift 144, reduce 178) on 'in' in state 241
> %% Shift/Reduce conflict (shift 144, reduce 179) on 'in' in state 240
> %% Shift/Reduce conflict (shift 144, reduce 180) on 'in' in state 239
> %% Shift/Reduce conflict (shift 80, reduce 119) on 'colon' in state 125
> %% Shift/Reduce conflict (shift 170, reduce 139) on '++' in state 85
> %% Shift/Reduce conflict (shift 169, reduce 139) on '--' in state 85
> %% Shift/Reduce conflict (shift 153, reduce 159) on '+' in state 49
> %% Shift/Reduce conflict (shift 152, reduce 159) on '-' in state 49
> %% Shift/Reduce conflict (shift 144, reduce 176) on 'in' in state 47
> wrote `language/ecmascript/spec.go'
>  GUILEC language/elisp/falias.go
> wrote `language/elisp/falias.go'
>  GUILEC language/elisp/lexer.go

Those are just normal output messages from the test scripts for Guile's LALR 
parser generator.  
As long as you don't get "FAIL"s you should be ok.  And the ".go" indicates 
guile object files.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]