Successfully identified regression in *gcc* in CI configuration 
tcwg_gnu/gnu-master-arm-check_bootstrap.  So far, this commit has regressed CI 
configurations:
 - tcwg_gnu/gnu-master-arm-check_bootstrap

Culprit:
<cut>
commit 095a01cf6e3883b3083cf339b680cdb39910f529
Author: David Edelsohn <dje....@gmail.com>
Date:   Mon Jun 28 22:54:42 2021 -0400

    bootstrap: Include tm_p.h in btfout.c and ctfout.c.
    
            btfout.c and ctfout.c reference target-specific macros that
    may reference target-specific functions that are declared in a
    target-specific header.  tm_p.h must be included to provide the
    target-specific header.
    
    gcc/ChangeLog:
    
            * btfout.c: Include tm_p.h.
            * ctfout.c: Same.
</cut>

Results regressed to (for first_bad == 095a01cf6e3883b3083cf339b680cdb39910f529)
# reset_artifacts:
-10
# build_abe bootstrap:
0
# build_abe check_bootstrap:
1
# # Comparing directories
# # REFERENCE: base-artifacts/sumfiles
# # CURRENT:   
/home/tcwg-buildslave/workspace/tcwg_gnu_3/artifacts/build-095a01cf6e3883b3083cf339b680cdb39910f529/sumfiles
# 
# # Comparing 12 common sum files:
# g++.sum
# gcc.sum
# gfortran.sum
# go.sum
# gotools.sum
# libatomic.sum
# libffi.sum
# libgo.sum
# libgomp.sum
# libitm.sum
# libstdc++.sum
# objc.sum
# Comparing:
# REFERENCE:/tmp/gxx-sum1.2252296
# CURRENT:  /tmp/gxx-sum2.2252296
# 
#               `                              +---------+---------+
# o  RUN STATUS:                               |   REF   |   RES   |
#   +------------------------------------------+---------+---------+
#   | Passes                            [PASS] |  460490 |  460509 |
#   | Unexpected fails                  [FAIL] |     192 |     193 |
#   | Errors                           [ERROR] |       0 |       0 |
#   | Unexpected passes                [XPASS] |      15 |      15 |
#   | Expected fails                   [XFAIL] |    2737 |    2737 |
#   | Unresolved                  [UNRESOLVED] |     104 |     104 |
#   | Unsupported                [UNSUPPORTED] |   22896 |   22896 |
#   | Untested                      [UNTESTED] |      10 |      10 |
#   +------------------------------------------+---------+---------+
# 
#     REF PASS ratio: 0.952272
#     RES PASS ratio: 0.952272
# 
# o  REGRESSIONS:
#   +------------------------------------------+---------+
#   | PASS now FAIL             [PASS => FAIL] |       1 |
#   +------------------------------------------+---------+
#   | TOTAL_REGRESSIONS                        |       1 |
#   +------------------------------------------+---------+
# 
#   - PASS now FAIL             [PASS => FAIL]:
# 
#   Executed from: go.test/go-test.exp
#     go:go.test/test/fixedbugs/issue13160.go execution,  -O2 -g 
# 
# 
# 
# o  IMPROVEMENTS TO BE CHECKED:
#   +------------------------------------------+---------+
#   | New PASS                  [     => PASS] |      20 |
#   +------------------------------------------+---------+
#   | TOTAL_IMPROVEMENTS_TO_BE_CHECKED         |      20 |
#   +------------------------------------------+---------+
# 
#   - New PASS                  [     => PASS]:
# 
#   Executed from: g++.dg/dg.exp
#     g++:g++.dg/uninit-pr74762.C  -std=gnu++14  (test for warnings, line 23)
#     g++:g++.dg/uninit-pr74762.C  -std=gnu++14 (test for excess errors)
#     g++:g++.dg/uninit-pr74762.C  -std=gnu++17  (test for warnings, line 23)
#     g++:g++.dg/uninit-pr74762.C  -std=gnu++17 (test for excess errors)
#     g++:g++.dg/uninit-pr74762.C  -std=gnu++2a  (test for warnings, line 23)
#     g++:g++.dg/uninit-pr74762.C  -std=gnu++2a (test for excess errors)
#     g++:g++.dg/uninit-pr74762.C  -std=gnu++98  (test for warnings, line 23)
#     g++:g++.dg/uninit-pr74762.C  -std=gnu++98 (test for excess errors)
#     g++:g++.dg/warn/uninit-pr74765.C  -std=gnu++14  (test for warnings, line 
10)
#     g++:g++.dg/warn/uninit-pr74765.C  -std=gnu++14  (test for warnings, line 
20)
#     g++:g++.dg/warn/uninit-pr74765.C  -std=gnu++14 (test for excess errors)
#     g++:g++.dg/warn/uninit-pr74765.C  -std=gnu++17  (test for warnings, line 
10)
#     g++:g++.dg/warn/uninit-pr74765.C  -std=gnu++17  (test for warnings, line 
20)
#     g++:g++.dg/warn/uninit-pr74765.C  -std=gnu++17 (test for excess errors)
#     g++:g++.dg/warn/uninit-pr74765.C  -std=gnu++2a  (test for warnings, line 
10)
#     g++:g++.dg/warn/uninit-pr74765.C  -std=gnu++2a  (test for warnings, line 
20)
#     g++:g++.dg/warn/uninit-pr74765.C  -std=gnu++2a (test for excess errors)
#     g++:g++.dg/warn/uninit-pr74765.C  -std=gnu++98  (test for warnings, line 
10)
#     g++:g++.dg/warn/uninit-pr74765.C  -std=gnu++98  (test for warnings, line 
20)
#     g++:g++.dg/warn/uninit-pr74765.C  -std=gnu++98 (test for excess errors)
# 
# 
# 
# # Regressions found
# # Regressions in 12 common sum files found

from (for last_good == c8abc2058e96dd12454078d66be9982dfebfd154)
# reset_artifacts:
-10
# build_abe bootstrap:
0
# build_abe check_bootstrap:
1

Artifacts of last_good build: 
https://ci.linaro.org/job/tcwg_gcc-bisect-gnu-master-arm-check_bootstrap/68/artifact/artifacts/build-c8abc2058e96dd12454078d66be9982dfebfd154/
Artifacts of first_bad build: 
https://ci.linaro.org/job/tcwg_gcc-bisect-gnu-master-arm-check_bootstrap/68/artifact/artifacts/build-095a01cf6e3883b3083cf339b680cdb39910f529/
Build top page/logs: 
https://ci.linaro.org/job/tcwg_gcc-bisect-gnu-master-arm-check_bootstrap/68/

Configuration details:


Reproduce builds:
<cut>
mkdir investigate-gcc-095a01cf6e3883b3083cf339b680cdb39910f529
cd investigate-gcc-095a01cf6e3883b3083cf339b680cdb39910f529

git clone https://git.linaro.org/toolchain/jenkins-scripts

mkdir -p artifacts/manifests
curl -o artifacts/manifests/build-baseline.sh 
https://ci.linaro.org/job/tcwg_gcc-bisect-gnu-master-arm-check_bootstrap/68/artifact/artifacts/manifests/build-baseline.sh
 --fail
curl -o artifacts/manifests/build-parameters.sh 
https://ci.linaro.org/job/tcwg_gcc-bisect-gnu-master-arm-check_bootstrap/68/artifact/artifacts/manifests/build-parameters.sh
 --fail
curl -o artifacts/test.sh 
https://ci.linaro.org/job/tcwg_gcc-bisect-gnu-master-arm-check_bootstrap/68/artifact/artifacts/test.sh
 --fail
chmod +x artifacts/test.sh

# Reproduce the baseline build (build all pre-requisites)
./jenkins-scripts/tcwg_gnu-build.sh @@ artifacts/manifests/build-baseline.sh

cd gcc

# Reproduce first_bad build
git checkout --detach 095a01cf6e3883b3083cf339b680cdb39910f529
../artifacts/test.sh

# Reproduce last_good build
git checkout --detach c8abc2058e96dd12454078d66be9982dfebfd154
../artifacts/test.sh

cd ..
</cut>

History of pending regressions and results: 
https://git.linaro.org/toolchain/ci/base-artifacts.git/log/?h=linaro-local/ci/tcwg_gnu/gnu-master-arm-check_bootstrap

Artifacts: 
https://ci.linaro.org/job/tcwg_gcc-bisect-gnu-master-arm-check_bootstrap/68/artifact/artifacts/
Build log: 
https://ci.linaro.org/job/tcwg_gcc-bisect-gnu-master-arm-check_bootstrap/68/consoleText

Full commit (up to 1000 lines):
<cut>
commit 095a01cf6e3883b3083cf339b680cdb39910f529
Author: David Edelsohn <dje....@gmail.com>
Date:   Mon Jun 28 22:54:42 2021 -0400

    bootstrap: Include tm_p.h in btfout.c and ctfout.c.
    
            btfout.c and ctfout.c reference target-specific macros that
    may reference target-specific functions that are declared in a
    target-specific header.  tm_p.h must be included to provide the
    target-specific header.
    
    gcc/ChangeLog:
    
            * btfout.c: Include tm_p.h.
            * ctfout.c: Same.
---
 gcc/btfout.c | 1 +
 gcc/ctfout.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/gcc/btfout.c b/gcc/btfout.c
index 45954b4b7b9..2316dea5f27 100644
--- a/gcc/btfout.c
+++ b/gcc/btfout.c
@@ -26,6 +26,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "system.h"
 #include "coretypes.h"
 #include "target.h"
+#include "tm_p.h"
 #include "output.h"
 #include "dwarf2asm.h"
 #include "debug.h"
diff --git a/gcc/ctfout.c b/gcc/ctfout.c
index c264fd6661a..71d7a62e6ef 100644
--- a/gcc/ctfout.c
+++ b/gcc/ctfout.c
@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "system.h"
 #include "coretypes.h"
 #include "target.h"
+#include "tm_p.h"
 #include "output.h"
 #include "dwarf2asm.h"
 #include "debug.h"
</cut>
_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to