bug-gawk
[Top][All Lists]
Advanced

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

Re: 2 tests fail when building with gcc on my M1 MacBook


From: arnold
Subject: Re: 2 tests fail when building with gcc on my M1 MacBook
Date: Thu, 06 Oct 2022 03:04:58 -0600
User-agent: Heirloom mailx 12.5 7/5/10

Hi.

Thanks for the report. I hope to have access to such a system sometime
soon and will try to see if I can figure it out. In the meantime,
use clang. :-)

It might be worth reporting this to the GCC team too.

Arnold

Hermann Peifer <peifer@gmx.eu> wrote:

> Hi again,
>
> Here another weird observation after building gawk in my git sandbox.
> All 'make check' tests pass when building with clang 14 or 15, but not
> when using gcc 12.2. See below.
>
> Not sure if this is in any way related to the "pma test fails on M1 mac"
> issue, but there is again a SYMTAB problem in the error message. I was
> building from the master branch where pma has been disabled for M1 mac.
>
> Regards, Hermann
>
>
> [0] Some basic information
>
> # From ./gawkbug
>
> Configuration Information [Automatically generated, do not change]:
> Machine: aarch64
> OS: darwin21.6.0
> Compiler: gcc
> Compilation CFLAGS: -g -O2 -DNDEBUG
> uname output: Darwin hal 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22
> 20:20:05 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T8101 arm64
> Machine Type: aarch64-apple-darwin21.6.0
>
> Gawk Version: 5.2.0
>
> # My git sandbox
>
>  > git status
> On branch master
> Your branch is up to date with 'origin/master'.
> nothing to commit, working tree clean
>  > git pull
> Already up to date.
>
>
> [1] Using Apple clang version 14.0.0 (clang-1400.0.29.102)
>
>  > make distclean && ./configure && make -j && make check
> ...
> ======== Starting PMA tests ========
> PMA tests not supported on this system
> ======== Done with PMA tests ========
> ======== Starting machine-specific tests ========
> If any of these tests fail, don't worry too much.
> double1
> double2
> inf-nan-torture
> intformat
> ======== Done with machine-specific tests ========
> ALL TESTS PASSED
>
>
>
> [2] Using Homebrew clang version 15.0.2
>
>  > make distclean && ./configure && make -j && make check
> ...
> ======== Starting PMA tests ========
> PMA tests not supported on this system
> ======== Done with PMA tests ========
> ======== Starting machine-specific tests ========
> If any of these tests fail, don't worry too much.
> double1
> double2
> inf-nan-torture
> intformat
> ======== Done with machine-specific tests ========
> ALL TESTS PASSED
>
>
> [3] Using Homebrew GCC 12.2.0
>
>  > make distclean && ./configure && make -j && make check
> ...
> ======== Starting PMA tests ========
> PMA tests not supported on this system
> ======== Done with PMA tests ========
> ======== Starting machine-specific tests ========
> If any of these tests fail, don't worry too much.
> double1
> double2
> inf-nan-torture
> intformat
> ======== Done with machine-specific tests ========
> 2 TESTS FAILED
> make[3]: *** [pass-fail] Error 1
> for i in _* ; \
>       do  \
>               if [ "$i" != "_*" ]; then \
>               echo ============== $i ============= ; \
>               base=`echo $i | sed 's/^_//'` ; \
>               if echo "$GAWK_TEST_ARGS" | egrep -e '-M|--bignum' > /dev/null 
> && [ -r
> ${base}-mpfr.ok ]; then \
>               diff -u ${base}-mpfr.ok $i ; \
>               elif echo "$GAWK_TEST_ARGS" | egrep -e '-M|--bignum' > 
> /dev/null && [
> -r "."/${base}-mpfr.ok ]; then \
>               diff -u "."/${base}-mpfr.ok $i ; \
>               elif [ -r ${base}.ok ]; then \
>               diff -u ${base}.ok $i ; \
>               else \
>               diff -u "."/${base}.ok  $i ; \
>               fi ; \
>               fi ; \
>       done | more
> ============== _dumpvars =============
> --- dumpvars.ok 2022-10-03 18:35:20.849838337 +0200
> +++ _dumpvars   2022-10-06 09:46:36.337862018 +0200
> @@ -1,6 +1,6 @@
>   ARGC: 1
>   ARGIND: 0
> -ARGV: array, 1 elements
> +ARGV: array, 105553116266497 elements
>   BINMODE: 0
>   CONVFMT: "%.6g"
>   ERRNO: ""
> @@ -9,7 +9,7 @@
>   FNR: 3
>   FPAT: "[^[:space:]]+"
>   FS: " "
> -FUNCTAB: array, 42 elements
> +FUNCTAB: array, 105553116266538 elements
>   IGNORECASE: 0
>   LINT: 0
>   NF: 1
> @@ -24,5 +24,5 @@
>   RSTART: 0
>   RT: "\n"
>   SUBSEP: "\034"
> -SYMTAB: array, 28 elements
> +SYMTAB: array, 105553116266524 elements
>   TEXTDOMAIN: "messages"
> ============== _symtab8 =============
> --- symtab8.ok  2022-10-03 18:35:20.905332159 +0200
> +++ _symtab8    2022-10-06 09:46:38.510263728 +0200
> @@ -1,7 +1,7 @@
>   test
>   ARGC: 2
>   ARGIND: 1
> -ARGV: array, 2 elements
> +ARGV: array, 105553116266498 elements
>   BINMODE: 0
>   CONVFMT: "%.6g"
>   ERRNO: ""
> @@ -9,7 +9,7 @@
>   FNR: 1
>   FPAT: "[^[:space:]]+"
>   FS: " "
> -FUNCTAB: array, 42 elements
> +FUNCTAB: array, 105553116266538 elements
>   IGNORECASE: 0
>   LINT: 0
>   NF: 1
> @@ -24,6 +24,6 @@
>   RSTART: 0
>   RT: "\n"
>   SUBSEP: "\034"
> -SYMTAB: array, 29 elements
> +SYMTAB: array, 105553116266525 elements
>   TEXTDOMAIN: "messages"
>   test: 1
> make[2]: *** [check] Error 1
> make[1]: *** [check-recursive] Error 1
> make: *** [check] Error 2
>



reply via email to

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