[00/45] Synchronize shared build infrastructure with GCC tree

Message ID 20230807111029.2320238-1-arsen@aarsen.me
Headers
Series Synchronize shared build infrastructure with GCC tree |

Message

Arsen Arsenović Aug. 7, 2023, 11:07 a.m. UTC
  Hello,

This patch set, combined with a sibling patch set sent on the GCC ML,
bring up the shared infrastructure between the two projects in sync
again.

It largely consists of cherry-picks from various people which have been
reviewed and accepted on the GCC side, as well as a couple of patches
for differences that seemed to get lost during the pick-and-regenerate
process.

The commits changing targets targets might not be correct.  I am not
certain what level of support Binutils have for these, and so had to
take a guess on how to change them.

During this process, it appears that I overlooked passing -x to
cherry-pick, so the paper trail got lost.  If needed, I can hack
together some code to associate commits based on subjects with their
pair in the other repository, and amend them back into the commit
messages.

These patches ignore the intl/ directory, as I plan to follow up this
patchset with one that can be cleanly applied to both trees which gets
rid of the intl/ directory in favor of out-of-tree gettext (ISL, GMP, et
al. style).

Regression tested on x86_64-pc-linux-gnu.

Thanks in advance, have a lovely day.

Alexandre Oliva (1):
  Add TFLAGS to gcc's GCC_FOR_TARGET

Andreas Schwab (1):
  Use substituted GDCFLAGS

Andrew Pinski (1):
  Fix PR bootstrap/102389: --with-build-config=bootstrap-lto is broken

Arsen Arsenović (4):
  *: Regenerate autoconf and aclocal files
  sync toplevel with GCC: drop 32b PA-RISC on HPUX in GCC
  toplevel: reconcile few divergences with GCC
  toplevel: Substitute GDCFLAGS instead of using CFLAGS

Bernhard M. Wiedemann (1):
  libtool.m4: Sort output of 'find' to enable deterministic builds.

Christophe Lyon (1):
  [ARM/FDPIC v6 02/24] [ARM] FDPIC: Handle arm*-*-uclinuxfdpiceabi in
    configure scripts

David Seifert (1):
  configure: use OBJDUMP determined by libtool [PR95648]

Eugene Rozenfeld (4):
  Collect both user and kernel events for autofdo tests and
    autoprofiledbootstrap
  Fix collection and processing of autoprofile data for target libs
  Fix autoprofiledbootstrap build
  Disable warnings as errors for STAGEautofeedback.

Gaius Mulley (1):
  Merge modula-2 front end onto gcc.

Iain Buclaw (2):
  Add D front-end, libphobos library, and D2 testsuite.
  d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256
    (v2.098.0-beta.1)

Iain Sandoe (7):
  Darwin : Update libtool and dependencies for Darwin20 [PR97865]
  configure: Do not build the ununsed libffi shared library.
  configure: When host-shared, pass --with-pic to in-tree lib configs.
  configure, Darwin: Ensure overrides to host-pie are passed to gcc
    configure.
  configure: Account CXXFLAGS in gcc-plugin.m4.
  Darwin, config: Revise host config fragment.
  configure: Allow host fragments to react to --enable-host-shared.

Jason Merrill (1):
  c++: source position of lambda captures [PR84471]

John David Anglin (1):
  Fix hppa64-hpux11 build to remove source paths from embedded path.

Jonathan Wakely (1):
  config-ml.in: Suppress output from multi-do recipes

Jozef Lawrynowicz (1):
  MSP430: Add -fno-exceptions multilib

LIU Hao (1):
  gcc: Add 'mcf' thread model support from mcfgthread

Lulu Cheng (1):
  Libvtv: Add loongarch support.

Marek Polacek (1):
  configure: Implement --enable-host-pie

Martin Liska (1):
  Do not use HAVE_DOS_BASED_FILE_SYSTEM for Cygwin.

Martin Storsjö (1):
  mh-mingw: Set __USE_MINGW_ACCESS in missed C++ flags variables

Max Filippov (2):
  gcc: xtensa: add XCHAL_HAVE_{CLAMPS,DEPBITS,EXCLUSIVE,XEA3} to
    dynconfig
  gcc: xtensa: add data alignment properties to dynconfig

Meghan Denny (1):
  Updated constants from <https://dwarfstd.org/Languages.php>

Olivier Hainque (1):
  Generic configury support for shared libs on VxWorks

Peter Foley (1):
  configure: Only create serdep.tmp if needed

Philip Herron (1):
  gccrs: Add gcc-check-target check-rust

Roger Sayle (1):
  PR bootstrap/106472: Add libgo depends on libbacktrace to Makefile.def

Sergei Trofimovich (2):
  mh-mingw: drop unused BOOT_CXXFLAGS variable
  Makefile.def: drop remnants of unused libelf

Thomas Schwinge (2):
  Remove support for Intel MIC offloading
  Revert "Fix PR 67102: Add libstdc++ dependancy to libffi" [PR67102]

Xi Ruoyao (1):
  LoongArch: implement count_{leading,trailing}_zeros

 ChangeLog                       |   29 +
 Makefile.def                    |   51 +-
 Makefile.in                     | 5831 +++++++++++++++++++++----------
 Makefile.tpl                    |   48 +-
 bfd/aclocal.m4                  |    4 +-
 bfd/configure                   |   73 +-
 binutils/configure              |   73 +-
 config-ml.in                    |   37 +-
 config/ChangeLog                |    4 +
 config/bootstrap-lto-lean.mk    |    6 +-
 config/bootstrap-lto.mk         |    6 +-
 config/gcc-plugin.m4            |    7 +-
 config/gthr.m4                  |    1 +
 config/mh-darwin                |   65 +-
 config/mh-mingw                 |    1 +
 config/mh-pa-hpux10             |    4 -
 configure                       |  388 +-
 configure.ac                    |  158 +-
 gas/configure                   |   73 +-
 gdb/configure                   |  116 +-
 gold/aclocal.m4                 |    2 +-
 gprof/configure                 |   73 +-
 gprofng/aclocal.m4              |   22 +-
 gprofng/configure               |  119 +-
 include/ansidecl.h              |    2 +-
 include/dwarf2.h                |   10 +
 include/longlong.h              |   12 +
 include/vtv-change-permission.h |    4 +
 include/xtensa-dynconfig.h      |  107 +-
 intl/Makefile.in                |    6 +-
 intl/configure                  |   34 +
 intl/configure.ac               |   21 +
 ld/configure                    |  116 +-
 libbacktrace/configure          |   73 +-
 libctf/configure                |   73 +-
 libdecnumber/configure          |   22 +-
 libdecnumber/configure.ac       |   19 +-
 libsframe/configure             |   73 +-
 libtool.m4                      |   88 +-
 ltmain.sh                       |    8 +-
 opcodes/configure               |   73 +-
 sim/configure                   |   73 +-
 zlib/configure                  |   97 +-
 zlib/configure.ac               |   21 +-
 44 files changed, 5639 insertions(+), 2484 deletions(-)
 delete mode 100644 config/mh-pa-hpux10
  

Comments

Alan Modra Aug. 12, 2023, 1:18 a.m. UTC | #1
On Mon, Aug 07, 2023 at 01:07:03PM +0200, Arsen Arsenović via Binutils wrote:
> This patch set, combined with a sibling patch set sent on the GCC ML,
> bring up the shared infrastructure between the two projects in sync
> again.

I committed this patch series with some alterations:
- The zlib change in "Do not build the ununsed libffi shared library"
  is fixed. 
- Regeneration is done in a final patch, with one exception where a
  config/ file is deleted.
- ChangeLog patches are removed.
- commit log messages are trimmed.

Jason, I didn't change the subject line of "c++: source position of
lambda captures [PR84471]" because the subject lines are one way to
find the originating patch in the gcc repo, if anyone wants to do
that.  Yes, it might have been better to keep cherry-pick commit
hashes but those were mostly lost and I wasn't inclined to dig through
the gcc logs to find them all.
  
Arsen Arsenović Aug. 12, 2023, 9:55 a.m. UTC | #2
Alan Modra <amodra@gmail.com> writes:

> On Mon, Aug 07, 2023 at 01:07:03PM +0200, Arsen Arsenović via Binutils wrote:
>> This patch set, combined with a sibling patch set sent on the GCC ML,
>> bring up the shared infrastructure between the two projects in sync
>> again.
>
> I committed this patch series with some alterations:
> - The zlib change in "Do not build the ununsed libffi shared library"
>   is fixed. 
> - Regeneration is done in a final patch, with one exception where a
>   config/ file is deleted.
> - ChangeLog patches are removed.
> - commit log messages are trimmed.

Thank you.  I'll try to get the intl-to-gettext change out ASAP.

Have a lovely day.