bison test suite fails

Robert Connolly robert at linuxfromscratch.org
Sun Apr 13 16:15:45 PDT 2008


These failures are caused by --enable-gcc-warnings. Warnings are treated as 
errors in the test suite. I removed --enable-gcc-warnings in the svn book. 
Thank you for reporting this.

robert

On Friday April 11 2008 02:32:03 pm Chris Buxton wrote:
> The bison 2.3 test suite (section 6.25 in the current book) is failing
> for me.
>
> ERROR: 156 tests were run,
> 28 failed unexpectedly.
> 2 tests were skipped.
>
>   84: Calculator %glr-parser                       FAILED (calc.at:586)
>   85: Calculator %glr-parser %defines              FAILED (calc.at:588)
>   87: Calculator %glr-parser %name-prefix=calc   FAILED (calc.at:590)
>   88: Calculator %glr-parser %verbose              FAILED (calc.at:591)
>   89: Calculator %glr-parser %yacc                 FAILED (calc.at:592)
>   90: Calculator %glr-parser %error-verbose        FAILED (calc.at:593)
>   94: Calculator %glr-parser %debug                FAILED (calc.at:600)
> 108: Exploding the Stack Size with Alloca         FAILED (torture.at:
> 452)
> 126: Dancer %glr-parser                           FAILED
> (regression.at:867)
> 129: Expecting two tokens %glr-parser             FAILED
> (regression.at:964)
> 133: GLR: Resolve ambiguity, impure, no locations FAILED (cxx-type.at:
> 414)
> 135: GLR: Resolve ambiguity, pure, no locations   FAILED (cxx-type.at:
> 427)
> 137: GLR: Merge conflicting parses, impure, no locationsFAILED (cxx-
> type.at:441)
> 139: GLR: Merge conflicting parses, pure, no locationsFAILED (cxx-
> type.at:455)
> 141: GLR: Verbose messages, resolve ambiguity, impure, no
> locationsFAILED (cxx-type.at:468)
> 142: Badly Collapsed GLR States                   FAILED (glr-
> regression.at:97)
> 143: Improper handling of embedded actions and dollar(-N) in GLR
> parsersFAILED (glr-regression.at:213)
> 144: Improper merging of GLR delayed action sets  FAILED (glr-
> regression.at:323)
> 145: Duplicate representation of merged trees     FAILED (glr-
> regression.at:418)
> 146: User destructor for unresolved GLR semantic valueFAILED (glr-
> regression.at:488)
> 147: User destructor after an error during a split parseFAILED (glr-
> regression.at:550)
> 148: Duplicated user destructor for lookahead     FAILED (glr-
> regression.at:628)
> 150: No users destructors if stack 0 deleted      FAILED (glr-
> regression.at:807)
> 151: Corrupted semantic options if user action cuts parseFAILED (glr-
> regression.at:870)
> 152: Undesirable destructors if user action cuts parseFAILED (glr-
> regression.at:936)
> 153: Leaked semantic values if user action cuts parseFAILED (glr-
> regression.at:1065)
> 156: Leaked semantic values when reporting ambiguityFAILED (glr-
> regression.at:1506)
> 157: Leaked lookahead after nondeterministic parse syntax errorFAILED
> (glr-regression.at:1572)
>
> Has anyone else seen this?
>
> I've been building with CFLAGS set to "-O3 -fomit-frame-pointer -
> March=i686" except where directed not to do so in the book. There
> haven't been any test failures until this point. But bison fails, even
> with CFLAGS unset.
>
> Chris Buxton
> Professional Services
> Men & Mice


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20080413/9685d471/attachment.sig>


More information about the hlfs-dev mailing list