public inbox for gcc-regression@sourceware.org
help / color / mirror / Atom feed
* [TCWG CI] Regression caused by binutils: gprofng: a new GNU profiler
@ 2022-03-15 14:30 ci_notify
  0 siblings, 0 replies; 2+ messages in thread
From: ci_notify @ 2022-03-15 14:30 UTC (permalink / raw)
  To: Vladimir Mezentsev; +Cc: gcc-regression

[TCWG CI] Regression caused by binutils: gprofng: a new GNU profiler:
commit bb368aad297fe3ad40cf397e6fc85aa471429a28
Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>

    gprofng: a new GNU profiler

Results regressed to
# reset_artifacts:
-10
# true:
0
# First few build errors in logs:
# 00:00:21 configure: error: Cannot set --enable-shared for gprofng/libcollector.
# 00:00:21 configure: error: /home/tcwg-buildslave/workspace/tcwg_gnu_7/abe/snapshots/binutils.git~master/gprofng/libcollector/configure failed for libcollector
# 00:00:21 checking for getpagesize... make[1]: *** [Makefile:7723: configure-gprofng] Error 1
# 00:00:32 make: *** [Makefile:1001: all] Error 2

from
# reset_artifacts:
-10
# true:
0
# build_abe binutils:
1
# build_abe gcc:
2
# build_abe linux:
4
# build_abe glibc:
5
# build_abe gdb:
6

THIS IS THE END OF INTERESTING STUFF.  BELOW ARE LINKS TO BUILDS, REPRODUCTION INSTRUCTIONS, AND THE RAW COMMIT.

This commit has regressed these CI configurations:
 - tcwg_gnu_native_build/master-aarch64

First_bad build: https://ci.linaro.org/job/tcwg_gnu_native_build-bisect-master-aarch64/10/artifact/artifacts/build-bb368aad297fe3ad40cf397e6fc85aa471429a28/
Last_good build: https://ci.linaro.org/job/tcwg_gnu_native_build-bisect-master-aarch64/10/artifact/artifacts/build-a655f19af95eb685ba64f48ee8fc2b3b7a3d886a/
Baseline build: https://ci.linaro.org/job/tcwg_gnu_native_build-bisect-master-aarch64/10/artifact/artifacts/build-baseline/
Even more details: https://ci.linaro.org/job/tcwg_gnu_native_build-bisect-master-aarch64/10/artifact/artifacts/

Reproduce builds:
<cut>
mkdir investigate-binutils-bb368aad297fe3ad40cf397e6fc85aa471429a28
cd investigate-binutils-bb368aad297fe3ad40cf397e6fc85aa471429a28

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

# Fetch manifests and test.sh script
mkdir -p artifacts/manifests
curl -o artifacts/manifests/build-baseline.sh https://ci.linaro.org/job/tcwg_gnu_native_build-bisect-master-aarch64/10/artifact/artifacts/manifests/build-baseline.sh --fail
curl -o artifacts/manifests/build-parameters.sh https://ci.linaro.org/job/tcwg_gnu_native_build-bisect-master-aarch64/10/artifact/artifacts/manifests/build-parameters.sh --fail
curl -o artifacts/test.sh https://ci.linaro.org/job/tcwg_gnu_native_build-bisect-master-aarch64/10/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

# Save baseline build state (which is then restored in artifacts/test.sh)
mkdir -p ./bisect
rsync -a --del --delete-excluded --exclude /bisect/ --exclude /artifacts/ --exclude /binutils/ ./ ./bisect/baseline/

cd binutils

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

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

cd ..
</cut>

Full commit (up to 1000 lines):
<cut>
commit bb368aad297fe3ad40cf397e6fc85aa471429a28
Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
Date:   Fri Mar 11 08:58:31 2022 +0000

    gprofng: a new GNU profiler
    
    top-level
            * Makefile.def: Add gprofng module.
            * configure.ac: Add --enable-gprofng option.
            * src-release.sh: Add gprofng.
            * Makefile.in: Regenerate.
            * configure: Regenerate.
            * gprofng: New directory.
    
    binutils
            * MAINTAINERS: Add gprofng maintainer.
            * README-how-to-make-a-release: Add gprofng.
    
    include.
            * collectorAPI.h: New file.
            * libcollector.h: New file.
            * libfcollector.h: New file.
---
 ChangeLog                                          |     9 +
 Makefile.def                                       |    11 +
 Makefile.in                                        |   497 +
 binutils/ChangeLog                                 |     5 +
 binutils/MAINTAINERS                               |     1 +
 binutils/README-how-to-make-a-release              |    12 +-
 configure                                          |    18 +
 configure.ac                                       |    14 +
 gprofng/Makefile.am                                |    79 +
 gprofng/Makefile.in                                |   940 +
 gprofng/README                                     |   100 +
 gprofng/acinclude.m4                               |     4 +
 gprofng/aclocal.m4                                 |  1254 ++
 gprofng/common/cc_libcollector.h                   |    44 +
 gprofng/common/config.h.in                         |   117 +
 gprofng/common/core_pcbe.c                         |  3023 +++
 gprofng/common/cpu_frequency.h                     |   303 +
 gprofng/common/cpuid.c                             |   203 +
 gprofng/common/gp-defs.h                           |    58 +
 gprofng/common/gp-experiment.h                     |   186 +
 gprofng/common/gp-time.h                           |    46 +
 gprofng/common/hwc_cpus.h                          |   198 +
 gprofng/common/hwcdrv.c                            |  1454 ++
 gprofng/common/hwcdrv.h                            |   330 +
 gprofng/common/hwcentry.h                          |   417 +
 gprofng/common/hwcfuncs.c                          |   704 +
 gprofng/common/hwcfuncs.h                          |   269 +
 gprofng/common/hwctable.c                          |  5410 ++++++
 gprofng/common/opteron_pcbe.c                      |   448 +
 gprofng/config/bison.m4                            |    92 +
 gprofng/configure                                  | 19350 +++++++++++++++++++
 gprofng/configure.ac                               |   189 +
 gprofng/doc/Makefile.am                            |    37 +
 gprofng/doc/Makefile.in                            |   834 +
 gprofng/doc/fdl.texi                               |   506 +
 gprofng/doc/gprofng.texi                           |  3399 ++++
 gprofng/doc/mdate-sh                               |   224 +
 gprofng/doc/texinfo.tex                            | 11731 +++++++++++
 gprofng/doc/version.texi                           |     4 +
 gprofng/gp-display-html/Makefile.am                |    60 +
 gprofng/gp-display-html/Makefile.in                |   630 +
 gprofng/gp-display-html/gp-display-html.in         |   256 +
 gprofng/libcollector/CHK_LIBC_OBJ                  |    82 +
 gprofng/libcollector/Makefile.am                   |    79 +
 gprofng/libcollector/Makefile.in                   |  1131 ++
 gprofng/libcollector/aclocal.m4                    |  1237 ++
 gprofng/libcollector/collector.c                   |  2494 +++
 gprofng/libcollector/collector.h                   |   236 +
 gprofng/libcollector/collectorAPI.c                |   140 +
 gprofng/libcollector/configure                     | 18081 +++++++++++++++++
 gprofng/libcollector/configure.ac                  |    60 +
 gprofng/libcollector/descendants.h                 |    81 +
 gprofng/libcollector/dispatcher.c                  |  1263 ++
 gprofng/libcollector/envmgmt.c                     |   840 +
 gprofng/libcollector/gethrtime.c                   |    41 +
 gprofng/libcollector/heaptrace.c                   |   503 +
 gprofng/libcollector/hwprofile.c                   |   905 +
 gprofng/libcollector/hwprofile.h                   |    89 +
 gprofng/libcollector/iolib.c                       |  1156 ++
 gprofng/libcollector/iotrace.c                     |  3728 ++++
 gprofng/libcollector/jprofile.c                    |  1315 ++
 gprofng/libcollector/libcol-i386-dis.c             |    28 +
 gprofng/libcollector/libcol_hwcdrv.c               |    25 +
 gprofng/libcollector/libcol_hwcfuncs.c             |    27 +
 gprofng/libcollector/libcol_util.c                 |  1693 ++
 gprofng/libcollector/libcol_util.h                 |   321 +
 gprofng/libcollector/linetrace.c                   |  2005 ++
 gprofng/libcollector/mapfile.aarch64-Linux         |    40 +
 gprofng/libcollector/mapfile.amd64-Linux           |    79 +
 gprofng/libcollector/mapfile.intel-Linux           |    81 +
 gprofng/libcollector/mapfile.sparc-Linux           |    40 +
 gprofng/libcollector/mapfile.sparcv9-Linux         |    58 +
 gprofng/libcollector/memmgr.c                      |   396 +
 gprofng/libcollector/memmgr.h                      |    59 +
 gprofng/libcollector/mmaptrace.c                   |  1691 ++
 gprofng/libcollector/profile.c                     |   287 +
 gprofng/libcollector/synctrace.c                   |  1064 +
 gprofng/libcollector/tsd.c                         |   149 +
 gprofng/libcollector/tsd.h                         |    80 +
 gprofng/libcollector/unwind.c                      |  4630 +++++
 gprofng/src/ABS.h                                  |    62 +
 gprofng/src/Application.cc                         |   259 +
 gprofng/src/Application.h                          |   108 +
 gprofng/src/ArchiveExp.cc                          |   149 +
 gprofng/src/ArchiveExp.h                           |    41 +
 gprofng/src/BaseMetric.cc                          |   975 +
 gprofng/src/BaseMetric.h                           |   246 +
 gprofng/src/BaseMetricTreeNode.cc                  |   329 +
 gprofng/src/BaseMetricTreeNode.h                   |   100 +
 gprofng/src/CacheMap.h                             |   186 +
 gprofng/src/CallStack.cc                           |  1250 ++
 gprofng/src/CallStack.h                            |   114 +
 gprofng/src/CatchOutOfMemory.cc                    |    59 +
 gprofng/src/ClassFile.cc                           |  1639 ++
 gprofng/src/ClassFile.h                            |    63 +
 gprofng/src/Command.cc                             |   562 +
 gprofng/src/Command.h                              |   286 +
 gprofng/src/CompCom.cc                             |   313 +
 gprofng/src/CompCom.h                              |    63 +
 gprofng/src/DataObject.cc                          |   193 +
 gprofng/src/DataObject.h                           |    82 +
 gprofng/src/DataSpace.cc                           |   558 +
 gprofng/src/DataSpace.h                            |    55 +
 gprofng/src/DataStream.cc                          |    55 +
 gprofng/src/DataStream.h                           |    51 +
 gprofng/src/Data_window.cc                         |   241 +
 gprofng/src/Data_window.h                          |    99 +
 gprofng/src/Dbe.cc                                 | 10371 ++++++++++
 gprofng/src/Dbe.h                                  |   294 +
 gprofng/src/DbeApplication.cc                      |   113 +
 gprofng/src/DbeApplication.h                       |    50 +
 gprofng/src/DbeArray.h                             |    99 +
 gprofng/src/DbeCacheMap.h                          |   109 +
 gprofng/src/DbeFile.cc                             |   541 +
 gprofng/src/DbeFile.h                              |   103 +
 gprofng/src/DbeJarFile.cc                          |   505 +
 gprofng/src/DbeJarFile.h                           |    46 +
 gprofng/src/DbeLinkList.h                          |    73 +
 gprofng/src/DbeLock.cc                             |    41 +
 gprofng/src/DbeLock.h                              |    38 +
 gprofng/src/DbeSession.cc                          |  3527 ++++
 gprofng/src/DbeSession.cc.1                        |  3531 ++++
 gprofng/src/DbeSession.h                           |   481 +
 gprofng/src/DbeSyncMap.h                           |   224 +
 gprofng/src/DbeThread.cc                           |   224 +
 gprofng/src/DbeThread.h                            |    61 +
 gprofng/src/DbeView.cc                             |  3126 +++
 gprofng/src/DbeView.h                              |   842 +
 gprofng/src/DefaultHandler.h                       |   114 +
 gprofng/src/DefaultMap.h                           |   232 +
 gprofng/src/DefaultMap2D.h                         |   147 +
 gprofng/src/DerivedMetrics.cc                      |   293 +
 gprofng/src/DerivedMetrics.h                       |    54 +
 gprofng/src/Disasm.cc                              |   403 +
 gprofng/src/Disasm.h                               |    66 +
 gprofng/src/Dwarf.cc                               |  1041 +
 gprofng/src/Dwarf.h                                |    87 +
 gprofng/src/DwarfLib.cc                            |  2203 +++
 gprofng/src/DwarfLib.h                             |   313 +
 gprofng/src/Elf.cc                                 |  1138 ++
 gprofng/src/Elf.h                                  |   170 +
 gprofng/src/Emsg.cc                                |   614 +
 gprofng/src/Emsg.h                                 |   112 +
 gprofng/src/Emsgnum.h                              |   135 +
 gprofng/src/ExpGroup.cc                            |   163 +
 gprofng/src/ExpGroup.h                             |    50 +
 gprofng/src/Exp_Layout.cc                          |   422 +
 gprofng/src/Exp_Layout.h                           |   158 +
 gprofng/src/Experiment.cc                          |  6961 +++++++
 gprofng/src/Experiment.h                           |   689 +
 gprofng/src/Expression.cc                          |  1279 ++
 gprofng/src/Expression.h                           |   180 +
 gprofng/src/FileData.cc                            |   400 +
 gprofng/src/FileData.h                             |   522 +
 gprofng/src/Filter.cc                              |   514 +
 gprofng/src/Filter.h                               |   111 +
 gprofng/src/FilterExp.h                            |    56 +
 gprofng/src/FilterSet.cc                           |   106 +
 gprofng/src/FilterSet.h                            |    72 +
 gprofng/src/Function.cc                            |  1160 ++
 gprofng/src/Function.h                             |   222 +
 gprofng/src/HashMap.h                              |   435 +
 gprofng/src/HeapActivity.cc                        |   408 +
 gprofng/src/HeapActivity.h                         |    76 +
 gprofng/src/HeapData.cc                            |   284 +
 gprofng/src/HeapData.h                             |   450 +
 gprofng/src/HeapMap.cc                             |   325 +
 gprofng/src/HeapMap.h                              |    59 +
 gprofng/src/Hist_data.cc                           |  1886 ++
 gprofng/src/Hist_data.h                            |   292 +
 gprofng/src/Histable.h                             |   333 +
 gprofng/src/IOActivity.cc                          |   825 +
 gprofng/src/IOActivity.h                           |    86 +
 gprofng/src/IndexMap2D.h                           |   119 +
 gprofng/src/IndexObject.cc                         |   554 +
 gprofng/src/IndexObject.h                          |   111 +
 gprofng/src/IntervalMap.h                          |   194 +
 gprofng/src/LoadObject.cc                          |  1242 ++
 gprofng/src/LoadObject.h                           |   210 +
 gprofng/src/MachineModel.cc                        |   317 +
 gprofng/src/Makefile.am                            |   202 +
 gprofng/src/Makefile.in                            |  1171 ++
 gprofng/src/Map.h                                  |    61 +
 gprofng/src/Map2D.h                                |    53 +
 gprofng/src/MemObject.cc                           |    44 +
 gprofng/src/MemObject.h                            |    62 +
 gprofng/src/MemorySpace.cc                         |   452 +
 gprofng/src/MemorySpace.h                          |   113 +
 gprofng/src/Metric.cc                              |  1660 ++
 gprofng/src/Metric.h                               |   188 +
 gprofng/src/MetricList.cc                          |  1075 ++
 gprofng/src/MetricList.h                           |   163 +
 gprofng/src/Module.cc                              |  1840 ++
 gprofng/src/Module.h                               |   284 +
 gprofng/src/Ovw_data.cc                            |   242 +
 gprofng/src/Ovw_data.h                             |   102 +
 gprofng/src/PRBTree.cc                             |   480 +
 gprofng/src/PRBTree.h                              |   106 +
 gprofng/src/PathTree.cc                            |  2637 +++
 gprofng/src/PathTree.h                             |   405 +
 gprofng/src/PreviewExp.cc                          |   113 +
 gprofng/src/PreviewExp.h                           |    49 +
 gprofng/src/Print.cc                               |  3485 ++++
 gprofng/src/Print.h                                |   283 +
 gprofng/src/QLParser.h                             |    61 +
 gprofng/src/QLParser.tab.cc                        |  1453 ++
 gprofng/src/QLParser.tab.hh                        |  2038 ++
 gprofng/src/QLParser.yy                            |   390 +
 gprofng/src/SAXParser.h                            |    49 +
 gprofng/src/SAXParserFactory.cc                    |   666 +
 gprofng/src/SAXParserFactory.h                     |    75 +
 gprofng/src/Sample.cc                              |    94 +
 gprofng/src/Sample.h                               |    80 +
 gprofng/src/SegMem.h                               |    76 +
 gprofng/src/Settings.cc                            |  1586 ++
 gprofng/src/Settings.h                             |   425 +
 gprofng/src/SourceFile.cc                          |   229 +
 gprofng/src/SourceFile.h                           |   117 +
 gprofng/src/Stabs.cc                               |  2650 +++
 gprofng/src/Stabs.h                                |   160 +
 gprofng/src/Stats_data.cc                          |   203 +
 gprofng/src/Stats_data.h                           |    59 +
 gprofng/src/StringBuilder.cc                       |   585 +
 gprofng/src/StringBuilder.h                        |   101 +
 gprofng/src/StringMap.h                            |   238 +
 gprofng/src/Table.cc                               |  1687 ++
 gprofng/src/Table.h                                |   618 +
 gprofng/src/UserLabel.cc                           |   177 +
 gprofng/src/UserLabel.h                            |    61 +
 gprofng/src/checks.cc                              |   516 +
 gprofng/src/collctrl.cc                            |  3149 +++
 gprofng/src/collctrl.h                             |   405 +
 gprofng/src/collect.h                              |   156 +
 gprofng/src/collector_module.h                     |   223 +
 gprofng/src/comp_com.c                             |  3481 ++++
 gprofng/src/comp_com.h                             |   903 +
 gprofng/src/count.cc                               |   237 +
 gprofng/src/data_pckts.h                           |   595 +
 gprofng/src/dbe_collctrl.cc                        |    28 +
 gprofng/src/dbe_hwc.h                              |    38 +
 gprofng/src/dbe_hwcdrv.c                           |    23 +
 gprofng/src/dbe_hwcfuncs.c                         |    23 +
 gprofng/src/dbe_hwctable.c                         |    23 +
 gprofng/src/dbe_memmgr.c                           |   118 +
 gprofng/src/dbe_structs.h                          |   219 +
 gprofng/src/dbe_types.h                            |    62 +
 gprofng/src/debug.h                                |    89 +
 gprofng/src/enums.h                                |   195 +
 gprofng/src/envsets.cc                             |   420 +
 gprofng/src/gethrtime.c                            |   166 +
 gprofng/src/gp-archive.cc                          |   700 +
 gprofng/src/gp-archive.h                           |    64 +
 gprofng/src/gp-collect-app.cc                      |  1598 ++
 gprofng/src/gp-display-src.cc                      |   752 +
 gprofng/src/gp-display-text.cc                     |  2834 +++
 gprofng/src/gp-print.h                             |   118 +
 gprofng/src/gprofng.cc                             |   301 +
 gprofng/src/gprofng.h2m                            |     4 +
 gprofng/src/gprofng.rc                             |   132 +
 gprofng/src/i18n.cc                                |    30 +
 gprofng/src/i18n.h                                 |    40 +
 gprofng/src/info.h                                 |    73 +
 gprofng/src/ipc.cc                                 |  2829 +++
 gprofng/src/ipcio.cc                               |  1025 +
 gprofng/src/ipcio.h                                |   176 +
 gprofng/src/machinemodels/generic.ermm             |    32 +
 gprofng/src/machinemodels/m5.ermm                  |    65 +
 gprofng/src/machinemodels/m6.ermm                  |    65 +
 gprofng/src/machinemodels/m7.ermm                  |    64 +
 gprofng/src/machinemodels/t4.ermm                  |    67 +
 gprofng/src/machinemodels/t5.ermm                  |    65 +
 gprofng/src/parse.cc                               |   927 +
 gprofng/src/stab.h                                 |   205 +
 gprofng/src/util.cc                                |  1582 ++
 gprofng/src/util.h                                 |   185 +
 gprofng/src/vec.h                                  |   524 +
 gprofng/testsuite/config/default.exp               |    38 +
 gprofng/testsuite/gprofng.display/display.exp      |    86 +
 .../gprofng.display/jsynprog/Intface.java          |     6 +
 .../gprofng.display/jsynprog/Launcher.java         |    90 +
 .../testsuite/gprofng.display/jsynprog/Makefile    |    56 +
 .../gprofng.display/jsynprog/Routine.java          |   224 +
 .../gprofng.display/jsynprog/Sub_Routine.java      |    54 +
 .../gprofng.display/jsynprog/check_results.pl      |    33 +
 .../testsuite/gprofng.display/jsynprog/cloop.cc    |   114 +
 .../testsuite/gprofng.display/jsynprog/jsynprog.h  |    74 +
 .../gprofng.display/jsynprog/jsynprog.java         |   229 +
 gprofng/testsuite/gprofng.display/mttest/Makefile  |    41 +
 .../gprofng.display/mttest/check_results.pl        |    46 +
 .../testsuite/gprofng.display/mttest/gethrtime.c   |   265 +
 gprofng/testsuite/gprofng.display/mttest/mttest.c  |  1306 ++
 gprofng/testsuite/gprofng.display/synprog/Makefile |    66 +
 gprofng/testsuite/gprofng.display/synprog/callso.c |   152 +
 gprofng/testsuite/gprofng.display/synprog/callsx.c |   152 +
 .../gprofng.display/synprog/check_results.pl       |    40 +
 .../testsuite/gprofng.display/synprog/endcases.c   |   208 +
 gprofng/testsuite/gprofng.display/synprog/fitos.c  |    78 +
 .../testsuite/gprofng.display/synprog/inc_body.h   |    26 +
 .../testsuite/gprofng.display/synprog/inc_brace.h  |    26 +
 .../testsuite/gprofng.display/synprog/inc_entry.h  |    24 +
 .../testsuite/gprofng.display/synprog/inc_exit.h   |    25 +
 .../testsuite/gprofng.display/synprog/inc_func.h   |    28 +
 .../testsuite/gprofng.display/synprog/inc_inline.h |    32 +
 .../testsuite/gprofng.display/synprog/inc_macro.h  |    26 +
 gprofng/testsuite/gprofng.display/synprog/iosyn.c  |   614 +
 .../testsuite/gprofng.display/synprog/pagethrash.c |    75 +
 gprofng/testsuite/gprofng.display/synprog/so_syn.c |    69 +
 gprofng/testsuite/gprofng.display/synprog/so_syx.c |    68 +
 .../testsuite/gprofng.display/synprog/stopwatch.c  |   294 +
 .../testsuite/gprofng.display/synprog/stopwatch.h  |    61 +
 .../testsuite/gprofng.display/synprog/synprog.c    |  1823 ++
 gprofng/testsuite/lib/Makefile.skel                |    61 +
 gprofng/testsuite/lib/acct.pm                      |   774 +
 gprofng/testsuite/lib/display-lib.exp              |   105 +
 include/ChangeLog                                  |     6 +
 include/collectorAPI.h                             |    73 +
 include/libcollector.h                             |    89 +
 include/libfcollector.h                            |    42 +
 src-release.sh                                     |     4 +-
 319 files changed, 222979 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 18e8b6835da..73b6085d6ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2022-03-11  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>
+
+	* Makefile.def: Add gprofng module.
+	* configure.ac: Add --enable-gprofng option.
+	* src-release.sh: Add gprofng.
+	* Makefile.in: Regenerate.
+	* configure: Regenerate.
+	* gprofng: New directory.
+
 2022-01-22  Nick Clifton  <nickc@redhat.com>
 
 	* 2.38 release branch created.
diff --git a/Makefile.def b/Makefile.def
index 8181a7aa97b..acdcd625ed6 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -75,6 +75,7 @@ host_modules= { module= libelf; lib_path=.libs; bootstrap=true;
 		no_install= true; };
 host_modules= { module= gold; bootstrap=true; };
 host_modules= { module= gprof; };
+host_modules= { module= gprofng; };
 host_modules= { module= intl; bootstrap=true; };
 host_modules= { module= tcl;
                 missing=mostlyclean; };
@@ -508,6 +509,16 @@ dependencies = { module=all-gprof; on=all-bfd; };
 dependencies = { module=all-gprof; on=all-opcodes; };
 dependencies = { module=all-gprof; on=all-intl; };
 dependencies = { module=all-gprof; on=all-gas; };
+
+dependencies = { module=configure-gprofng; on=configure-intl; };
+dependencies = { module=all-gprofng; on=all-libiberty; };
+dependencies = { module=all-gprofng; on=all-bfd; };
+dependencies = { module=all-gprofng; on=all-opcodes; };
+dependencies = { module=all-gprofng; on=all-intl; };
+dependencies = { module=all-gprofng; on=all-gas; };
+dependencies = { module=install-gprofng; on=install-opcodes; };
+dependencies = { module=install-gprofng; on=install-bfd; };
+
 dependencies = { module=configure-ld; on=configure-intl; };
 dependencies = { module=all-ld; on=all-libiberty; };
 dependencies = { module=all-ld; on=all-bfd; };
diff --git a/Makefile.in b/Makefile.in
index 843e150dac6..3aacd2daac9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1073,6 +1073,7 @@ configure-host:  \
     maybe-configure-libelf \
     maybe-configure-gold \
     maybe-configure-gprof \
+    maybe-configure-gprofng \
     maybe-configure-intl \
     maybe-configure-tcl \
     maybe-configure-itcl \
@@ -1228,6 +1229,7 @@ all-host: maybe-all-libelf
 all-host: maybe-all-gold
 @endif gold-no-bootstrap
 all-host: maybe-all-gprof
+all-host: maybe-all-gprofng
 @if intl-no-bootstrap
 all-host: maybe-all-intl
 @endif intl-no-bootstrap
@@ -1357,6 +1359,7 @@ info-host: maybe-info-isl
 info-host: maybe-info-libelf
 info-host: maybe-info-gold
 info-host: maybe-info-gprof
+info-host: maybe-info-gprofng
 info-host: maybe-info-intl
 info-host: maybe-info-tcl
 info-host: maybe-info-itcl
@@ -1447,6 +1450,7 @@ dvi-host: maybe-dvi-isl
 dvi-host: maybe-dvi-libelf
 dvi-host: maybe-dvi-gold
 dvi-host: maybe-dvi-gprof
+dvi-host: maybe-dvi-gprofng
 dvi-host: maybe-dvi-intl
 dvi-host: maybe-dvi-tcl
 dvi-host: maybe-dvi-itcl
@@ -1537,6 +1541,7 @@ pdf-host: maybe-pdf-isl
 pdf-host: maybe-pdf-libelf
 pdf-host: maybe-pdf-gold
 pdf-host: maybe-pdf-gprof
+pdf-host: maybe-pdf-gprofng
 pdf-host: maybe-pdf-intl
 pdf-host: maybe-pdf-tcl
 pdf-host: maybe-pdf-itcl
@@ -1627,6 +1632,7 @@ html-host: maybe-html-isl
 html-host: maybe-html-libelf
 html-host: maybe-html-gold
 html-host: maybe-html-gprof
+html-host: maybe-html-gprofng
 html-host: maybe-html-intl
 html-host: maybe-html-tcl
 html-host: maybe-html-itcl
@@ -1717,6 +1723,7 @@ TAGS-host: maybe-TAGS-isl
 TAGS-host: maybe-TAGS-libelf
 TAGS-host: maybe-TAGS-gold
 TAGS-host: maybe-TAGS-gprof
+TAGS-host: maybe-TAGS-gprofng
 TAGS-host: maybe-TAGS-intl
 TAGS-host: maybe-TAGS-tcl
 TAGS-host: maybe-TAGS-itcl
@@ -1807,6 +1814,7 @@ install-info-host: maybe-install-info-isl
 install-info-host: maybe-install-info-libelf
 install-info-host: maybe-install-info-gold
 install-info-host: maybe-install-info-gprof
+install-info-host: maybe-install-info-gprofng
 install-info-host: maybe-install-info-intl
 install-info-host: maybe-install-info-tcl
 install-info-host: maybe-install-info-itcl
@@ -1897,6 +1905,7 @@ install-dvi-host: maybe-install-dvi-isl
 install-dvi-host: maybe-install-dvi-libelf
 install-dvi-host: maybe-install-dvi-gold
 install-dvi-host: maybe-install-dvi-gprof
+install-dvi-host: maybe-install-dvi-gprofng
 install-dvi-host: maybe-install-dvi-intl
 install-dvi-host: maybe-install-dvi-tcl
 install-dvi-host: maybe-install-dvi-itcl
@@ -1987,6 +1996,7 @@ install-pdf-host: maybe-install-pdf-isl
 install-pdf-host: maybe-install-pdf-libelf
 install-pdf-host: maybe-install-pdf-gold
 install-pdf-host: maybe-install-pdf-gprof
+install-pdf-host: maybe-install-pdf-gprofng
 install-pdf-host: maybe-install-pdf-intl
 install-pdf-host: maybe-install-pdf-tcl
 install-pdf-host: maybe-install-pdf-itcl
@@ -2077,6 +2087,7 @@ install-html-host: maybe-install-html-isl
 install-html-host: maybe-install-html-libelf
 install-html-host: maybe-install-html-gold
 install-html-host: maybe-install-html-gprof
+install-html-host: maybe-install-html-gprofng
 install-html-host: maybe-install-html-intl
 install-html-host: maybe-install-html-tcl
 install-html-host: maybe-install-html-itcl
@@ -2167,6 +2178,7 @@ installcheck-host: maybe-installcheck-isl
 installcheck-host: maybe-installcheck-libelf
 installcheck-host: maybe-installcheck-gold
 installcheck-host: maybe-installcheck-gprof
+installcheck-host: maybe-installcheck-gprofng
 installcheck-host: maybe-installcheck-intl
 installcheck-host: maybe-installcheck-tcl
 installcheck-host: maybe-installcheck-itcl
@@ -2257,6 +2269,7 @@ mostlyclean-host: maybe-mostlyclean-isl
 mostlyclean-host: maybe-mostlyclean-libelf
 mostlyclean-host: maybe-mostlyclean-gold
 mostlyclean-host: maybe-mostlyclean-gprof
+mostlyclean-host: maybe-mostlyclean-gprofng
 mostlyclean-host: maybe-mostlyclean-intl
 mostlyclean-host: maybe-mostlyclean-tcl
 mostlyclean-host: maybe-mostlyclean-itcl
@@ -2347,6 +2360,7 @@ clean-host: maybe-clean-isl
 clean-host: maybe-clean-libelf
 clean-host: maybe-clean-gold
 clean-host: maybe-clean-gprof
+clean-host: maybe-clean-gprofng
 clean-host: maybe-clean-intl
 clean-host: maybe-clean-tcl
 clean-host: maybe-clean-itcl
@@ -2437,6 +2451,7 @@ distclean-host: maybe-distclean-isl
 distclean-host: maybe-distclean-libelf
 distclean-host: maybe-distclean-gold
 distclean-host: maybe-distclean-gprof
+distclean-host: maybe-distclean-gprofng
 distclean-host: maybe-distclean-intl
 distclean-host: maybe-distclean-tcl
 distclean-host: maybe-distclean-itcl
@@ -2527,6 +2542,7 @@ maintainer-clean-host: maybe-maintainer-clean-isl
 maintainer-clean-host: maybe-maintainer-clean-libelf
 maintainer-clean-host: maybe-maintainer-clean-gold
 maintainer-clean-host: maybe-maintainer-clean-gprof
+maintainer-clean-host: maybe-maintainer-clean-gprofng
 maintainer-clean-host: maybe-maintainer-clean-intl
 maintainer-clean-host: maybe-maintainer-clean-tcl
 maintainer-clean-host: maybe-maintainer-clean-itcl
@@ -2675,6 +2691,7 @@ check-host:  \
     maybe-check-libelf \
     maybe-check-gold \
     maybe-check-gprof \
+    maybe-check-gprofng \
     maybe-check-intl \
     maybe-check-tcl \
     maybe-check-itcl \
@@ -2812,6 +2829,7 @@ install-host-nogcc:  \
     maybe-install-libelf \
     maybe-install-gold \
     maybe-install-gprof \
+    maybe-install-gprofng \
     maybe-install-intl \
     maybe-install-tcl \
     maybe-install-itcl \
@@ -2867,6 +2885,7 @@ install-host:  \
     maybe-install-libelf \
     maybe-install-gold \
     maybe-install-gprof \
+    maybe-install-gprofng \
     maybe-install-intl \
     maybe-install-tcl \
     maybe-install-itcl \
@@ -2977,6 +2996,7 @@ install-strip-host:  \
     maybe-install-strip-libelf \
     maybe-install-strip-gold \
     maybe-install-strip-gprof \
+    maybe-install-strip-gprofng \
     maybe-install-strip-intl \
     maybe-install-strip-tcl \
     maybe-install-strip-itcl \
@@ -20404,6 +20424,474 @@ maintainer-clean-gprof:
 
 
 
+.PHONY: configure-gprofng maybe-configure-gprofng
+maybe-configure-gprofng:
+@if gcc-bootstrap
+configure-gprofng: stage_current
+@endif gcc-bootstrap
+@if gprofng
+maybe-configure-gprofng: configure-gprofng
+configure-gprofng: 
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	test ! -f $(HOST_SUBDIR)/gprofng/Makefile || exit 0; \
+	$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprofng; \
+	$(HOST_EXPORTS)  \
+	echo Configuring in $(HOST_SUBDIR)/gprofng; \
+	cd "$(HOST_SUBDIR)/gprofng" || exit 1; \
+	case $(srcdir) in \
+	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+	  *) topdir=`echo $(HOST_SUBDIR)/gprofng/ | \
+		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+	esac; \
+	module_srcdir=gprofng; \
+	$(SHELL) \
+	  $s/$module_srcdir/configure \
+	  --srcdir=${topdir}/$module_srcdir \
+	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+	  --target=${target_alias}  \
+	  || exit 1
+@endif gprofng
+
+
+
+
+
+.PHONY: all-gprofng maybe-all-gprofng
+maybe-all-gprofng:
+@if gcc-bootstrap
+all-gprofng: stage_current
+@endif gcc-bootstrap
+@if gprofng
+TARGET-gprofng=all
+maybe-all-gprofng: all-gprofng
+all-gprofng: configure-gprofng
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS)  \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS)  \
+		$(TARGET-gprofng))
+@endif gprofng
+
+
+
+
+.PHONY: check-gprofng maybe-check-gprofng
+maybe-check-gprofng:
+@if gprofng
+maybe-check-gprofng: check-gprofng
+
+check-gprofng:
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS)  \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(FLAGS_TO_PASS)  check)
+
+@endif gprofng
+
+.PHONY: install-gprofng maybe-install-gprofng
+maybe-install-gprofng:
+@if gprofng
+maybe-install-gprofng: install-gprofng
+
+install-gprofng: installdirs
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(FLAGS_TO_PASS)  install)
+
+@endif gprofng
+
+.PHONY: install-strip-gprofng maybe-install-strip-gprofng
+maybe-install-strip-gprofng:
+@if gprofng
+maybe-install-strip-gprofng: install-strip-gprofng
+
+install-strip-gprofng: installdirs
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif gprofng
+
+# Other targets (info, dvi, pdf, etc.)
+
+.PHONY: maybe-info-gprofng info-gprofng
+maybe-info-gprofng:
+@if gprofng
+maybe-info-gprofng: info-gprofng
+
+info-gprofng: \
+    configure-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing info in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          info) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-dvi-gprofng dvi-gprofng
+maybe-dvi-gprofng:
+@if gprofng
+maybe-dvi-gprofng: dvi-gprofng
+
+dvi-gprofng: \
+    configure-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing dvi in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          dvi) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-pdf-gprofng pdf-gprofng
+maybe-pdf-gprofng:
+@if gprofng
+maybe-pdf-gprofng: pdf-gprofng
+
+pdf-gprofng: \
+    configure-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing pdf in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          pdf) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-html-gprofng html-gprofng
+maybe-html-gprofng:
+@if gprofng
+maybe-html-gprofng: html-gprofng
+
+html-gprofng: \
+    configure-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing html in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          html) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-TAGS-gprofng TAGS-gprofng
+maybe-TAGS-gprofng:
+@if gprofng
+maybe-TAGS-gprofng: TAGS-gprofng
+
+TAGS-gprofng: \
+    configure-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing TAGS in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          TAGS) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-install-info-gprofng install-info-gprofng
+maybe-install-info-gprofng:
+@if gprofng
+maybe-install-info-gprofng: install-info-gprofng
+
+install-info-gprofng: \
+    configure-gprofng \
+    info-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing install-info in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          install-info) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-install-dvi-gprofng install-dvi-gprofng
+maybe-install-dvi-gprofng:
+@if gprofng
+maybe-install-dvi-gprofng: install-dvi-gprofng
+
+install-dvi-gprofng: \
+    configure-gprofng \
+    dvi-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing install-dvi in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          install-dvi) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-install-pdf-gprofng install-pdf-gprofng
+maybe-install-pdf-gprofng:
+@if gprofng
+maybe-install-pdf-gprofng: install-pdf-gprofng
+
+install-pdf-gprofng: \
+    configure-gprofng \
+    pdf-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing install-pdf in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          install-pdf) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-install-html-gprofng install-html-gprofng
+maybe-install-html-gprofng:
+@if gprofng
+maybe-install-html-gprofng: install-html-gprofng
+
+install-html-gprofng: \
+    configure-gprofng \
+    html-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing install-html in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          install-html) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-installcheck-gprofng installcheck-gprofng
+maybe-installcheck-gprofng:
+@if gprofng
+maybe-installcheck-gprofng: installcheck-gprofng
+
+installcheck-gprofng: \
+    configure-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing installcheck in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          installcheck) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-mostlyclean-gprofng mostlyclean-gprofng
+maybe-mostlyclean-gprofng:
+@if gprofng
+maybe-mostlyclean-gprofng: mostlyclean-gprofng
+
+mostlyclean-gprofng: 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing mostlyclean in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          mostlyclean) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-clean-gprofng clean-gprofng
+maybe-clean-gprofng:
+@if gprofng
+maybe-clean-gprofng: clean-gprofng
+
+clean-gprofng: 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing clean in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          clean) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-distclean-gprofng distclean-gprofng
+maybe-distclean-gprofng:
+@if gprofng
+maybe-distclean-gprofng: distclean-gprofng
+
+distclean-gprofng: 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing distclean in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          distclean) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-maintainer-clean-gprofng maintainer-clean-gprofng
</cut>
>From hjl@sc.intel.com  Wed Mar 16 15:45:26 2022
Return-Path: <hjl@sc.intel.com>
X-Original-To: gcc-regression@gcc.gnu.org
Delivered-To: gcc-regression@gcc.gnu.org
Received: from mga02.intel.com (mga02.intel.com [134.134.136.20])
 by sourceware.org (Postfix) with ESMTPS id AC96F3857805
 for <gcc-regression@gcc.gnu.org>; Wed, 16 Mar 2022 15:45:24 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AC96F3857805
X-IronPort-AV: E=McAfee;i="6200,9189,10286"; a="244090520"
X-IronPort-AV: E=Sophos;i="5.90,186,1643702400"; d="scan'208";a="244090520"
Received: from fmsmga003.fm.intel.com ([10.253.24.29])
 by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 16 Mar 2022 08:44:53 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.90,186,1643702400"; d="scan'208";a="635031822"
Received: from scymds02.sc.intel.com ([10.82.73.244])
 by FMSMGA003.fm.intel.com with ESMTP; 16 Mar 2022 08:44:53 -0700
Received: from gnu-clx-1.sc.intel.com (gnu-clx-1.sc.intel.com [172.25.70.216])
 by scymds02.sc.intel.com with ESMTP id 22GFirhB013473;
 Wed, 16 Mar 2022 08:44:53 -0700
Received: by gnu-clx-1.sc.intel.com (Postfix, from userid 1000)
 id 890E83E001E; Wed, 16 Mar 2022 08:44:53 -0700 (PDT)
Date: Wed, 16 Mar 2022 08:44:53 -0700
To: skpgkp2@gmail.com, hjl.tools@gmail.com, gcc-regression@gcc.gnu.org
Subject: Regressions on native/master at commit r12-7673 vs commit
 r12-7659 on Linux/x86_64
User-Agent: Heirloom mailx 12.5 7/5/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20220316154453.890E83E001E@gnu-clx-1.sc.intel.com>
From: "H. J. Lu" <hjl@sc.intel.com>
X-Spam-Status: No, score=-3455.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, KAM_SHORT, RCVD_IN_DNSWL_LOW,
 RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP,
 T_SCC_BODY_TEXT_LINE,
 UNWANTED_LANGUAGE_BODY autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-BeenThere: gcc-regression@gcc.gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Gcc-regression mailing list <gcc-regression.gcc.gnu.org>
List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-regression>,
 <mailto:gcc-regression-request@gcc.gnu.org?subject=unsubscribe>
List-Archive: <https://gcc.gnu.org/pipermail/gcc-regression/>
List-Post: <mailto:gcc-regression@gcc.gnu.org>
List-Help: <mailto:gcc-regression-request@gcc.gnu.org?subject=help>
List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-regression>,
 <mailto:gcc-regression-request@gcc.gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Mar 2022 15:45:26 -0000

New failures:
FAIL: gcc.dg/tree-ssa/phi-opt-21.c scan-tree-dump phiopt4 "converted to straightline code"
FAIL: gcc.dg/tree-ssa/phi-opt-21.c scan-tree-dump phiopt4 "converted to straightline code"
FAIL: gcc.dg/tree-ssa/phi-opt-21.c scan-tree-dump phiopt4 "converted to straightline code"
FAIL: gcc.dg/tree-ssa/popcount3.c scan-tree-dump-times phiopt4 "if" 0
FAIL: gcc.dg/tree-ssa/popcount3.c scan-tree-dump-times phiopt4 "if" 0
FAIL: gcc.dg/tree-ssa/popcount3.c scan-tree-dump-times phiopt4 "if" 0
FAIL: gcc.dg/tree-ssa/pr18134.c scan-tree-dump-times optimized "= a_..D. != 0" 1
FAIL: gcc.dg/tree-ssa/pr18134.c scan-tree-dump-times optimized "= a_..D. != 0" 1
FAIL: gcc.dg/tree-ssa/pr18134.c scan-tree-dump-times optimized "= a_..D. != 0" 1
FAIL: gcc.dg/tree-ssa/pr96480.c scan-tree-dump optimized " = _[0-9]* <= 3;"
FAIL: gcc.dg/tree-ssa/pr96480.c scan-tree-dump optimized " = _[0-9]* <= 3;"
FAIL: gcc.dg/tree-ssa/pr96480.c scan-tree-dump optimized " = _[0-9]* <= 3;"
FAIL: gcc.dg/tree-ssa/sccp-2.c scan-tree-dump-times optimized "bb" 1
FAIL: gcc.dg/tree-ssa/sccp-2.c scan-tree-dump-times optimized "bb" 1
FAIL: gcc.dg/tree-ssa/sccp-2.c scan-tree-dump-times optimized "bb" 1
FAIL: gcc.dg/tree-ssa/ssa-hoist-4.c scan-tree-dump-times optimized "MAX_EXPR" 1
FAIL: gcc.dg/tree-ssa/ssa-hoist-4.c scan-tree-dump-times optimized "MAX_EXPR" 1
FAIL: gcc.dg/tree-ssa/ssa-hoist-4.c scan-tree-dump-times optimized "MAX_EXPR" 1
FAIL: gcc.target/i386/pr95852-1.c scan-assembler-times \tjn?o\t 16
FAIL: gcc.target/i386/pr95852-1.c scan-assembler-times \tjn?o\t 16
FAIL: gcc.target/i386/pr95852-1.c scan-assembler-times \tjn?o\t 16
FAIL: gcc.target/i386/pr95852-1.c scan-assembler-times \tsetno\t 8
FAIL: gcc.target/i386/pr95852-1.c scan-assembler-times \tsetno\t 8
FAIL: gcc.target/i386/pr95852-1.c scan-assembler-times \tsetno\t 8
FAIL: gcc.target/i386/pr95852-1.c scan-assembler-times \tseto\t 8
FAIL: gcc.target/i386/pr95852-1.c scan-assembler-times \tseto\t 8
FAIL: gcc.target/i386/pr95852-1.c scan-assembler-times \tseto\t 8
FAIL: gcc.target/i386/pr95852-2.c scan-assembler-times \tjn?o\t 16
FAIL: gcc.target/i386/pr95852-2.c scan-assembler-times \tjn?o\t 16
FAIL: gcc.target/i386/pr95852-2.c scan-assembler-times \tjn?o\t 16
FAIL: gcc.target/i386/pr95852-2.c scan-assembler-times \tseto\t 8
FAIL: gcc.target/i386/pr95852-2.c scan-assembler-times \tseto\t 8
FAIL: gcc.target/i386/pr95852-2.c scan-assembler-times \tseto\t 8
FAIL: gcc.target/i386/pr95852-3.c scan-assembler-times \tjn?o\t 16
FAIL: gcc.target/i386/pr95852-3.c scan-assembler-times \tjn?o\t 16
FAIL: gcc.target/i386/pr95852-3.c scan-assembler-times \tjn?o\t 16
FAIL: gcc.target/i386/pr95852-3.c scan-assembler-times \tsetno\t 8
FAIL: gcc.target/i386/pr95852-3.c scan-assembler-times \tsetno\t 8
FAIL: gcc.target/i386/pr95852-3.c scan-assembler-times \tsetno\t 8
FAIL: gcc.target/i386/pr95852-3.c scan-assembler-times \tseto\t 8
FAIL: gcc.target/i386/pr95852-3.c scan-assembler-times \tseto\t 8
FAIL: gcc.target/i386/pr95852-3.c scan-assembler-times \tseto\t 8
FAIL: gcc.target/i386/pr95852-4.c scan-assembler-times \tjn?o\t 16
FAIL: gcc.target/i386/pr95852-4.c scan-assembler-times \tjn?o\t 16
FAIL: gcc.target/i386/pr95852-4.c scan-assembler-times \tjn?o\t 16
FAIL: gcc.target/i386/pr95852-4.c scan-assembler-times \tseto\t 8
FAIL: gcc.target/i386/pr95852-4.c scan-assembler-times \tseto\t 8
FAIL: gcc.target/i386/pr95852-4.c scan-assembler-times \tseto\t 8
FAIL: g++.dg/tree-ssa/pr86544.C  -std=gnu++14  scan-tree-dump-times phiopt4 "if" 0
FAIL: g++.dg/tree-ssa/pr86544.C  -std=gnu++14  scan-tree-dump-times phiopt4 "if" 0
FAIL: g++.dg/tree-ssa/pr86544.C  -std=gnu++14  scan-tree-dump-times phiopt4 "if" 0
FAIL: g++.dg/tree-ssa/pr86544.C  -std=gnu++17  scan-tree-dump-times phiopt4 "if" 0
FAIL: g++.dg/tree-ssa/pr86544.C  -std=gnu++17  scan-tree-dump-times phiopt4 "if" 0
FAIL: g++.dg/tree-ssa/pr86544.C  -std=gnu++17  scan-tree-dump-times phiopt4 "if" 0
FAIL: g++.dg/tree-ssa/pr86544.C  -std=gnu++20  scan-tree-dump-times phiopt4 "if" 0
FAIL: g++.dg/tree-ssa/pr86544.C  -std=gnu++20  scan-tree-dump-times phiopt4 "if" 0
FAIL: g++.dg/tree-ssa/pr86544.C  -std=gnu++20  scan-tree-dump-times phiopt4 "if" 0
FAIL: g++.dg/tree-ssa/pr86544.C  -std=gnu++98  scan-tree-dump-times phiopt4 "if" 0
FAIL: g++.dg/tree-ssa/pr86544.C  -std=gnu++98  scan-tree-dump-times phiopt4 "if" 0
FAIL: g++.dg/tree-ssa/pr86544.C  -std=gnu++98  scan-tree-dump-times phiopt4 "if" 0

New passes:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [TCWG CI] Regression caused by binutils: gprofng: a new GNU profiler
@ 2022-03-11 21:49 ci_notify
  0 siblings, 0 replies; 2+ messages in thread
From: ci_notify @ 2022-03-11 21:49 UTC (permalink / raw)
  To: Vladimir Mezentsev; +Cc: gcc-regression

[TCWG CI] Regression caused by binutils: gprofng: a new GNU profiler:
commit bb368aad297fe3ad40cf397e6fc85aa471429a28
Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>

    gprofng: a new GNU profiler

Results regressed to
# reset_artifacts:
-10
# true:
0
# First few build errors in logs:
# 00:00:27 configure: error: Cannot set --enable-shared for gprofng/libcollector.
# 00:00:27 checking whether setenv is declared... configure: error: /home/tcwg-buildslave/workspace/tcwg_gnu_13/abe/snapshots/binutils.git~master/gprofng/libcollector/configure failed for libcollector
# 00:00:27 checking for stdlib.h... make[1]: *** [Makefile:7723: configure-gprofng] Error 1
# 00:00:39 make: *** [Makefile:1001: all] Error 2

from
# reset_artifacts:
-10
# true:
0
# build_abe binutils:
1
# build_abe bootstrap_ubsan:
2

THIS IS THE END OF INTERESTING STUFF.  BELOW ARE LINKS TO BUILDS, REPRODUCTION INSTRUCTIONS, AND THE RAW COMMIT.

This commit has regressed these CI configurations:
 - tcwg_gcc_bootstrap/master-aarch64-bootstrap_ubsan

First_bad build: https://ci.linaro.org/job/tcwg_gcc_bootstrap-bisect-master-aarch64-bootstrap_ubsan/8/artifact/artifacts/build-bb368aad297fe3ad40cf397e6fc85aa471429a28/
Last_good build: https://ci.linaro.org/job/tcwg_gcc_bootstrap-bisect-master-aarch64-bootstrap_ubsan/8/artifact/artifacts/build-a655f19af95eb685ba64f48ee8fc2b3b7a3d886a/
Baseline build: https://ci.linaro.org/job/tcwg_gcc_bootstrap-bisect-master-aarch64-bootstrap_ubsan/8/artifact/artifacts/build-baseline/
Even more details: https://ci.linaro.org/job/tcwg_gcc_bootstrap-bisect-master-aarch64-bootstrap_ubsan/8/artifact/artifacts/

Reproduce builds:
<cut>
mkdir investigate-binutils-bb368aad297fe3ad40cf397e6fc85aa471429a28
cd investigate-binutils-bb368aad297fe3ad40cf397e6fc85aa471429a28

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

# Fetch manifests and test.sh script
mkdir -p artifacts/manifests
curl -o artifacts/manifests/build-baseline.sh https://ci.linaro.org/job/tcwg_gcc_bootstrap-bisect-master-aarch64-bootstrap_ubsan/8/artifact/artifacts/manifests/build-baseline.sh --fail
curl -o artifacts/manifests/build-parameters.sh https://ci.linaro.org/job/tcwg_gcc_bootstrap-bisect-master-aarch64-bootstrap_ubsan/8/artifact/artifacts/manifests/build-parameters.sh --fail
curl -o artifacts/test.sh https://ci.linaro.org/job/tcwg_gcc_bootstrap-bisect-master-aarch64-bootstrap_ubsan/8/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

# Save baseline build state (which is then restored in artifacts/test.sh)
mkdir -p ./bisect
rsync -a --del --delete-excluded --exclude /bisect/ --exclude /artifacts/ --exclude /binutils/ ./ ./bisect/baseline/

cd binutils

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

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

cd ..
</cut>

Full commit (up to 1000 lines):
<cut>
commit bb368aad297fe3ad40cf397e6fc85aa471429a28
Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
Date:   Fri Mar 11 08:58:31 2022 +0000

    gprofng: a new GNU profiler
    
    top-level
            * Makefile.def: Add gprofng module.
            * configure.ac: Add --enable-gprofng option.
            * src-release.sh: Add gprofng.
            * Makefile.in: Regenerate.
            * configure: Regenerate.
            * gprofng: New directory.
    
    binutils
            * MAINTAINERS: Add gprofng maintainer.
            * README-how-to-make-a-release: Add gprofng.
    
    include.
            * collectorAPI.h: New file.
            * libcollector.h: New file.
            * libfcollector.h: New file.
---
 ChangeLog                                          |     9 +
 Makefile.def                                       |    11 +
 Makefile.in                                        |   497 +
 binutils/ChangeLog                                 |     5 +
 binutils/MAINTAINERS                               |     1 +
 binutils/README-how-to-make-a-release              |    12 +-
 configure                                          |    18 +
 configure.ac                                       |    14 +
 gprofng/Makefile.am                                |    79 +
 gprofng/Makefile.in                                |   940 +
 gprofng/README                                     |   100 +
 gprofng/acinclude.m4                               |     4 +
 gprofng/aclocal.m4                                 |  1254 ++
 gprofng/common/cc_libcollector.h                   |    44 +
 gprofng/common/config.h.in                         |   117 +
 gprofng/common/core_pcbe.c                         |  3023 +++
 gprofng/common/cpu_frequency.h                     |   303 +
 gprofng/common/cpuid.c                             |   203 +
 gprofng/common/gp-defs.h                           |    58 +
 gprofng/common/gp-experiment.h                     |   186 +
 gprofng/common/gp-time.h                           |    46 +
 gprofng/common/hwc_cpus.h                          |   198 +
 gprofng/common/hwcdrv.c                            |  1454 ++
 gprofng/common/hwcdrv.h                            |   330 +
 gprofng/common/hwcentry.h                          |   417 +
 gprofng/common/hwcfuncs.c                          |   704 +
 gprofng/common/hwcfuncs.h                          |   269 +
 gprofng/common/hwctable.c                          |  5410 ++++++
 gprofng/common/opteron_pcbe.c                      |   448 +
 gprofng/config/bison.m4                            |    92 +
 gprofng/configure                                  | 19350 +++++++++++++++++++
 gprofng/configure.ac                               |   189 +
 gprofng/doc/Makefile.am                            |    37 +
 gprofng/doc/Makefile.in                            |   834 +
 gprofng/doc/fdl.texi                               |   506 +
 gprofng/doc/gprofng.texi                           |  3399 ++++
 gprofng/doc/mdate-sh                               |   224 +
 gprofng/doc/texinfo.tex                            | 11731 +++++++++++
 gprofng/doc/version.texi                           |     4 +
 gprofng/gp-display-html/Makefile.am                |    60 +
 gprofng/gp-display-html/Makefile.in                |   630 +
 gprofng/gp-display-html/gp-display-html.in         |   256 +
 gprofng/libcollector/CHK_LIBC_OBJ                  |    82 +
 gprofng/libcollector/Makefile.am                   |    79 +
 gprofng/libcollector/Makefile.in                   |  1131 ++
 gprofng/libcollector/aclocal.m4                    |  1237 ++
 gprofng/libcollector/collector.c                   |  2494 +++
 gprofng/libcollector/collector.h                   |   236 +
 gprofng/libcollector/collectorAPI.c                |   140 +
 gprofng/libcollector/configure                     | 18081 +++++++++++++++++
 gprofng/libcollector/configure.ac                  |    60 +
 gprofng/libcollector/descendants.h                 |    81 +
 gprofng/libcollector/dispatcher.c                  |  1263 ++
 gprofng/libcollector/envmgmt.c                     |   840 +
 gprofng/libcollector/gethrtime.c                   |    41 +
 gprofng/libcollector/heaptrace.c                   |   503 +
 gprofng/libcollector/hwprofile.c                   |   905 +
 gprofng/libcollector/hwprofile.h                   |    89 +
 gprofng/libcollector/iolib.c                       |  1156 ++
 gprofng/libcollector/iotrace.c                     |  3728 ++++
 gprofng/libcollector/jprofile.c                    |  1315 ++
 gprofng/libcollector/libcol-i386-dis.c             |    28 +
 gprofng/libcollector/libcol_hwcdrv.c               |    25 +
 gprofng/libcollector/libcol_hwcfuncs.c             |    27 +
 gprofng/libcollector/libcol_util.c                 |  1693 ++
 gprofng/libcollector/libcol_util.h                 |   321 +
 gprofng/libcollector/linetrace.c                   |  2005 ++
 gprofng/libcollector/mapfile.aarch64-Linux         |    40 +
 gprofng/libcollector/mapfile.amd64-Linux           |    79 +
 gprofng/libcollector/mapfile.intel-Linux           |    81 +
 gprofng/libcollector/mapfile.sparc-Linux           |    40 +
 gprofng/libcollector/mapfile.sparcv9-Linux         |    58 +
 gprofng/libcollector/memmgr.c                      |   396 +
 gprofng/libcollector/memmgr.h                      |    59 +
 gprofng/libcollector/mmaptrace.c                   |  1691 ++
 gprofng/libcollector/profile.c                     |   287 +
 gprofng/libcollector/synctrace.c                   |  1064 +
 gprofng/libcollector/tsd.c                         |   149 +
 gprofng/libcollector/tsd.h                         |    80 +
 gprofng/libcollector/unwind.c                      |  4630 +++++
 gprofng/src/ABS.h                                  |    62 +
 gprofng/src/Application.cc                         |   259 +
 gprofng/src/Application.h                          |   108 +
 gprofng/src/ArchiveExp.cc                          |   149 +
 gprofng/src/ArchiveExp.h                           |    41 +
 gprofng/src/BaseMetric.cc                          |   975 +
 gprofng/src/BaseMetric.h                           |   246 +
 gprofng/src/BaseMetricTreeNode.cc                  |   329 +
 gprofng/src/BaseMetricTreeNode.h                   |   100 +
 gprofng/src/CacheMap.h                             |   186 +
 gprofng/src/CallStack.cc                           |  1250 ++
 gprofng/src/CallStack.h                            |   114 +
 gprofng/src/CatchOutOfMemory.cc                    |    59 +
 gprofng/src/ClassFile.cc                           |  1639 ++
 gprofng/src/ClassFile.h                            |    63 +
 gprofng/src/Command.cc                             |   562 +
 gprofng/src/Command.h                              |   286 +
 gprofng/src/CompCom.cc                             |   313 +
 gprofng/src/CompCom.h                              |    63 +
 gprofng/src/DataObject.cc                          |   193 +
 gprofng/src/DataObject.h                           |    82 +
 gprofng/src/DataSpace.cc                           |   558 +
 gprofng/src/DataSpace.h                            |    55 +
 gprofng/src/DataStream.cc                          |    55 +
 gprofng/src/DataStream.h                           |    51 +
 gprofng/src/Data_window.cc                         |   241 +
 gprofng/src/Data_window.h                          |    99 +
 gprofng/src/Dbe.cc                                 | 10371 ++++++++++
 gprofng/src/Dbe.h                                  |   294 +
 gprofng/src/DbeApplication.cc                      |   113 +
 gprofng/src/DbeApplication.h                       |    50 +
 gprofng/src/DbeArray.h                             |    99 +
 gprofng/src/DbeCacheMap.h                          |   109 +
 gprofng/src/DbeFile.cc                             |   541 +
 gprofng/src/DbeFile.h                              |   103 +
 gprofng/src/DbeJarFile.cc                          |   505 +
 gprofng/src/DbeJarFile.h                           |    46 +
 gprofng/src/DbeLinkList.h                          |    73 +
 gprofng/src/DbeLock.cc                             |    41 +
 gprofng/src/DbeLock.h                              |    38 +
 gprofng/src/DbeSession.cc                          |  3527 ++++
 gprofng/src/DbeSession.cc.1                        |  3531 ++++
 gprofng/src/DbeSession.h                           |   481 +
 gprofng/src/DbeSyncMap.h                           |   224 +
 gprofng/src/DbeThread.cc                           |   224 +
 gprofng/src/DbeThread.h                            |    61 +
 gprofng/src/DbeView.cc                             |  3126 +++
 gprofng/src/DbeView.h                              |   842 +
 gprofng/src/DefaultHandler.h                       |   114 +
 gprofng/src/DefaultMap.h                           |   232 +
 gprofng/src/DefaultMap2D.h                         |   147 +
 gprofng/src/DerivedMetrics.cc                      |   293 +
 gprofng/src/DerivedMetrics.h                       |    54 +
 gprofng/src/Disasm.cc                              |   403 +
 gprofng/src/Disasm.h                               |    66 +
 gprofng/src/Dwarf.cc                               |  1041 +
 gprofng/src/Dwarf.h                                |    87 +
 gprofng/src/DwarfLib.cc                            |  2203 +++
 gprofng/src/DwarfLib.h                             |   313 +
 gprofng/src/Elf.cc                                 |  1138 ++
 gprofng/src/Elf.h                                  |   170 +
 gprofng/src/Emsg.cc                                |   614 +
 gprofng/src/Emsg.h                                 |   112 +
 gprofng/src/Emsgnum.h                              |   135 +
 gprofng/src/ExpGroup.cc                            |   163 +
 gprofng/src/ExpGroup.h                             |    50 +
 gprofng/src/Exp_Layout.cc                          |   422 +
 gprofng/src/Exp_Layout.h                           |   158 +
 gprofng/src/Experiment.cc                          |  6961 +++++++
 gprofng/src/Experiment.h                           |   689 +
 gprofng/src/Expression.cc                          |  1279 ++
 gprofng/src/Expression.h                           |   180 +
 gprofng/src/FileData.cc                            |   400 +
 gprofng/src/FileData.h                             |   522 +
 gprofng/src/Filter.cc                              |   514 +
 gprofng/src/Filter.h                               |   111 +
 gprofng/src/FilterExp.h                            |    56 +
 gprofng/src/FilterSet.cc                           |   106 +
 gprofng/src/FilterSet.h                            |    72 +
 gprofng/src/Function.cc                            |  1160 ++
 gprofng/src/Function.h                             |   222 +
 gprofng/src/HashMap.h                              |   435 +
 gprofng/src/HeapActivity.cc                        |   408 +
 gprofng/src/HeapActivity.h                         |    76 +
 gprofng/src/HeapData.cc                            |   284 +
 gprofng/src/HeapData.h                             |   450 +
 gprofng/src/HeapMap.cc                             |   325 +
 gprofng/src/HeapMap.h                              |    59 +
 gprofng/src/Hist_data.cc                           |  1886 ++
 gprofng/src/Hist_data.h                            |   292 +
 gprofng/src/Histable.h                             |   333 +
 gprofng/src/IOActivity.cc                          |   825 +
 gprofng/src/IOActivity.h                           |    86 +
 gprofng/src/IndexMap2D.h                           |   119 +
 gprofng/src/IndexObject.cc                         |   554 +
 gprofng/src/IndexObject.h                          |   111 +
 gprofng/src/IntervalMap.h                          |   194 +
 gprofng/src/LoadObject.cc                          |  1242 ++
 gprofng/src/LoadObject.h                           |   210 +
 gprofng/src/MachineModel.cc                        |   317 +
 gprofng/src/Makefile.am                            |   202 +
 gprofng/src/Makefile.in                            |  1171 ++
 gprofng/src/Map.h                                  |    61 +
 gprofng/src/Map2D.h                                |    53 +
 gprofng/src/MemObject.cc                           |    44 +
 gprofng/src/MemObject.h                            |    62 +
 gprofng/src/MemorySpace.cc                         |   452 +
 gprofng/src/MemorySpace.h                          |   113 +
 gprofng/src/Metric.cc                              |  1660 ++
 gprofng/src/Metric.h                               |   188 +
 gprofng/src/MetricList.cc                          |  1075 ++
 gprofng/src/MetricList.h                           |   163 +
 gprofng/src/Module.cc                              |  1840 ++
 gprofng/src/Module.h                               |   284 +
 gprofng/src/Ovw_data.cc                            |   242 +
 gprofng/src/Ovw_data.h                             |   102 +
 gprofng/src/PRBTree.cc                             |   480 +
 gprofng/src/PRBTree.h                              |   106 +
 gprofng/src/PathTree.cc                            |  2637 +++
 gprofng/src/PathTree.h                             |   405 +
 gprofng/src/PreviewExp.cc                          |   113 +
 gprofng/src/PreviewExp.h                           |    49 +
 gprofng/src/Print.cc                               |  3485 ++++
 gprofng/src/Print.h                                |   283 +
 gprofng/src/QLParser.h                             |    61 +
 gprofng/src/QLParser.tab.cc                        |  1453 ++
 gprofng/src/QLParser.tab.hh                        |  2038 ++
 gprofng/src/QLParser.yy                            |   390 +
 gprofng/src/SAXParser.h                            |    49 +
 gprofng/src/SAXParserFactory.cc                    |   666 +
 gprofng/src/SAXParserFactory.h                     |    75 +
 gprofng/src/Sample.cc                              |    94 +
 gprofng/src/Sample.h                               |    80 +
 gprofng/src/SegMem.h                               |    76 +
 gprofng/src/Settings.cc                            |  1586 ++
 gprofng/src/Settings.h                             |   425 +
 gprofng/src/SourceFile.cc                          |   229 +
 gprofng/src/SourceFile.h                           |   117 +
 gprofng/src/Stabs.cc                               |  2650 +++
 gprofng/src/Stabs.h                                |   160 +
 gprofng/src/Stats_data.cc                          |   203 +
 gprofng/src/Stats_data.h                           |    59 +
 gprofng/src/StringBuilder.cc                       |   585 +
 gprofng/src/StringBuilder.h                        |   101 +
 gprofng/src/StringMap.h                            |   238 +
 gprofng/src/Table.cc                               |  1687 ++
 gprofng/src/Table.h                                |   618 +
 gprofng/src/UserLabel.cc                           |   177 +
 gprofng/src/UserLabel.h                            |    61 +
 gprofng/src/checks.cc                              |   516 +
 gprofng/src/collctrl.cc                            |  3149 +++
 gprofng/src/collctrl.h                             |   405 +
 gprofng/src/collect.h                              |   156 +
 gprofng/src/collector_module.h                     |   223 +
 gprofng/src/comp_com.c                             |  3481 ++++
 gprofng/src/comp_com.h                             |   903 +
 gprofng/src/count.cc                               |   237 +
 gprofng/src/data_pckts.h                           |   595 +
 gprofng/src/dbe_collctrl.cc                        |    28 +
 gprofng/src/dbe_hwc.h                              |    38 +
 gprofng/src/dbe_hwcdrv.c                           |    23 +
 gprofng/src/dbe_hwcfuncs.c                         |    23 +
 gprofng/src/dbe_hwctable.c                         |    23 +
 gprofng/src/dbe_memmgr.c                           |   118 +
 gprofng/src/dbe_structs.h                          |   219 +
 gprofng/src/dbe_types.h                            |    62 +
 gprofng/src/debug.h                                |    89 +
 gprofng/src/enums.h                                |   195 +
 gprofng/src/envsets.cc                             |   420 +
 gprofng/src/gethrtime.c                            |   166 +
 gprofng/src/gp-archive.cc                          |   700 +
 gprofng/src/gp-archive.h                           |    64 +
 gprofng/src/gp-collect-app.cc                      |  1598 ++
 gprofng/src/gp-display-src.cc                      |   752 +
 gprofng/src/gp-display-text.cc                     |  2834 +++
 gprofng/src/gp-print.h                             |   118 +
 gprofng/src/gprofng.cc                             |   301 +
 gprofng/src/gprofng.h2m                            |     4 +
 gprofng/src/gprofng.rc                             |   132 +
 gprofng/src/i18n.cc                                |    30 +
 gprofng/src/i18n.h                                 |    40 +
 gprofng/src/info.h                                 |    73 +
 gprofng/src/ipc.cc                                 |  2829 +++
 gprofng/src/ipcio.cc                               |  1025 +
 gprofng/src/ipcio.h                                |   176 +
 gprofng/src/machinemodels/generic.ermm             |    32 +
 gprofng/src/machinemodels/m5.ermm                  |    65 +
 gprofng/src/machinemodels/m6.ermm                  |    65 +
 gprofng/src/machinemodels/m7.ermm                  |    64 +
 gprofng/src/machinemodels/t4.ermm                  |    67 +
 gprofng/src/machinemodels/t5.ermm                  |    65 +
 gprofng/src/parse.cc                               |   927 +
 gprofng/src/stab.h                                 |   205 +
 gprofng/src/util.cc                                |  1582 ++
 gprofng/src/util.h                                 |   185 +
 gprofng/src/vec.h                                  |   524 +
 gprofng/testsuite/config/default.exp               |    38 +
 gprofng/testsuite/gprofng.display/display.exp      |    86 +
 .../gprofng.display/jsynprog/Intface.java          |     6 +
 .../gprofng.display/jsynprog/Launcher.java         |    90 +
 .../testsuite/gprofng.display/jsynprog/Makefile    |    56 +
 .../gprofng.display/jsynprog/Routine.java          |   224 +
 .../gprofng.display/jsynprog/Sub_Routine.java      |    54 +
 .../gprofng.display/jsynprog/check_results.pl      |    33 +
 .../testsuite/gprofng.display/jsynprog/cloop.cc    |   114 +
 .../testsuite/gprofng.display/jsynprog/jsynprog.h  |    74 +
 .../gprofng.display/jsynprog/jsynprog.java         |   229 +
 gprofng/testsuite/gprofng.display/mttest/Makefile  |    41 +
 .../gprofng.display/mttest/check_results.pl        |    46 +
 .../testsuite/gprofng.display/mttest/gethrtime.c   |   265 +
 gprofng/testsuite/gprofng.display/mttest/mttest.c  |  1306 ++
 gprofng/testsuite/gprofng.display/synprog/Makefile |    66 +
 gprofng/testsuite/gprofng.display/synprog/callso.c |   152 +
 gprofng/testsuite/gprofng.display/synprog/callsx.c |   152 +
 .../gprofng.display/synprog/check_results.pl       |    40 +
 .../testsuite/gprofng.display/synprog/endcases.c   |   208 +
 gprofng/testsuite/gprofng.display/synprog/fitos.c  |    78 +
 .../testsuite/gprofng.display/synprog/inc_body.h   |    26 +
 .../testsuite/gprofng.display/synprog/inc_brace.h  |    26 +
 .../testsuite/gprofng.display/synprog/inc_entry.h  |    24 +
 .../testsuite/gprofng.display/synprog/inc_exit.h   |    25 +
 .../testsuite/gprofng.display/synprog/inc_func.h   |    28 +
 .../testsuite/gprofng.display/synprog/inc_inline.h |    32 +
 .../testsuite/gprofng.display/synprog/inc_macro.h  |    26 +
 gprofng/testsuite/gprofng.display/synprog/iosyn.c  |   614 +
 .../testsuite/gprofng.display/synprog/pagethrash.c |    75 +
 gprofng/testsuite/gprofng.display/synprog/so_syn.c |    69 +
 gprofng/testsuite/gprofng.display/synprog/so_syx.c |    68 +
 .../testsuite/gprofng.display/synprog/stopwatch.c  |   294 +
 .../testsuite/gprofng.display/synprog/stopwatch.h  |    61 +
 .../testsuite/gprofng.display/synprog/synprog.c    |  1823 ++
 gprofng/testsuite/lib/Makefile.skel                |    61 +
 gprofng/testsuite/lib/acct.pm                      |   774 +
 gprofng/testsuite/lib/display-lib.exp              |   105 +
 include/ChangeLog                                  |     6 +
 include/collectorAPI.h                             |    73 +
 include/libcollector.h                             |    89 +
 include/libfcollector.h                            |    42 +
 src-release.sh                                     |     4 +-
 319 files changed, 222979 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 18e8b6835da..73b6085d6ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2022-03-11  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>
+
+	* Makefile.def: Add gprofng module.
+	* configure.ac: Add --enable-gprofng option.
+	* src-release.sh: Add gprofng.
+	* Makefile.in: Regenerate.
+	* configure: Regenerate.
+	* gprofng: New directory.
+
 2022-01-22  Nick Clifton  <nickc@redhat.com>
 
 	* 2.38 release branch created.
diff --git a/Makefile.def b/Makefile.def
index 8181a7aa97b..acdcd625ed6 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -75,6 +75,7 @@ host_modules= { module= libelf; lib_path=.libs; bootstrap=true;
 		no_install= true; };
 host_modules= { module= gold; bootstrap=true; };
 host_modules= { module= gprof; };
+host_modules= { module= gprofng; };
 host_modules= { module= intl; bootstrap=true; };
 host_modules= { module= tcl;
                 missing=mostlyclean; };
@@ -508,6 +509,16 @@ dependencies = { module=all-gprof; on=all-bfd; };
 dependencies = { module=all-gprof; on=all-opcodes; };
 dependencies = { module=all-gprof; on=all-intl; };
 dependencies = { module=all-gprof; on=all-gas; };
+
+dependencies = { module=configure-gprofng; on=configure-intl; };
+dependencies = { module=all-gprofng; on=all-libiberty; };
+dependencies = { module=all-gprofng; on=all-bfd; };
+dependencies = { module=all-gprofng; on=all-opcodes; };
+dependencies = { module=all-gprofng; on=all-intl; };
+dependencies = { module=all-gprofng; on=all-gas; };
+dependencies = { module=install-gprofng; on=install-opcodes; };
+dependencies = { module=install-gprofng; on=install-bfd; };
+
 dependencies = { module=configure-ld; on=configure-intl; };
 dependencies = { module=all-ld; on=all-libiberty; };
 dependencies = { module=all-ld; on=all-bfd; };
diff --git a/Makefile.in b/Makefile.in
index 843e150dac6..3aacd2daac9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1073,6 +1073,7 @@ configure-host:  \
     maybe-configure-libelf \
     maybe-configure-gold \
     maybe-configure-gprof \
+    maybe-configure-gprofng \
     maybe-configure-intl \
     maybe-configure-tcl \
     maybe-configure-itcl \
@@ -1228,6 +1229,7 @@ all-host: maybe-all-libelf
 all-host: maybe-all-gold
 @endif gold-no-bootstrap
 all-host: maybe-all-gprof
+all-host: maybe-all-gprofng
 @if intl-no-bootstrap
 all-host: maybe-all-intl
 @endif intl-no-bootstrap
@@ -1357,6 +1359,7 @@ info-host: maybe-info-isl
 info-host: maybe-info-libelf
 info-host: maybe-info-gold
 info-host: maybe-info-gprof
+info-host: maybe-info-gprofng
 info-host: maybe-info-intl
 info-host: maybe-info-tcl
 info-host: maybe-info-itcl
@@ -1447,6 +1450,7 @@ dvi-host: maybe-dvi-isl
 dvi-host: maybe-dvi-libelf
 dvi-host: maybe-dvi-gold
 dvi-host: maybe-dvi-gprof
+dvi-host: maybe-dvi-gprofng
 dvi-host: maybe-dvi-intl
 dvi-host: maybe-dvi-tcl
 dvi-host: maybe-dvi-itcl
@@ -1537,6 +1541,7 @@ pdf-host: maybe-pdf-isl
 pdf-host: maybe-pdf-libelf
 pdf-host: maybe-pdf-gold
 pdf-host: maybe-pdf-gprof
+pdf-host: maybe-pdf-gprofng
 pdf-host: maybe-pdf-intl
 pdf-host: maybe-pdf-tcl
 pdf-host: maybe-pdf-itcl
@@ -1627,6 +1632,7 @@ html-host: maybe-html-isl
 html-host: maybe-html-libelf
 html-host: maybe-html-gold
 html-host: maybe-html-gprof
+html-host: maybe-html-gprofng
 html-host: maybe-html-intl
 html-host: maybe-html-tcl
 html-host: maybe-html-itcl
@@ -1717,6 +1723,7 @@ TAGS-host: maybe-TAGS-isl
 TAGS-host: maybe-TAGS-libelf
 TAGS-host: maybe-TAGS-gold
 TAGS-host: maybe-TAGS-gprof
+TAGS-host: maybe-TAGS-gprofng
 TAGS-host: maybe-TAGS-intl
 TAGS-host: maybe-TAGS-tcl
 TAGS-host: maybe-TAGS-itcl
@@ -1807,6 +1814,7 @@ install-info-host: maybe-install-info-isl
 install-info-host: maybe-install-info-libelf
 install-info-host: maybe-install-info-gold
 install-info-host: maybe-install-info-gprof
+install-info-host: maybe-install-info-gprofng
 install-info-host: maybe-install-info-intl
 install-info-host: maybe-install-info-tcl
 install-info-host: maybe-install-info-itcl
@@ -1897,6 +1905,7 @@ install-dvi-host: maybe-install-dvi-isl
 install-dvi-host: maybe-install-dvi-libelf
 install-dvi-host: maybe-install-dvi-gold
 install-dvi-host: maybe-install-dvi-gprof
+install-dvi-host: maybe-install-dvi-gprofng
 install-dvi-host: maybe-install-dvi-intl
 install-dvi-host: maybe-install-dvi-tcl
 install-dvi-host: maybe-install-dvi-itcl
@@ -1987,6 +1996,7 @@ install-pdf-host: maybe-install-pdf-isl
 install-pdf-host: maybe-install-pdf-libelf
 install-pdf-host: maybe-install-pdf-gold
 install-pdf-host: maybe-install-pdf-gprof
+install-pdf-host: maybe-install-pdf-gprofng
 install-pdf-host: maybe-install-pdf-intl
 install-pdf-host: maybe-install-pdf-tcl
 install-pdf-host: maybe-install-pdf-itcl
@@ -2077,6 +2087,7 @@ install-html-host: maybe-install-html-isl
 install-html-host: maybe-install-html-libelf
 install-html-host: maybe-install-html-gold
 install-html-host: maybe-install-html-gprof
+install-html-host: maybe-install-html-gprofng
 install-html-host: maybe-install-html-intl
 install-html-host: maybe-install-html-tcl
 install-html-host: maybe-install-html-itcl
@@ -2167,6 +2178,7 @@ installcheck-host: maybe-installcheck-isl
 installcheck-host: maybe-installcheck-libelf
 installcheck-host: maybe-installcheck-gold
 installcheck-host: maybe-installcheck-gprof
+installcheck-host: maybe-installcheck-gprofng
 installcheck-host: maybe-installcheck-intl
 installcheck-host: maybe-installcheck-tcl
 installcheck-host: maybe-installcheck-itcl
@@ -2257,6 +2269,7 @@ mostlyclean-host: maybe-mostlyclean-isl
 mostlyclean-host: maybe-mostlyclean-libelf
 mostlyclean-host: maybe-mostlyclean-gold
 mostlyclean-host: maybe-mostlyclean-gprof
+mostlyclean-host: maybe-mostlyclean-gprofng
 mostlyclean-host: maybe-mostlyclean-intl
 mostlyclean-host: maybe-mostlyclean-tcl
 mostlyclean-host: maybe-mostlyclean-itcl
@@ -2347,6 +2360,7 @@ clean-host: maybe-clean-isl
 clean-host: maybe-clean-libelf
 clean-host: maybe-clean-gold
 clean-host: maybe-clean-gprof
+clean-host: maybe-clean-gprofng
 clean-host: maybe-clean-intl
 clean-host: maybe-clean-tcl
 clean-host: maybe-clean-itcl
@@ -2437,6 +2451,7 @@ distclean-host: maybe-distclean-isl
 distclean-host: maybe-distclean-libelf
 distclean-host: maybe-distclean-gold
 distclean-host: maybe-distclean-gprof
+distclean-host: maybe-distclean-gprofng
 distclean-host: maybe-distclean-intl
 distclean-host: maybe-distclean-tcl
 distclean-host: maybe-distclean-itcl
@@ -2527,6 +2542,7 @@ maintainer-clean-host: maybe-maintainer-clean-isl
 maintainer-clean-host: maybe-maintainer-clean-libelf
 maintainer-clean-host: maybe-maintainer-clean-gold
 maintainer-clean-host: maybe-maintainer-clean-gprof
+maintainer-clean-host: maybe-maintainer-clean-gprofng
 maintainer-clean-host: maybe-maintainer-clean-intl
 maintainer-clean-host: maybe-maintainer-clean-tcl
 maintainer-clean-host: maybe-maintainer-clean-itcl
@@ -2675,6 +2691,7 @@ check-host:  \
     maybe-check-libelf \
     maybe-check-gold \
     maybe-check-gprof \
+    maybe-check-gprofng \
     maybe-check-intl \
     maybe-check-tcl \
     maybe-check-itcl \
@@ -2812,6 +2829,7 @@ install-host-nogcc:  \
     maybe-install-libelf \
     maybe-install-gold \
     maybe-install-gprof \
+    maybe-install-gprofng \
     maybe-install-intl \
     maybe-install-tcl \
     maybe-install-itcl \
@@ -2867,6 +2885,7 @@ install-host:  \
     maybe-install-libelf \
     maybe-install-gold \
     maybe-install-gprof \
+    maybe-install-gprofng \
     maybe-install-intl \
     maybe-install-tcl \
     maybe-install-itcl \
@@ -2977,6 +2996,7 @@ install-strip-host:  \
     maybe-install-strip-libelf \
     maybe-install-strip-gold \
     maybe-install-strip-gprof \
+    maybe-install-strip-gprofng \
     maybe-install-strip-intl \
     maybe-install-strip-tcl \
     maybe-install-strip-itcl \
@@ -20404,6 +20424,474 @@ maintainer-clean-gprof:
 
 
 
+.PHONY: configure-gprofng maybe-configure-gprofng
+maybe-configure-gprofng:
+@if gcc-bootstrap
+configure-gprofng: stage_current
+@endif gcc-bootstrap
+@if gprofng
+maybe-configure-gprofng: configure-gprofng
+configure-gprofng: 
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	test ! -f $(HOST_SUBDIR)/gprofng/Makefile || exit 0; \
+	$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprofng; \
+	$(HOST_EXPORTS)  \
+	echo Configuring in $(HOST_SUBDIR)/gprofng; \
+	cd "$(HOST_SUBDIR)/gprofng" || exit 1; \
+	case $(srcdir) in \
+	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+	  *) topdir=`echo $(HOST_SUBDIR)/gprofng/ | \
+		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+	esac; \
+	module_srcdir=gprofng; \
+	$(SHELL) \
+	  $s/$module_srcdir/configure \
+	  --srcdir=${topdir}/$module_srcdir \
+	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+	  --target=${target_alias}  \
+	  || exit 1
+@endif gprofng
+
+
+
+
+
+.PHONY: all-gprofng maybe-all-gprofng
+maybe-all-gprofng:
+@if gcc-bootstrap
+all-gprofng: stage_current
+@endif gcc-bootstrap
+@if gprofng
+TARGET-gprofng=all
+maybe-all-gprofng: all-gprofng
+all-gprofng: configure-gprofng
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS)  \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS)  \
+		$(TARGET-gprofng))
+@endif gprofng
+
+
+
+
+.PHONY: check-gprofng maybe-check-gprofng
+maybe-check-gprofng:
+@if gprofng
+maybe-check-gprofng: check-gprofng
+
+check-gprofng:
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS)  \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(FLAGS_TO_PASS)  check)
+
+@endif gprofng
+
+.PHONY: install-gprofng maybe-install-gprofng
+maybe-install-gprofng:
+@if gprofng
+maybe-install-gprofng: install-gprofng
+
+install-gprofng: installdirs
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(FLAGS_TO_PASS)  install)
+
+@endif gprofng
+
+.PHONY: install-strip-gprofng maybe-install-strip-gprofng
+maybe-install-strip-gprofng:
+@if gprofng
+maybe-install-strip-gprofng: install-strip-gprofng
+
+install-strip-gprofng: installdirs
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(FLAGS_TO_PASS)  install-strip)
+
+@endif gprofng
+
+# Other targets (info, dvi, pdf, etc.)
+
+.PHONY: maybe-info-gprofng info-gprofng
+maybe-info-gprofng:
+@if gprofng
+maybe-info-gprofng: info-gprofng
+
+info-gprofng: \
+    configure-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing info in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          info) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-dvi-gprofng dvi-gprofng
+maybe-dvi-gprofng:
+@if gprofng
+maybe-dvi-gprofng: dvi-gprofng
+
+dvi-gprofng: \
+    configure-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing dvi in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          dvi) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-pdf-gprofng pdf-gprofng
+maybe-pdf-gprofng:
+@if gprofng
+maybe-pdf-gprofng: pdf-gprofng
+
+pdf-gprofng: \
+    configure-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing pdf in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          pdf) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-html-gprofng html-gprofng
+maybe-html-gprofng:
+@if gprofng
+maybe-html-gprofng: html-gprofng
+
+html-gprofng: \
+    configure-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing html in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          html) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-TAGS-gprofng TAGS-gprofng
+maybe-TAGS-gprofng:
+@if gprofng
+maybe-TAGS-gprofng: TAGS-gprofng
+
+TAGS-gprofng: \
+    configure-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing TAGS in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          TAGS) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-install-info-gprofng install-info-gprofng
+maybe-install-info-gprofng:
+@if gprofng
+maybe-install-info-gprofng: install-info-gprofng
+
+install-info-gprofng: \
+    configure-gprofng \
+    info-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing install-info in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          install-info) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-install-dvi-gprofng install-dvi-gprofng
+maybe-install-dvi-gprofng:
+@if gprofng
+maybe-install-dvi-gprofng: install-dvi-gprofng
+
+install-dvi-gprofng: \
+    configure-gprofng \
+    dvi-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing install-dvi in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          install-dvi) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-install-pdf-gprofng install-pdf-gprofng
+maybe-install-pdf-gprofng:
+@if gprofng
+maybe-install-pdf-gprofng: install-pdf-gprofng
+
+install-pdf-gprofng: \
+    configure-gprofng \
+    pdf-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing install-pdf in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          install-pdf) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-install-html-gprofng install-html-gprofng
+maybe-install-html-gprofng:
+@if gprofng
+maybe-install-html-gprofng: install-html-gprofng
+
+install-html-gprofng: \
+    configure-gprofng \
+    html-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing install-html in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          install-html) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-installcheck-gprofng installcheck-gprofng
+maybe-installcheck-gprofng:
+@if gprofng
+maybe-installcheck-gprofng: installcheck-gprofng
+
+installcheck-gprofng: \
+    configure-gprofng 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing installcheck in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          installcheck) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-mostlyclean-gprofng mostlyclean-gprofng
+maybe-mostlyclean-gprofng:
+@if gprofng
+maybe-mostlyclean-gprofng: mostlyclean-gprofng
+
+mostlyclean-gprofng: 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing mostlyclean in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          mostlyclean) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-clean-gprofng clean-gprofng
+maybe-clean-gprofng:
+@if gprofng
+maybe-clean-gprofng: clean-gprofng
+
+clean-gprofng: 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing clean in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          clean) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-distclean-gprofng distclean-gprofng
+maybe-distclean-gprofng:
+@if gprofng
+maybe-distclean-gprofng: distclean-gprofng
+
+distclean-gprofng: 
+	@: $(MAKE); $(unstage)
+	@[ -f ./gprofng/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing distclean in gprofng"; \
+	(cd $(HOST_SUBDIR)/gprofng && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=${AR}" "AS=${AS}" \
+	          "CC=${CC}" "CXX=${CXX}" "LD=${LD}" "NM=${NM}" \
+	          "RANLIB=${RANLIB}" \
+	          "DLLTOOL=${DLLTOOL}" "WINDRES=${WINDRES}" "WINDMC=${WINDMC}" \
+	          distclean) \
+	  || exit 1
+
+@endif gprofng
+
+.PHONY: maybe-maintainer-clean-gprofng maintainer-clean-gprofng
</cut>
>From skpandey@sc.intel.com  Fri Mar 11 22:23:48 2022
Return-Path: <skpandey@sc.intel.com>
X-Original-To: gcc-regression@gcc.gnu.org
Delivered-To: gcc-regression@gcc.gnu.org
Received: from mga01.intel.com (mga01.intel.com [192.55.52.88])
 by sourceware.org (Postfix) with ESMTPS id 0EA923858D3C;
 Fri, 11 Mar 2022 22:23:46 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0EA923858D3C
X-IronPort-AV: E=McAfee;i="6200,9189,10283"; a="280411159"
X-IronPort-AV: E=Sophos;i="5.90,175,1643702400"; d="scan'208";a="280411159"
Received: from fmsmga004.fm.intel.com ([10.253.24.48])
 by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 11 Mar 2022 14:23:45 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.90,175,1643702400"; d="scan'208";a="612287026"
Received: from scymds02.sc.intel.com ([10.82.73.244])
 by fmsmga004.fm.intel.com with ESMTP; 11 Mar 2022 14:23:45 -0800
Received: from gskx-2.sc.intel.com (gskx-2.sc.intel.com [172.25.33.41])
 by scymds02.sc.intel.com with ESMTP id 22BMNj5B016756;
 Fri, 11 Mar 2022 14:23:45 -0800
Received: by gskx-2.sc.intel.com (Postfix, from userid 10659939)
 id B046A2864701; Fri, 11 Mar 2022 14:23:45 -0800 (PST)
Date: Fri, 11 Mar 2022 14:23:45 -0800
To: gcc-patches@gcc.gnu.org, gcc-regression@gcc.gnu.org,
 roger@nextmovesoftware.com
Subject: [r12-7616 Regression] FAIL: libitm.c/memset-1.c (test for excess
 errors) on Linux/x86_64
User-Agent: Heirloom mailx 12.5 7/5/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20220311222345.B046A2864701@gskx-2.sc.intel.com>
From: "sunil.k.pandey" <skpandey@sc.intel.com>
X-Spam-Status: No, score=-3488.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,
 SPF_HELO_NONE, SPF_NONE, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-BeenThere: gcc-regression@gcc.gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Gcc-regression mailing list <gcc-regression.gcc.gnu.org>
List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-regression>,
 <mailto:gcc-regression-request@gcc.gnu.org?subject=unsubscribe>
List-Archive: <https://gcc.gnu.org/pipermail/gcc-regression/>
List-Post: <mailto:gcc-regression@gcc.gnu.org>
List-Help: <mailto:gcc-regression-request@gcc.gnu.org?subject=help>
List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-regression>,
 <mailto:gcc-regression-request@gcc.gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Mar 2022 22:23:48 -0000

On Linux/x86_64,

251ea6dfbdb4448875e41081682bb3aa451b5729 is the first bad commit
commit 251ea6dfbdb4448875e41081682bb3aa451b5729
Author: Roger Sayle <roger@nextmovesoftware.com>
Date:   Fri Mar 11 17:57:12 2022 +0000

    PR tree-optimization/98335: New peephole2 xorl;movb -> movzbl

caused

FAIL: libitm.c/memcpy-1.c (internal compiler error: in extract_insn, at recog.cc:2769)
FAIL: libitm.c/memcpy-1.c (test for excess errors)
FAIL: libitm.c/memset-1.c (internal compiler error: in extract_insn, at recog.cc:2769)
FAIL: libitm.c/memset-1.c (test for excess errors)

with GCC configured with

../../gcc/configure --prefix=/local/skpandey/gccwork/toolwork/gcc-bisect-master/master/r12-7616/usr --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-languages=c,c++,fortran --enable-cet --without-isl --enable-libmpx x86_64-linux --disable-bootstrap

To reproduce:

$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c.exp=libitm.c/memcpy-1.c --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c.exp=libitm.c/memcpy-1.c --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c.exp=libitm.c/memset-1.c --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libitm/testsuite && make check RUNTESTFLAGS="c.exp=libitm.c/memset-1.c --target_board='unix{-m32\ -march=cascadelake}'"

(Please do not reply to this email, for question about this report, contact me at skpgkp2 at gmail dot com)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-15 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-15 14:30 [TCWG CI] Regression caused by binutils: gprofng: a new GNU profiler ci_notify
  -- strict thread matches above, loose matches on Subject: below --
2022-03-11 21:49 ci_notify

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).