Skip to content
Snippets Groups Projects
  1. Jan 16, 2021
  2. Jan 15, 2021
    • Jakub Jelinek's avatar
      libatomic, libgomp, libitc: Fix bootstrap [PR70454] · 0411ae7f
      Jakub Jelinek authored
      The recent changes to error on mixing -march=i386 and -fcf-protection broke
      bootstrap.  This patch changes lib{atomic,gomp,itm} configury, so that it
      only adds -march=i486 to flags if really needed (i.e. when 486 or later isn't
      on by default already).  Similarly, it will not use ifuncs if -mcx16
      (or -march=i686 for 32-bit) is on by default.
      
      2021-01-15  Jakub Jelinek  <jakub@redhat.com>
      
      	PR target/70454
      libatomic/
      	* configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
      	be added through preprocessor check on
      	__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.  Determine if try_ifunc is needed
      	based on preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
      	or __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8.
      libgomp/
      	* configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
      	be added through preprocessor check on
      	__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.
      libitm/
      	* configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
      	be added through preprocessor check on
      	__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.
      0411ae7f
  3. Jan 06, 2021
  4. Jan 05, 2021
    • Samuel Thibault's avatar
      Update GNU/Hurd configure support · f56de355
      Samuel Thibault authored
      ChangeLog:
      
      	* libtool.m4: Match gnu* along other GNU systems.
      	* libgo/config/libtool.m4: Match gnu* along other GNU systems.
      	* libgo/configure: Re-generate.
      
      libffi/
      	* configure: Re-generate.
      
      libgomp/
      	* configure: Re-generate.
      
      gcc/
      
      	* configure: Re-generate.
      
      libatomic/
      
      	* configure: Re-generate.
      
      libbacktrace/
      
      	* configure: Re-generate.
      
      libcc1/
      
      	* configure: Re-generate.
      
      libgfortran/
      
      	* configure: Re-generate.
      
      libgomp/
      
      	* configure: Re-generate.
      
      libhsail-rt/
      
      	* configure: Re-generate.
      
      libitm/
      
      	* configure: Re-generate.
      
      libobjc/
      
      	* configure: Re-generate.
      
      liboffloadmic/
      
      	* configure: Re-generate.
      	* plugin/configure: Re-generate.
      
      libphobos/
      
      	* configure: Re-generate.
      
      libquadmath/
      
      	* configure: Re-generate.
      
      libsanitizer/
      
      	* configure: Re-generate.
      
      libssp/
      
      	* configure: Re-generate.
      
      libstdc++-v3/
      
      	* configure: Re-generate.
      
      libvtv/
      
      	* configure: Re-generate.
      
      lto-plugin/
      
      	* configure: Re-generate.
      
      zlib/
      
      	* configure: Re-generate.
      f56de355
  5. Jan 04, 2021
  6. Dec 06, 2020
  7. Dec 05, 2020
    • Iain Sandoe's avatar
      Darwin : Update libtool and dependencies for Darwin20 [PR97865] · 1352bc88
      Iain Sandoe authored
      The change in major version (and the increment from Darwin19 to 20)
      caused libtool tests to fail which resulted in incorrect build settings
      for shared libraries.
      
      We take this opportunity to sort out the shared undefined symbols state
      rather than propagating the current unsound behaviour into a new rev.
      
      This change means that we default to the case that missing symbols are
      considered an error, and if one wants to allow this intentionally, the
      confiuration for that case should be set appropriately.
      
      Three existing cases need undefined dynamic lookup:
       libitm, where there is already a configuration mechanism to add the
               flags.
       libcc1, where we add simple configuration to add the flags for Darwin.
       libsanitizer, where we can add to the existing extra flags.
      
      libcc1/ChangeLog:
      
      	PR target/97865
      	* Makefile.am: Add dynamic_lookup to LD flags for Darwin.
      	* configure.ac: Test for Darwin host and set a flag.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      
      libitm/ChangeLog:
      
      	PR target/97865
      	* configure.tgt: Add dynamic_lookup to XLDFLAGS for Darwin.
      	* configure: Regenerate.
      
      libsanitizer/ChangeLog:
      
      	PR target/97865
      	* configure.tgt: Add dynamic_lookup to EXTRA_CXXFLAGS for
      	Darwin.
      	* configure: Regenerate.
      
      ChangeLog:
      
      	PR target/97865
      	* libtool.m4: Update handling of Darwin platform link flags
      	for Darwin20.
      
      gcc/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libatomic/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libbacktrace/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libffi/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libgfortran/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libgomp/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libhsail-rt/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libobjc/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libphobos/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libquadmath/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libssp/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libstdc++-v3/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      libvtv/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      
      zlib/ChangeLog:
      
      	PR target/97865
      	* configure: Regenerate.
      1352bc88
  8. Nov 30, 2020
  9. Nov 29, 2020
    • John David Anglin's avatar
      Fix hppa64-hpux11 build to remove source paths from embedded path. · 4e4ba647
      John David Anglin authored
      This change adds the +nodefaultrpath ld option to remove all library
      paths that were specified with the -L option from the embedded path.
      
      2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
      
      ChangeLog:
      	* libtool.m4 (archive_cmds): Add +nodefaultrpath ld option on
      	hppa64-*-hpux11*.
      
      libatomic/ChangeLog:
      	* configure: Regenerate.
      
      libbacktrace/ChangeLog:
      	* configure: Regenerate.
      
      libcc1/ChangeLog:
      	* configure: Regenerate.
      
      libffi/ChangeLog:
      	* configure: Regenerate.
      
      libgfortran/ChangeLog:
      	* configure: Regenerate.
      
      libgomp/ChangeLog:
      	* configure: Regenerate.
      
      libhsail-rt/ChangeLog:
      	* configure: Regenerate.
      
      libitm/ChangeLog:
      	* configure: Regenerate.
      
      libobjc/ChangeLog:
      	* configure: Regenerate.
      
      liboffloadmic/ChangeLog:
      	* configure: Regenerate.
      	* plugin/configure: Regenerate.
      
      libquadmath/ChangeLog:
      	* configure: Regenerate.
      
      libsanitizer/ChangeLog:
      	* configure: Regenerate.
      
      libssp/ChangeLog:
      	* configure: Regenerate.
      
      libstdc++-v3/ChangeLog:
      	* configure: Regenerate.
      
      libvtv/ChangeLog:
      	* configure: Regenerate.
      
      lto-plugin/ChangeLog:
      	* configure: Regenerate.
      
      zlib/ChangeLog:
      	* configure: Regenerate.
      4e4ba647
  10. Oct 12, 2020
  11. Oct 11, 2020
    • Clément Chigot's avatar
      aix: remove libgomp and libatomic archives before creating FAT archives · 4eaf96c5
      Clément Chigot authored
      AIX caches shared objects in archives with read-other permission.
      libgomp and libatomic might be in use during the build or testing, which
      may cause archiver operations on them to fail.  This patch adjusts the
      Makefile fragments to delete the library archives before creating fresh
      archives containing both the 32 bit and 64 bit shared objects.
      
      libatomic/ChangeLog:
      
      2020-10-11  Clement Chigot  <clement.chigot@atos.net>
      
      	* config/t-aix: Delete and recreate libatomic before creating
      	FAT library.
      
      libgomp/ChangeLog:
      
      2020-10-11  Clement Chigot  <clement.chigot@atos.net>
      
      	* config/t-aix: Delete and recreate libgomp before creating
      	FAT library.
      4eaf96c5
  12. Sep 28, 2020
  13. Sep 27, 2020
    • Clément Chigot's avatar
      aix: Use $(AR) without -X32_64 to build FAT libraries. · 3c11f25f
      Clément Chigot authored
      AIX FAT libraries should be built with the version of AR chosen by configure.
      The GNU Make $(AR) variable includes the AIX -X32_64 option needed
      by the default Makefile rules to accept both 32 bit and 64 bit object files.
      The -X32_64 option conflicts with ar archiving objects of the same name
      used to build FAT libraries.
      
      This patch changes the Makefile fragments for AIX FAT libraries to use $(AR),
      but strips the -X32_64 option from the Make variable.
      
      libgcc/ChangeLog:
      
      2020-09-27  Clement Chigot  <clement.chigot@atos.net>
      
      	* config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
      
      libatomic/ChangeLog:
      
      2020-09-27  Clement Chigot  <clement.chigot@atos.net>
      
      	* config/t-aix: Use $(AR) without -X32_64.
      
      libgomp/ChangeLog:
      
      2020-09-27  Clement Chigot  <clement.chigot@atos.net>
      
      	* config/t-aix: Use $(AR) without -X32_64.
      
      libstdc++-v3/ChangeLog:
      
      2020-09-27  Clement Chigot  <clement.chigot@atos.net>
      
      	* config/os/aix/t-aix: Use $(AR) without -X32_64.
      
      libgfortran/ChangeLog:
      
      2020-09-27  Clement Chigot  <clement.chigot@atos.net>
      
      	* config/t-aix: Use $(AR) without -X32_64.
      3c11f25f
  14. Sep 12, 2020
  15. Sep 11, 2020
    • Tom de Vries's avatar
      [libatomic] Add nvptx support · 15545563
      Tom de Vries authored
      Add nvptx support to libatomic.
      
      Given that atomic_test_and_set is not implemented for nvptx (PR96964), the
      compiler translates __atomic_test_and_set falling back onto the "Failing all
      else, assume a single threaded environment and simply perform the operation"
      case in expand_atomic_test_and_set, so it doesn't map onto an actual atomic
      operation.
      
      Still, that counts as supported for the configure test of libatomic, so we
      end up with HAVE_ATOMIC_TAS_1/2/4/8/16 == 1, and the corresponding
      __atomic_test_and_set_1/2/4/8/16 in libatomic all using that non-atomic
      implementation.
      
      Fix this by adding an atomic_test_and_set expansion for nvptx, that uses
      libatomics __atomic_test_and_set_1.
      
      This again makes the configure tests for HAVE_ATOMIC_TAS_1/2/4/8/16 fail, so
      instead we use this case in tas_n.c:
      ...
      /* If this type is smaller than word-sized, fall back to a word-sized
         compare-and-swap loop.  */
      bool
      SIZE(libat_test_and_set) (UTYPE *mptr, int smodel)
      ...
      which for __atomic_test_and_set_8 uses INVERT_MASK_8.
      
      Add INVERT_MASK_8 in libatomic_i.h, as well as MASK_8.
      
      Tested libatomic testsuite on nvptx.
      
      gcc/ChangeLog:
      
      	PR target/96964
      	* config/nvptx/nvptx.md (define_expand "atomic_test_and_set"): New
      	expansion.
      
      libatomic/ChangeLog:
      
      	PR target/96898
      	* configure.tgt: Add nvptx.
      	* libatomic_i.h (MASK_8, INVERT_MASK_8): New macro definition.
      	* config/nvptx/host-config.h: New file.
      	* config/nvptx/lock.c: New file.
      15545563
  16. Sep 08, 2020
  17. Sep 07, 2020
    • Tom de Vries's avatar
      [libatomic, testsuite] Add missing include in atomic-generic.c · c9c87dc9
      Tom de Vries authored
      When compiling atomic-generic.c from the libatomic testsuite, we run into:
      ...
      $ gcc src/libatomic/testsuite/libatomic.c/atomic-generic.c -latomic
      src/libatomic/testsuite/libatomic.c/atomic-generic.c: In function ‘main’:
      src/libatomic/testsuite/libatomic.c/atomic-generic.c:31:7: warning: \
        implicit declaration of function ‘memcmp’ [-Wimplicit-function-declaration]
         if (memcmp (&a, &zero, size))
             ^~~~~~
      ...
      
      Fix this by adding the missing string.h include.
      
      Tested on x86_64.
      
      libatomic/ChangeLog:
      
      	* testsuite/libatomic.c/atomic-generic.c: Include string.h.
      c9c87dc9
  18. Jul 15, 2020
  19. Jul 14, 2020
    • David Edelsohn's avatar
      aix: FAT libraries: test native compiler mode directly · 4f97bed9
      David Edelsohn authored
      The FAT libraries config fragments need to know which library is native
      and which is a multilib to choose the correct multilib from which to
      append the additional object file or shared object file.  Testing the
      top-level archive is fragile because it will fail if rebuilding.  This
      patch tests the compiler preprocessing macros for the 64 bit AIX specific
      __64BIT__ to determine the native mode of the compiler in MULTILIBTOP.
      
      2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
      
      libatomic/ChangeLog
      
      	* config/t-aix: Set BITS from compiler cpp macro.
      
      libgcc/ChangeLog
      
      	* config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
      
      libgfortran/ChangeLog
      
      	* config/t-aix: Set BITS from compiler cpp macro.
      
      libgomp/ChangeLog
      
      	* config/t-aix: Set BITS from compiler cpp macro.
      
      libstdc++-v3/ChangeLog
      
      	* config/os/aix/t-aix: Set BITS from compiler cpp macro.
      4f97bed9
  20. Jun 23, 2020
  21. Jun 22, 2020
    • David Edelsohn's avatar
      build: Use -include instead of conditional include. · 0164e598
      David Edelsohn authored
      Automake and GNU Make both use the endif keyword, which conflicts and
      elicits an error for matching if/ifdef and endif.
      
      This patch changes the conditional include to use "-include" to prevent
      a warning about a possible empty tmake_file.
      
      libgomp/ChangeLog
      
      2020-06-22  David Edelsohn  <dje.gcc@gmail.com>
      
      	* Makefile.am: Use -include.
      	* Makefile.in: Regenerate.
      
      libatomic/ChangeLog
      
      2020-06-22  David Edelsohn  <dje.gcc@gmail.com>
      
      	* Makefile.am: Use -include.
      	* Makefile.in: Regenerate.
      
      libstdc++-v3/ChangeLog
      
      2020-06-22  David Edelsohn  <dje.gcc@gmail.com>
      
      	* Makefile.am: Use -include.
      	* Makefile.in: Regenerate.
      
      libgfortran/ChangeLog
      
      2020-06-22  David Edelsohn  <dje.gcc@gmail.com>
      
      	* Makefile.am: Use -include.
      	* Makefile.in: Regenerate.
      0164e598
    • GCC Administrator's avatar
      Daily bump. · f86e11a2
      GCC Administrator authored
      f86e11a2
  22. Jun 21, 2020
    • David Edelsohn's avatar
      aix: Add GCC64 configuration and FAT target libraries. · 47ddb895
      David Edelsohn authored
      This patch adds the ability to configure GCC on AIX to build as a
      64 bit application and to build target libraries "FAT" libraries in both
      32 bit and 64 bit mode.
      
      The patch adds makefile fragment hooks to target libraries that allows
      them to include target-specific rules.  The target specific rules for
      AIX place both 32 bit and 64 bit objects and shared objects
      in archives at the top-level, not multilib subdirectories.  The
      multilibs are built in subdirectories, but must be combined during the
      last parts of the target library build process.  Because of the way
      that GCC bootstrap works, the libraries must be combined during the
      multiple stages of GCC bootstrap, not solely when installed in the
      final destination, so the libraries are correct at the end of
      each target library build stage, not solely an install recipe.
      
      gcc/ChangeLog
      
      2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
      
      	* config.gcc: Use t-aix64, biarch64 and default64 for cpu_is_64bit.
      	* config/rs6000/aix72.h (ASM_SPEC): Remove aix64 option.
      	(ASM_SPEC32): New.
      	(ASM_SPEC64): New.
      	(ASM_CPU_SPEC): Remove vsx and altivec options.
      	(CPP_SPEC_COMMON): Rename from CPP_SPEC.
      	(CPP_SPEC32): New.
      	(CPP_SPEC64): New.
      	(CPLUSPLUS_CPP_SPEC): Rename to CPLUSPLUS_CPP_SPEC_COMMON..
      	(TARGET_DEFAULT): Only define if not BIARCH.
      	(LIB_SPEC_COMMON): Rename from LIB_SPEC.
      	(LIB_SPEC32): New.
      	(LIB_SPEC64): New.
      	(LINK_SPEC_COMMON): Rename from LINK_SPEC.
      	(LINK_SPEC32): New.
      	(LINK_SPEC64): New.
      	(STARTFILE_SPEC): Add 64 bit version of crtcxa and crtdbase.
      	(ASM_SPEC): Define 32 and 64 bit alternatives using DEFAULT_ARCH64_P.
      	(CPP_SPEC): Same.
      	(CPLUSPLUS_CPP_SPEC): Same.
      	(LIB_SPEC): Same.
      	(LINK_SPEC): Same.
      	(SUBTARGET_EXTRA_SPECS): Add new 32/64 specs.
      	* config/rs6000/defaultaix64.h: New file.
      	* config/rs6000/t-aix64: New file.
      
      libgcc/ChangeLog
      
      2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
      
      	* config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
      	* config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
      	and 64 bit with -maix64.
      	* config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
      	Build and install AIX-style FAT libraries.
      
      libgomp/ChangeLog
      
      2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
      
      	* Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
      	* Makefile.in: Regenerate
      	* configure.ac (tmake_file): Substitute.
      	* configure: Regenerate.
      	* configure.tgt (powerpc-ibm-aix*): Define tmake_file.
      	* config/t-aix: New file.
      
      libstdc++-v3/ChangeLog
      
      2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
      
      	* Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
      	* Makefile.in: Regenerate.
      	* configure.ac (tmake_file): Substitute.
      	* configure: Regenerate.
      	* configure.host (aix*): Define tmake_file.
      	* config/os/aix/t-aix: New file.
      
      libatomic/ChangeLog
      
      2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
      
      	* Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
      	* Makefile.in: Regenerate.
      	* configure.ac (tmake_file): Substitute.
      	* configure: Regenerate.
      	* configure.tgt (powerpc-ibm-aix*): Define tmake_file.
      	* config/t-aix: New file.
      
      libgfortran/ChangeLog
      
      2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
      
      	* Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
      	* Makefile.in: Regenerate.
      	* configure.ac (tmake_file): Substitute.
      	* configure: Regenerate.
      	* configure.host: Add system configury stanza. Define tmake_file.
      	* config/t-aix: New file.
      47ddb895
  23. Jun 02, 2020
  24. Jun 01, 2020
    • Uros Bizjak's avatar
      i386: Add __attribute__ ((gcc_struct)) to struct fenv [PR95418] · 832c1192
      Uros Bizjak authored
      Windows ABI (MinGW) is different than Linux ABI when bitfileds are involved.
      The following patch adds __attribute__ ((gcc_struct)) to struct fenv in order
      to match the layout of x87 state image in memory.
      
      2020-06-01  Uroš Bizjak  <ubizjak@gmail.com>
      
      libatomic/ChangeLog:
      	* config/x86/fenv.c (struct fenv): Add __attribute__ ((gcc_struct)).
      
      libgcc/ChangeLog:
      	* config/i386/sfp-exceptions.c (struct fenv):
      	Add __attribute__ ((gcc_struct)).
      
      libgfortran/ChangeLog:
      	PR libfortran/95418
      	* config/fpu-387.h (struct fenv): Add __attribute__ ((gcc_struct)).
      832c1192
  25. May 30, 2020
  26. May 29, 2020
    • H.J. Lu's avatar
      Avoid nested save_CFLAGS and save_LDFLAGS · 9051b548
      H.J. Lu authored
      Avoid nested save_CFLAGS and save_LDFLAGS by replacing save_CFLAGS and
      save_LDFLAGS with cet_save_CFLAGS and cet_save_LDFLAGS in cet.m4.
      
      config/
      
      	PR bootstrap/95413
      	* cet.m4: Replace save_CFLAGS and save_LDFLAGS with
      	cet_save_CFLAGS and cet_save_LDFLAGS.
      
      gcc/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libatomic/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libbacktrace/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libcc1/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libcpp/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libdecnumber/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libgcc/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libgfortran/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libgomp/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libiberty/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libitm/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libobjc/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libphobos/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libquadmath/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libsanitizer/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libssp/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libstdc++-v3/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      libvtv/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      lto-plugin/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      
      zlib/
      
      	PR bootstrap/95413
      	* configure: Regenerated.
      9051b548
  27. May 15, 2020
    • H.J. Lu's avatar
      x86: Also check if -fcf-protection works · 4c1a5d8b
      H.J. Lu authored
      When defaulting CET run-time support to auto, check if -fcf-protection
      works.  Even if the stage1 GCC doesn't support -fcf-protection, since
      the final GCC does, CET run-time support will be enabled by default if
      binutils support CET.
      
      config/
      
      	PR bootstrap/95147
      	* cet.m4 (GCC_CET_FLAGS): Also check if -fcf-protection works
      	when defaulting to auto.
      
      libatomic/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libbacktrace/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libgcc/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libgfortran/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libgomp/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libitm/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libobjc/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libphobos/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libquadmath/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libsanitizer/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libssp/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libstdc++-v3/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      libvtv/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      
      zlib/
      
      	PR bootstrap/95147
      	* configure: Regenerated.
      4c1a5d8b
  28. May 14, 2020
    • H.J. Lu's avatar
      x86: Default CET run-time support to auto · 8d286dd1
      H.J. Lu authored
      CET has been added since GCC 8.  This patch defaults CET run-time support
      to auto.  It enables CET run-time support if asssembler supports CET
      instructions and multi-byte NOPs are enabled via SSE2.
      
      config/
      
      	* cet.m4 (GCC_CET_FLAGS): Change default to auto.
      
      gcc/
      
      	* configure: Regenerated.
      
      libatomic/
      
      	* configure: Regenerated.
      
      libbacktrace/
      
      	* configure: Regenerated.
      
      libcc1/
      
      	* configure: Regenerated.
      
      libcpp/
      
      	* configure: Regenerated.
      
      libdecnumber/
      
      	* configure: Regenerated.
      
      libgcc/
      
      	* configure: Regenerated.
      
      libgfortran/
      
      	* configure: Regenerated.
      
      libgomp/
      
      	* configure: Regenerated.
      
      libitm/
      
      	* configure: Regenerated.
      
      libobjc/
      
      	* configure: Regenerated.
      
      libquadmath/
      
      	* configure: Regenerated.
      
      libsanitizer/
      
      	* configure: Regenerated.
      
      libssp/
      
      	* configure: Regenerated.
      
      libstdc++-v3/
      
      	* configure: Regenerated.
      
      libvtv/
      
      	* configure: Regenerated.
      
      zlib/
      
      	* configure: Regenerated.
      8d286dd1
  29. May 06, 2020
    • Uros Bizjak's avatar
      i386: Use generic division to generate INEXACT exception · d3a1459c
      Uros Bizjak authored
      Introduce math_force_eval_div to use generic division to generate
      INEXACT as well as INVALID and DIVZERO exceptions.
      
      libgcc/ChangeLog:
      
      	* config/i386/sfp-exceptions.c (__math_force_eval): Remove.
      	(__math_force_eval_div): New define.
      	(__sfp_handle_exceptions): Use __math_force_eval_div to use
      	generic division to generate INVALID, DIVZERO and INEXACT
      	exceptions.
      
      libatomic/ChangeLog:
      
      	* config/x86/fenv.c (__math_force_eval): Remove.
      	(__math_force_eval_div): New define.
      	(__atomic_deraiseexcept): Use __math_force_eval_div to use
      	generic division to generate INVALID, DIVZERO and INEXACT
      	exceptions.
      
      libgfortran/ChangeLog:
      
      	* config/fpu-387.h (__math_force_eval): Remove.
      	(__math_force_eval_div): New define.
      	(local_feraiseexcept): Use __math_force_eval_div to use
      	generic division to generate INVALID, DIVZERO and INEXACT
      	exceptions.
      	(struct fenv): Define named struct instead of typedef.
      d3a1459c
  30. May 01, 2020
    • Uros Bizjak's avatar
      i386: Use generic division to generate INVALID and DIVZERO exceptions · afb9b710
      Uros Bizjak authored
      Introduce math_force_eval to evaluate generic division to generate
      INVALID and DIVZERO exceptions.
      
      libgcc/ChangeLog:
      
      	* config/i386/sfp-exceptions.c (__math_force_eval): New define.
      	(__sfp_handle_exceptions): Use __math_force_eval to evaluete
      	generic division to generate INVALID and DIVZERO exceptions.
      
      libatomic/ChangeLog:
      
      	* config/x86/fenv.c (__math_force_eval): New define.
      	(__atomic_feraiseexcept): Use __math_force_eval to evaluete
      	generic division to generate INVALID and DIVZERO exceptions.
      
      libgfortran/ChangeLog:
      
      	* config/fpu-387.h (__math_force_eval): New define.
      	(local_feraiseexcept): Use __math_force_eval to evaluete
      	generic division to generate INVALID and DIVZERO exceptions.
      afb9b710
  31. Apr 19, 2020
    • Uros Bizjak's avatar
      i386: Remove unneeded assignments when triggering SSE exceptions · df73e584
      Uros Bizjak authored
      According to "Intel 64 and IA32 Arch SDM, Vol. 3:
      
      "Because SIMD floating-point exceptions are precise and occur immediately,
      the situation does not arise where an x87 FPU instruction, a WAIT/FWAIT
      instruction, or another SSE/SSE2/SSE3 instruction will catch a pending
      unmasked SIMD floating-point exception."
      
      Remove unneeded assignments to volatile memory.
      
      libgcc/ChangeLog:
      
      	* config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
      	Remove unneeded assignments to volatile memory.
      
      libatomic/ChangeLog:
      
      	* config/x86/fenv.c (__atomic_feraiseexcept) [__SSE_MATH__]:
      	Remove unneeded assignments to volatile memory.
      
      libgfortran/ChangeLog:
      
      	* config/fpu-387.h (local_feraiseexcept) [__SSE_MATH__]:
      	Remove unneeded assignments to volatile memory.
      df73e584
  32. Apr 06, 2020
    • Maciej W. Rozycki's avatar
      libatomic/test: Fix compilation for build sysroot · 5ff06d76
      Maciej W. Rozycki authored
      Fix a problem with the libatomic testsuite using a method to determine
      the compiler to use resulting in the tool being different from one the
      library has been built with, and causing a catastrophic failure from the
      lack of a suitable `--sysroot=' option where the `--with-build-sysroot='
      configuration option has been used to build the compiler resulting in
      the inability to link executables.
      
      Address this problem by providing a DejaGNU configuration file defining
      the compiler to use, via the GCC_UNDER_TEST TCL variable, set from $CC
      by autoconf, which will have all the required options set for the target
      compiler to build executables in the environment configured, removing
      failures like:
      
      .../bin/riscv64-linux-gnu-ld: cannot find crt1.o: No such file or directory
      .../bin/riscv64-linux-gnu-ld: cannot find -lm
      collect2: error: ld returned 1 exit status
      compiler exited with status 1
      FAIL: libatomic.c/atomic-compare-exchange-1.c (test for excess errors)
      Excess errors:
      .../bin/riscv64-linux-gnu-ld: cannot find crt1.o: No such file or directory
      .../bin/riscv64-linux-gnu-ld: cannot find -lm
      
      UNRESOLVED: libatomic.c/atomic-compare-exchange-1.c compilation failed to produce executable
      
      and bringing overall test results for the `riscv64-linux-gnu' target
      (here with the `x86_64-linux-gnu' host and RISC-V QEMU in the Linux user
      emulation mode as the target board) from:
      
      		=== libatomic Summary ===
      
      # of unexpected failures	27
      # of unresolved testcases	27
      
      to:
      
      		=== libatomic Summary ===
      
      # of expected passes		54
      
      	libatomic/
      	* configure.ac: Add testsuite/libatomic-site-extra.exp to output
      	files.
      	* configure: Regenerate.
      	* libatomic/testsuite/libatomic-site-extra.exp.in: New file.
      	* testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
      	variable.
      	* testsuite/Makefile.in: Regenerate.
      5ff06d76
  33. Feb 22, 2020
  34. Jan 24, 2020
    • Maciej W. Rozycki's avatar
      Add `--with-toolexeclibdir=' configuration option · e8e66971
      Maciej W. Rozycki authored
      Provide means, in the form of a `--with-toolexeclibdir=' configuration
      option, to override the default installation directory for target
      libraries, otherwise known as $toolexeclibdir.  This is so that it is
      possible to get newly-built libraries, particularly the shared ones,
      installed in a common place, so that they can be readily used by the
      target system as their host libraries, possibly over NFS, without a need
      to manually copy them over from the currently hardcoded location they
      would otherwise be installed in.
      
      In the presence of the `--enable-version-specific-runtime-libs' option
      and for configurations building native GCC the option is ignored.
      
      	config/
      	* toolexeclibdir.m4: New file.
      
      	gcc/
      	* doc/install.texi (Cross-Compiler-Specific Options): Document
      	`--with-toolexeclibdir' option.
      
      	libada/
      	* Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* configure: Regenerate.
      
      	libatomic/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	libffi/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* man/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	libgcc/
      	* Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* configure: Regenerate.
      
      	libgfortran/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libgomp/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	libhsail-rt/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libitm/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	libobjc/
      	* Makefile.in (aclocal_deps): Add `toolexeclibdir.m4'.
      	* aclocal.m4: Include `toolexeclibdir.m4'.
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* configure: Regenerate.
      
      	liboffloadmic/
      	* plugin/configure.ac: Handle `--with-toolexeclibdir='.
      	* plugin/Makefile.in: Regenerate.
      	* plugin/aclocal.m4: Regenerate.
      	* plugin/configure: Regenerate.
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libphobos/
      	* m4/druntime.m4: Handle `--with-toolexeclibdir='.
      	* m4/Makefile.in: Regenerate.
      	* libdruntime/Makefile.in: Regenerate.
      	* src/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libquadmath/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libsanitizer/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* asan/Makefile.in: Regenerate.
      	* interception/Makefile.in: Regenerate.
      	* libbacktrace/Makefile.in: Regenerate.
      	* lsan/Makefile.in: Regenerate.
      	* sanitizer_common/Makefile.in: Regenerate.
      	* tsan/Makefile.in: Regenerate.
      	* ubsan/Makefile.in: Regenerate.
      
      	libssp/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libstdc++-v3/
      	* acinclude.m4: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* doc/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* libsupc++/Makefile.in: Regenerate.
      	* po/Makefile.in: Regenerate.
      	* python/Makefile.in: Regenerate.
      	* src/Makefile.in: Regenerate.
      	* src/c++11/Makefile.in: Regenerate.
      	* src/c++17/Makefile.in: Regenerate.
      	* src/c++98/Makefile.in: Regenerate.
      	* src/filesystem/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	libvtv/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	zlib/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      e8e66971
  35. Jan 01, 2020
  36. Sep 27, 2019
    • Maciej W. Rozycki's avatar
      Regenerate `configure' scripts for `uclinuxfdpiceabi' libtool.m4 update · e9085da5
      Maciej W. Rozycki authored
      A change made with r275564 ("[ARM/FDPIC v6 02/24] [ARM] FDPIC: Handle 
      arm*-*-uclinuxfdpiceabi in configure scripts") to libtool.m4 has not 
      regenerated all the `configure' scripts affected.  Fix it.
      
      	gcc/
      	* configure: Regenerate.
      
      	libatomic/
      	* configure: Regenerate.
      
      	libbacktrace/
      	* configure: Regenerate.
      
      	libcc1/
      	* configure: Regenerate.
      
      	libffi/
      	* configure: Regenerate.
      
      	libgfortran/
      	* configure: Regenerate.
      
      	libgomp/
      	* configure: Regenerate.
      
      	libhsail-rt/
      	* configure: Regenerate.
      
      	libitm/
      	* configure: Regenerate.
      
      	libobjc/
      	* configure: Regenerate.
      
      	liboffloadmic/
      	* configure: Regenerate.
      
      	libphobos/
      	* configure: Regenerate.
      
      	libquadmath/
      	* configure: Regenerate.
      
      	libsanitizer/
      	* configure: Regenerate.
      
      	libssp/
      	* configure: Regenerate.
      
      	libstdc++-v3/
      	* configure: Regenerate.
      
      	libvtv/
      	* configure: Regenerate.
      
      	lto-plugin/
      	* configure: Regenerate.
      
      	zlib/
      	* configure: Regenerate.
      
      From-SVN: r276213
      e9085da5
  37. Sep 10, 2019
    • Christophe Lyon's avatar
      [ARM/FDPIC v6 02/24] [ARM] FDPIC: Handle arm*-*-uclinuxfdpiceabi in configure scripts · b1e21e5a
      Christophe Lyon authored
      The new arm-uclinuxfdpiceabi target behaves pretty much like
      arm-linux-gnueabi. In order to enable the same set of features, we
      have to update several configure scripts that generally match targets
      like *-*-linux*: in most places, we add *-uclinux* where there is
      already *-linux*, or uclinux* when there is already linux*.
      
      In gcc/config.gcc and libgcc/config.host we use *-*-uclinuxfdpiceabi
      because there is already a different behaviour for *-*uclinux* target.
      
      In libtool.m4, we use uclinuxfdpiceabi in cases where ELF shared
      libraries support is required, as uclinux does not guarantee that.
      
      2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
      
      	config/
      	* futex.m4: Handle *-uclinux*.
      	* tls.m4 (GCC_CHECK_TLS): Likewise.
      
      	gcc/
      	* config.gcc: Handle *-*-uclinuxfdpiceabi.
      
      	libatomic/
      	* configure.tgt: Handle arm*-*-uclinux*.
      	* configure: Regenerate.
      
      	libgcc/
      	* config.host: Handle *-*-uclinuxfdpiceabi.
      
      	libitm/
      	* configure.tgt: Handle *-*-uclinux*.
      	* configure: Regenerate.
      
      	* libtool.m4: Handle uclinuxfdpiceabi.
      
      From-SVN: r275564
      b1e21e5a
Loading