[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] 1. Result from latest tarballsl (30/9/2014 &1/10/2014) for 4.7
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] 1. Result from latest tarballsl (30/9/2014 &1/10/2014) for 4.7.3, on i686-32b, under Ubuntu 14.04 |
Date: |
Wed, 08 Oct 2014 11:17:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
JD <address@hidden> writes:
> Gaius,
> The summary was:
> === gm2 Summary ===
>
> # of expected passes 7561
> # of unexpected failures 1513
> # of unresolved testcases 540
>
> In my build-log the final testsuite lines were:
>
> FAIL: pass/varient5.mod execution, -g
> FAIL: pass/varient5.mod execution, -O
> FAIL: pass/varient5.mod execution, -O -g
> FAIL: pass/varient5.mod execution, -Os
> FAIL: pass/varient5.mod execution, -O3 -fomit-frame-pointer
> FAIL: pass/varient5.mod execution, -O3 -fomit-frame-pointer -
> finline-functions
> Running
>
> /home/john/GM2/scratch-area/gcc-4.7.3+gm2-git-latest/gm2/gcc-versionno/gcc/testsuite/gm2/ulmlib/pass/gm2.
> exp ...
> Running
>
> /home/john/GM2/scratch-area/gcc-4.7.3+gm2-git-latest/gm2/gcc-versionno/gcc/testsuite/gm2/ulmlib/std/pass/gm2.
> exp ...
> So I looked at varient5.mod and tried compiling it - I succeeded! And
> the a.out "executed" without error - it did bugger all, of course. So,
> is the testsuite conclusion of "FAIL" wrong?
>
> To save you looking, varient5.mod is:
>
> MODULE varient5 ;
>
> TYPE
> Structform = (sets) ;
> Structrec = RECORD
> CASE form: Structform OF
> sets: basep: CARDINAL ;
> hmm: RECORD
> CASE foo: Structform OF
> sets: offset: CARDINAL ;
> END
> END
> END
> END ;
>
> BEGIN
> END varient5.
>
> In order to compile it I used gm2 in ~/opt/bin but I needed:
>
> PATH=$PATH:/home/john/opt/lib/gcc/i686-pc-linux-gnu/4.7.3
> in order to find cc1plus.
>
> Is this helpful?
>
> Regards,
> John
Hi John,
yes very useful - thanks!! I appears that the path set in gm2.exp in
that directory is incorrect - will fix and commit,
regards,
Gaius