Re: [EXT] [Linaro-TCWG-CI] basepoints/gcc-14-4038-gb975c0dc3be: Failure

2023-09-18 Thread Andrew Pinski
On Sat, Sep 16, 2023 at 12:26 PM Andrew Pinski  wrote:
>
> I could not reproduce the bootstrap failure at -O3 on x86_64.
> I used --with-build-config=bootstrap-O3 .
> Maybe this is an arm (32?) only issue.

It looks like it is only reproducible with ILP32.
And reported as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111435 now.
And I have a fix.

Thanks,
Andrew

>
> Thanks,
> Andrew
>
> 
> From: ci_not...@linaro.org 
> Sent: Saturday, September 16, 2023 5:33 AM
> To: Andrew Pinski
> Cc: gcc-regress...@gcc.gnu.org
> Subject: [EXT] [Linaro-TCWG-CI] basepoints/gcc-14-4038-gb975c0dc3be: Failure
>
> External Email
>
> --
> Dear contributor, our automatic CI has detected problems related to your 
> patch(es).  Please find some details below.  If you have any questions, 
> please follow up on linaro-toolchain@lists.linaro.org mailing list, Libera's 
> #linaro-tcwg channel, or ping your favourite Linaro toolchain developer on 
> the usual project channel.
>
> In CI config tcwg_bootstrap_build/master-arm-bootstrap_O3 after:
>
>   | commit basepoints/gcc-14-4038-gb975c0dc3be
>   | Author: Andrew Pinski 
>   | Date:   Thu Sep 14 14:47:04 2023 -0700
>   |
>   | MATCH: Improve zero_one_valued_p for cases without range information
>   |
>   | I noticed we sometimes lose range information in forwprop due to a few
>   | match and simplify patterns optimizing away casts. So the easier way
>   | to these cases is to add a match for zero_one_valued_p wich mathes
>   | a cast from another zero_one_valued_p.
>   | This also adds the case of `x & zero_one_valued_p` as being 
> zero_one_valued_p
>   | ... 13 lines of the commit log omitted.
>
> Results changed to
> # reset_artifacts:
> -10
> # true:
> 0
> # build_abe bootstrap_O3:
> # FAILED
> # First few build errors in logs:
> # 00:30:42 xg++: internal compiler error: Segmentation fault signal 
> terminated program cc1plus
> # 00:30:42 make[3]: *** [Makefile:1184: tree-ssa-loop-niter.o] Error 4
> # 00:30:42 make[2]: *** [Makefile:5051: all-stage2-gcc] Error 2
> # 00:30:42 make[1]: *** [Makefile:25871: stage2-bubble] Error 2
> # 00:30:42 make: *** [Makefile:1090: all] Error 2
> # 00:07:25 make[3]: [Makefile:1822: 
> armv8l-unknown-linux-gnueabihf/bits/largefile-config.h] Error 1 (ignored)
> # 00:25:31 xg++: internal compiler error: Segmentation fault signal 
> terminated program cc1plus
> # 00:25:31 make[3]: *** [Makefile:1184: tree-ssa-loop-niter.o] Error 4
> # 00:30:14 make[2]: *** [Makefile:5051: all-stage2-gcc] Error 2
> # 00:30:14 make[1]: *** [Makefile:25871: stage2-bubble] Error 2
> # 00:30:14 make: *** [Makefile:1090: all] Error 2
>
> From
> # reset_artifacts:
> -10
> # true:
> 0
> # build_abe bootstrap_O3:
> 1
>
>
>
> -8<--8<--8<--
> The information below can be used to reproduce a debug environment:
>
> Current build   : 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__ci.linaro.org_job_tcwg-5Fbootstrap-5Fbuild-2D-2Dmaster-2Darm-2Dbootstrap-5FO3-2Dbuild_211_artifact_artifacts&d=DwICaQ&c=nKjWec2b6R0mOyPaz7xtfQ&r=L_uAQMgirzaBwiEk05NHY-AMcNfJzugOS_xTjrtS94k&m=nfk6uFrO_t-wguOEbA32pDyvGuUhTwdn9_uQ8Gblwaazik2TcSd17GQcH0o2o8O6&s=WYoaCjYI6xWmbewg03bGLUGOIAecJfgBHCaZiZC1JZk&e=
> Reference build : 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__ci.linaro.org_job_tcwg-5Fbootstrap-5Fbuild-2D-2Dmaster-2Darm-2Dbootstrap-5FO3-2Dbuild_210_artifact_artifacts&d=DwICaQ&c=nKjWec2b6R0mOyPaz7xtfQ&r=L_uAQMgirzaBwiEk05NHY-AMcNfJzugOS_xTjrtS94k&m=nfk6uFrO_t-wguOEbA32pDyvGuUhTwdn9_uQ8Gblwaazik2TcSd17GQcH0o2o8O6&s=hG-1jEiAihzbhIeXE_9N6A65VKNtSbURkRK1Bp2ccm4&e=
>
> Reproduce last good and first bad builds: 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__git.linaro.org_toolchain_ci_interesting-2Dcommits.git_plain_gcc_sha1_b975c0dc3be285655800180260c985bc97886f2e_tcwg-5Fbootstrap-5Fbuild_master-2Darm-2Dbootstrap-5FO3_reproduction-5Finstructions.txt&d=DwICaQ&c=nKjWec2b6R0mOyPaz7xtfQ&r=L_uAQMgirzaBwiEk05NHY-AMcNfJzugOS_xTjrtS94k&m=nfk6uFrO_t-wguOEbA32pDyvGuUhTwdn9_uQ8Gblwaazik2TcSd17GQcH0o2o8O6&s=HPv992XIo9vGGpvMHTetglDPuLwJ5jk2JjPoPUfnWVs&e=
>
> Full commit : 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_gcc-2Dmirror_gcc_commit_b975c0dc3be285655800180260c985bc97886f2e&d=DwICaQ&c=nKjWec2b6R0mOyPaz7xtfQ&r=L_uAQMgirzaBwiEk05NHY-AMcNfJzugOS_xTjrtS94k&m=nfk6uFrO_t-wguOEbA32pDyvGuUhTwdn9_uQ8Gblwaazik2TcSd17GQcH0o2o8O6&s=OID9-u3RWopY9IqGpKcp0c4DrorIhYgvwasNWAr9FsU&e=
>
> Latest bug report status : 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__linaro.atlassian.net_browse_GNU-2D942&d=DwICaQ&c=nKjWec2b6R0mOyPaz7xtfQ&r=L_uAQMgirzaBwiEk05NHY-AMcNfJzugOS_xTjrtS94k&m=nfk6uFrO_t-wguOEbA32pDyvGuUhTwdn9_uQ8Gblwaazik2TcSd17GQcH0o2o8O6&s=vTu1n0EvztBVAVtc63ngN3GXSXOYCKXK1gx5dz82P7M&e=
>
> List of configurations that regressed due to this commit :
> 

Re: [Linaro-TCWG-CI] glibc patch #75959: FAIL: 1 regressions

2023-09-18 Thread Andreas Schwab
On Sep 15 2023, Maxim Kuvyrkov wrote:

> For background, both aarch64 and aarch32 testing is done in docker containers 
> with very similar-looking rootfs images constructed from the same Dockerfile 
> template [3].  Therefore, it's unlikely that we forgot to include a tool or 
> binary in the aarch32 image.

But it could be of the wrong architecture.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."
___
linaro-toolchain mailing list -- linaro-toolchain@lists.linaro.org
To unsubscribe send an email to linaro-toolchain-le...@lists.linaro.org


Re: [Linaro-TCWG-CI] glibc patch #75959: FAIL: 1 regressions

2023-09-18 Thread Andreas Schwab
On Sep 14 2023, Siddhesh Poyarekar wrote:

> I'm looking at the logs and all it has is:
>
> original exit status 127
> running post-clean rsync
>
> for the new test.

127 is command not found in the shell.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."
___
linaro-toolchain mailing list -- linaro-toolchain@lists.linaro.org
To unsubscribe send an email to linaro-toolchain-le...@lists.linaro.org


Re: [Linaro-TCWG-CI] glibc patch #75959: FAIL: 1 regressions

2023-09-18 Thread Siddhesh Poyarekar




On 2023-09-14 16:32, ci_not...@linaro.org wrote:

Dear contributor, our automatic CI has detected problems related to your 
patch(es).  Please find some details below.  If you have any questions, please 
follow up on linaro-toolchain@lists.linaro.org mailing list, Libera's 
#linaro-tcwg channel, or ping your favourite Linaro toolchain developer on the 
usual project channel.

In CI config tcwg_glibc_check/master-arm after:

   | glibc patch https://patchwork.sourceware.org/patch/75959
   | Author: Siddhesh Poyarekar 
   | Date:   Thu Sep 14 06:13:02 2023 -0400
   |
   | getaddrinfo: Fix use after free in getcanonname (CVE-2023-4806)
   |
   | When an NSS plugin only implements the _gethostbyname2_r and
   | _getcanonname_r callbacks, getaddrinfo could use memory that was freed
   | during tmpbuf resizing, through h_name in a previous query response.
   | Fix this by copying h_name over and freeing it at the end.
   |
   | ... 3 lines of the commit log omitted.
   | ... applied on top of baseline commit:
   | 803f4073cc Add MOVE_MOUNT_BENEATH from Linux 6.5 to sys/mount.h

FAIL: 1 regressions

regressions.sum:
=== glibc tests ===

Running glibc:nss ...
FAIL: nss/tst-nss-gai-hv2-canonname

=== Results Summary ===

You can find the failure logs in *.log.1.xz files in
  - 
https://ci.linaro.org/job/tcwg_glibc_check--master-arm-precommit/703/artifact/artifacts/artifacts.precommit/00-sumfiles/
 .
The full lists of regressions and progressions are in
  - 
https://ci.linaro.org/job/tcwg_glibc_check--master-arm-precommit/703/artifact/artifacts/artifacts.precommit/notify/
 .
The list of [ignored] baseline and flaky failures are in
  - 
https://ci.linaro.org/job/tcwg_glibc_check--master-arm-precommit/703/artifact/artifacts/artifacts.precommit/sumfiles/xfails.xfail
 .



-8<--8<--8<--
The information below can be used to reproduce a debug environment:

Current build   : 
https://ci.linaro.org/job/tcwg_glibc_check--master-arm-precommit/703/artifact/artifacts
Reference build : 
https://ci.linaro.org/job/tcwg_glibc_check--master-arm-build/612/artifact/artifacts


Hello,

I'm looking at the logs and all it has is:

original exit status 127
running post-clean rsync

for the new test.  It looks like other NSS tests also fail in the same 
way.  Is this a known issue on arm?


Thanks,
Sid
___
linaro-toolchain mailing list -- linaro-toolchain@lists.linaro.org
To unsubscribe send an email to linaro-toolchain-le...@lists.linaro.org


Re: [EXT] [Linaro-TCWG-CI] basepoints/gcc-14-4038-gb975c0dc3be: Failure

2023-09-18 Thread Maxim Kuvyrkov
> On Sep 17, 2023, at 00:10, Andrew Pinski via Gcc-regression 
>  wrote:
> 
> On Sat, Sep 16, 2023 at 12:26 PM Andrew Pinski  wrote:
>> 
>> I could not reproduce the bootstrap failure at -O3 on x86_64.
>> I used --with-build-config=bootstrap-O3 .
>> Maybe this is an arm (32?) only issue.
> 
> It looks like it is only reproducible with ILP32.
> And reported as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111435 now.
> And I have a fix.

Hi Andrew,

The problem also reproduces on AArch64 when building linux kernel -- see [1].  
FYI, Linaro CI sends out emails notification only for the first configuration 
that caught a regression, and all subsequent configurations are recorded in 
jira cards -- see [2]. 

[1] 
https://ci.linaro.org/job/tcwg_kernel--gnu-master-aarch64-mainline-allmodconfig-build/72/artifact/artifacts/notify/mail-body.txt/*view*/
[2] https://linaro.atlassian.net/browse/GNU-942

--
Maxim Kuvyrkov
https://www.linaro.org


> 
> Thanks,
> Andrew
> 
>> 
>> Thanks,
>> Andrew
>> 
>> 
>> From: ci_not...@linaro.org 
>> Sent: Saturday, September 16, 2023 5:33 AM
>> To: Andrew Pinski
>> Cc: gcc-regress...@gcc.gnu.org
>> Subject: [EXT] [Linaro-TCWG-CI] basepoints/gcc-14-4038-gb975c0dc3be: Failure
>> 
>> External Email
>> 
>> --
>> Dear contributor, our automatic CI has detected problems related to your 
>> patch(es).  Please find some details below.  If you have any questions, 
>> please follow up on linaro-toolchain@lists.linaro.org mailing list, Libera's 
>> #linaro-tcwg channel, or ping your favourite Linaro toolchain developer on 
>> the usual project channel.
>> 
>> In CI config tcwg_bootstrap_build/master-arm-bootstrap_O3 after:
>> 
>>  | commit basepoints/gcc-14-4038-gb975c0dc3be
>>  | Author: Andrew Pinski 
>>  | Date:   Thu Sep 14 14:47:04 2023 -0700
>>  |
>>  | MATCH: Improve zero_one_valued_p for cases without range information
>>  |
>>  | I noticed we sometimes lose range information in forwprop due to a few
>>  | match and simplify patterns optimizing away casts. So the easier way
>>  | to these cases is to add a match for zero_one_valued_p wich mathes
>>  | a cast from another zero_one_valued_p.
>>  | This also adds the case of `x & zero_one_valued_p` as being 
>> zero_one_valued_p
>>  | ... 13 lines of the commit log omitted.
>> 
>> Results changed to
>> # reset_artifacts:
>> -10
>> # true:
>> 0
>> # build_abe bootstrap_O3:
>> # FAILED
>> # First few build errors in logs:
>> # 00:30:42 xg++: internal compiler error: Segmentation fault signal 
>> terminated program cc1plus
>> # 00:30:42 make[3]: *** [Makefile:1184: tree-ssa-loop-niter.o] Error 4
>> # 00:30:42 make[2]: *** [Makefile:5051: all-stage2-gcc] Error 2
>> # 00:30:42 make[1]: *** [Makefile:25871: stage2-bubble] Error 2
>> # 00:30:42 make: *** [Makefile:1090: all] Error 2
>> # 00:07:25 make[3]: [Makefile:1822: 
>> armv8l-unknown-linux-gnueabihf/bits/largefile-config.h] Error 1 (ignored)
>> # 00:25:31 xg++: internal compiler error: Segmentation fault signal 
>> terminated program cc1plus
>> # 00:25:31 make[3]: *** [Makefile:1184: tree-ssa-loop-niter.o] Error 4
>> # 00:30:14 make[2]: *** [Makefile:5051: all-stage2-gcc] Error 2
>> # 00:30:14 make[1]: *** [Makefile:25871: stage2-bubble] Error 2
>> # 00:30:14 make: *** [Makefile:1090: all] Error 2
>> 
>> From
>> # reset_artifacts:
>> -10
>> # true:
>> 0
>> # build_abe bootstrap_O3:
>> 1
>> 
>> 
>> 
>> -8<--8<--8<--
>> The information below can be used to reproduce a debug environment:
>> 
>> Current build   : 
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__ci.linaro.org_job_tcwg-5Fbootstrap-5Fbuild-2D-2Dmaster-2Darm-2Dbootstrap-5FO3-2Dbuild_211_artifact_artifacts&d=DwICaQ&c=nKjWec2b6R0mOyPaz7xtfQ&r=L_uAQMgirzaBwiEk05NHY-AMcNfJzugOS_xTjrtS94k&m=nfk6uFrO_t-wguOEbA32pDyvGuUhTwdn9_uQ8Gblwaazik2TcSd17GQcH0o2o8O6&s=WYoaCjYI6xWmbewg03bGLUGOIAecJfgBHCaZiZC1JZk&e=
>> Reference build : 
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__ci.linaro.org_job_tcwg-5Fbootstrap-5Fbuild-2D-2Dmaster-2Darm-2Dbootstrap-5FO3-2Dbuild_210_artifact_artifacts&d=DwICaQ&c=nKjWec2b6R0mOyPaz7xtfQ&r=L_uAQMgirzaBwiEk05NHY-AMcNfJzugOS_xTjrtS94k&m=nfk6uFrO_t-wguOEbA32pDyvGuUhTwdn9_uQ8Gblwaazik2TcSd17GQcH0o2o8O6&s=hG-1jEiAihzbhIeXE_9N6A65VKNtSbURkRK1Bp2ccm4&e=
>> 
>> Reproduce last good and first bad builds: 
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__git.linaro.org_toolchain_ci_interesting-2Dcommits.git_plain_gcc_sha1_b975c0dc3be285655800180260c985bc97886f2e_tcwg-5Fbootstrap-5Fbuild_master-2Darm-2Dbootstrap-5FO3_reproduction-5Finstructions.txt&d=DwICaQ&c=nKjWec2b6R0mOyPaz7xtfQ&r=L_uAQMgirzaBwiEk05NHY-AMcNfJzugOS_xTjrtS94k&m=nfk6uFrO_t-wguOEbA32pDyvGuUhTwdn9_uQ8Gblwaazik2TcSd17GQcH0o2o8O6&s=HPv992XIo9vGGpvMHTetglDPuLwJ5jk2JjPoPUfnWVs&e=
>> 
>> Full commit : 
>> https://urldefense.p