Skip to content
Snippets Groups Projects
  1. Nov 26, 2024
  2. Nov 25, 2024
    • Sandra Loosemore's avatar
      nios2: Remove all support for Nios II target. · e876acab
      Sandra Loosemore authored
      nios2 target support in GCC was deprecated in GCC 14 as the
      architecture has been EOL'ed by the vendor.  This patch removes the
      entire port for GCC 15
      
      There are still references to "nios2" in libffi and libgo.  Since those
      libraries are imported into the gcc sources from master copies maintained
      by other projects, those will need to be addressed elsewhere.
      
      ChangeLog:
      	* MAINTAINERS: Remove references to nios2.
      	* configure.ac: Likewise.
      	* configure: Regenerated.
      
      config/ChangeLog:
      	* mt-nios2-elf: Deleted.
      
      contrib/ChangeLog:
      	* config-list.mk: Remove references to Nios II.
      
      gcc/ChangeLog:
      	* common/config/nios2/*: Delete entire directory.
      	* config/nios2/*: Delete entire directory.
      	* config.gcc: Remove references to nios2.
      	* configure.ac: Likewise.
      	* doc/extend.texi: Likewise.
      	* doc/install.texi: Likewise.
      	* doc/invoke.texi: Likewise.
      	* doc/md.texi: Likewise.
      	* regenerate-opt-urls.py: Likewise.
      	* config.in: Regenerated.
      	* configure: Regenerated.
      
      gcc/testsuite/ChangeLog:
      	* g++.target/nios2/*: Delete entire directory.
      	* gcc.target/nios2/*: Delete entire directory.
      	* g++.dg/cpp0x/constexpr-rom.C: Remove refences to nios2.
      	* g++.old-deja/g++.jason/thunk3.C: Likewise.
      	* gcc.c-torture/execute/20101011-1.c: Likewise.
      	* gcc.c-torture/execute/pr47237.c: Likewise.
      	* gcc.dg/20020312-2.c: Likewise.
      	* gcc.dg/20021029-1.c: Likewise.
      	* gcc.dg/debug/btf/btf-datasec-1.c: Likewise.
      	* gcc.dg/ifcvt-4.c: Likewise.
      	* gcc.dg/stack-usage-1.c: Likewise.
      	* gcc.dg/struct-by-value-1.c: Likewise.
      	* gcc.dg/tree-ssa/reassoc-33.c: Likewise.
      	* gcc.dg/tree-ssa/reassoc-34.c: Likewise.
      	* gcc.dg/tree-ssa/reassoc-35.c: Likewise.
      	* gcc.dg/tree-ssa/reassoc-36.c: Likewise.
      	* lib/target-supports.exp: Likewise.
      
      libgcc/ChangeLog:
      	* config/nios2/*: Delete entire directory.
      	* config.host: Remove refences to nios2.
      	* unwind-dw2-fde-dip.c: Likewise.
      e876acab
  3. Apr 17, 2024
  4. Apr 16, 2024
    • Thomas Schwinge's avatar
      build: Don't check for host-prefixed 'cargo' program · 3ebc7898
      Thomas Schwinge authored
      Follow-up to commit 3e1e73fc
      "build: Check for cargo when building rust language":
      
      On 2024-04-15T13:14:42+0200, I wrote:
      > I now wonder: instead of 'AC_CHECK_TOOL', shouldn't this use
      > 'AC_CHECK_PROG'?  (We always want plain 'cargo', not host-prefixed
      > 'aarch64-linux-gnu-cargo' etc., right?)  I'll look into changing this.
      
      	* configure: Regenerate.
      	config/
      	* acx.m4 (ACX_PROG_CARGO): Use 'AC_CHECK_PROGS'.
      3ebc7898
    • GCC Administrator's avatar
      Daily bump. · e1d4c8e4
      GCC Administrator authored
      e1d4c8e4
  5. Apr 15, 2024
  6. Apr 03, 2024
  7. Apr 02, 2024
    • Jakub Jelinek's avatar
      Fix up duplicated words mostly in comments, part 1 · 94792057
      Jakub Jelinek authored
      Like in r12-7519-g027e30414492d50feb2854aff38227b14300dc4b, I've done
      git grep -v 'long long\|optab optab\|template template\|double double' | grep ' \([a-zA-Z]\+\) \1 '
      
      This is just part of the changes, mostly for non-gcc directories.
      I'll try to get to the rest soon.  Obviously, the above command also
      finds cases which are correct as is and shouldn't be changed, so one
      needs to manually inspect everything.
      
      I'd hope most of it is pretty obvious, but the config/ and libstdc++-v3/
      hunks include a tweak in a license wording, though other copies of the
      similar license have the wording right.
      
      2024-04-02  Jakub Jelinek  <jakub@redhat.com>
      
      	* Makefile.tpl: Fix duplicated words; returns returns ->
      	returns.
      config/
      	* lcmessage.m4: Fix duplicated words; can can -> can,
      	package package -> package.
      libdecnumber/
      	* decCommon.c (decFinalize): Fix duplicated words in
      	comment; the the -> the.
      libgcc/
      	* unwind-dw2-fde.c (struct fde_accumulator): Fix duplicated
      	words in comment; is is -> is.
      libgfortran/
      	* configure.host: Fix duplicated words; the the -> the.
      libgm2/
      	* configure.host: Fix duplicated words; the the -> the.
      libgomp/
      	* libgomp.texi (OpenMP 5.2): Fix duplicated words; with with ->
      	with.
      	(omp_target_associate_ptr): Fix duplicated words; either either ->
      	either.
      	(omp_init_allocator): Fix duplicated words; be be -> be.
      	(omp_realloc): Fix duplicated words; is is -> is.
      	(OMP_ALLOCATOR): Fix duplicated words; other other -> other.
      	* priority_queue.h (priority_queue_multi_p): Fix duplicated words;
      	to to -> to.
      libiberty/
      	* regex.c (byte_re_match_2_internal): Fix duplicated words in comment;
      	next next -> next.
      	* dyn-string.c (dyn_string_init): Fix duplicated words in comment;
      	of of -> of.
      libitm/
      	* beginend.cc (GTM::gtm_thread::begin_transaction): Fix duplicated
      	words in comment; not not -> not to.
      libobjc/
      	* init.c (duplicate_classes): Fix duplicated words in comment; in in
      	-> in.
      	* sendmsg.c (__objc_prepare_dtable_for_class): Fix duplicated words
      	in comment; the the -> the.
      	* encoding.c (objc_layout_structure): Likewise.
      libstdc++-v3/
      	* acinclude.m4: Fix duplicated words; file file -> file can.
      	* configure.host: Fix duplicated words; the the -> the.
      libvtv/
      	* vtv_rts.cc (vtv_fail): Fix duplicated words; to to -> to.
      	* vtv_fail.cc (vtv_fail): Likewise.
      94792057
  8. Jan 12, 2024
  9. Jan 11, 2024
  10. Dec 01, 2023
  11. Nov 30, 2023
    • Rainer Orth's avatar
      libiberty: Disable hwcaps for sha1.o · f2c52c0d
      Rainer Orth authored
      This patch
      
      commit bf4f40cc
      Author: Jakub Jelinek <jakub@redhat.com>
      Date:   Tue Nov 28 13:14:05 2023 +0100
      
          libiberty: Use x86 HW optimized sha1
      
      broke Solaris/x86 bootstrap with the native as:
      
      libtool: compile:  /var/gcc/regression/master/11.4-gcc/build/./gcc/gccgo -B/var/gcc/regression/master/11.4-gcc/build/./gcc/ -B/vol/gcc/i386-pc-solaris2.11/bin/ -B/vol/gcc/i386-pc-solaris2.11/lib/ -isystem /vol/gcc/i386-pc-solaris2.11/include -isystem /vol/gcc/i386-pc-solaris2.11/sys-include -fchecking=1 -minline-all-stringops -O2 -g -I . -c -fgo-pkgpath=internal/goarch /vol/gcc/src/hg/master/local/libgo/go/internal/goarch/goarch.go zgoarch.go
      ld.so.1: go1: fatal: /var/gcc/regression/master/11.4-gcc/build/gcc/go1: hardware capability (CA_SUNW_HW_2) unsupported: 0x4000000  [ SHA1 ]
      gccgo: fatal error: Killed signal terminated program go1
      
      As is already done in a couple of other similar cases, this patches
      disables hwcaps support for libiberty.
      
      Initially, this didn't work because config/hwcaps.m4 uses target_os, but
      didn't ensure it is defined.
      
      Tested on i386-pc-solaris2.11 with as and gas.
      
      2023-11-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
      
      	config:
      	* hwcaps.m4 (GCC_CHECK_ASSEMBLER_HWCAP): Require
      	AC_CANONICAL_TARGET.
      
      	libiberty:
      	* configure.ac (GCC_CHECK_ASSEMBLER_HWCAP): Invoke.
      	* configure, aclocal.m4: Regenerate.
      	* Makefile.in (COMPILE.c): Add HWCAP_CFLAGS.
      f2c52c0d
  12. Nov 14, 2023
  13. Nov 13, 2023
    • Arsen Arsenović's avatar
      *: add modern gettext · db50aea6
      Arsen Arsenović authored
      This patch updates gettext.m4 and related .m4 files and adds
      gettext-runtime as a gmp/mpfr/... style host library, allowing newer
      libintl to be used.
      
      This patch /does not/ add build-time tools required for
      internationalizing (msgfmt et al), instead, it just updates the runtime
      library.  The result should be a distribution that acts exactly the same
      when a copy of gettext is present, and disables internationalization
      otherwise.
      
      There should be no changes in behavior when gettext is included in-tree.
      When gettext is not included in tree, nor available on the system, the
      programs will be built without localization.
      
      ChangeLog:
      
      	PR bootstrap/12596
      	* .gitignore: Add '/gettext*'.
      	* configure.ac (host_libs): Replace intl with gettext.
      	(hbaseargs, bbaseargs, baseargs): Split baseargs into
      	{h,b}baseargs.
      	(skip_barg): New flag.  Skips appending current flag to
      	bbaseargs.
      	<library exemptions>: Exempt --with-libintl-{type,prefix} from
      	target and build machine argument passing.
      	* configure: Regenerate.
      	* Makefile.def (host_modules): Replace intl module with gettext
      	module.
      	(configure-ld): Depend on configure-gettext.
      	* Makefile.in: Regenerate.
      
      config/ChangeLog:
      
      	* intlmacosx.m4: Import from gettext-0.22 (serial 8).
      	* gettext.m4: Sync with gettext-0.22 (serial 77).
      	* gettext-sister.m4 (ZW_GNU_GETTEXT_SISTER_DIR): Load gettext's
      	uninstalled-config.sh, or call AM_GNU_GETTEXT if missing.
      	* iconv.m4: Sync with gettext-0.22 (serial 26).
      
      contrib/ChangeLog:
      
      	* prerequisites.sha512: Add gettext.
      	* prerequisites.md5: Add gettext.
      	* download_prerequisites: Add gettext.
      
      gcc/ChangeLog:
      
      	* configure: Regenerate.
      	* aclocal.m4: Regenerate.
      	* Makefile.in (LIBDEPS): Remove (potential) ./ prefix from
      	LIBINTL_DEP.
      	* doc/install.texi: Document new (notable) flags added by the
      	optional gettext tree and by AM_GNU_GETTEXT.  Document libintl/libc
      	with gettext dependency.
      
      libcpp/ChangeLog:
      
      	* configure: Regenerate.
      	* aclocal.m4: Regenerate.
      
      libstdc++-v3/ChangeLog:
      
      	* configure: Regenerate.
      db50aea6
  14. Sep 16, 2023
  15. Sep 15, 2023
    • Yang Yujie's avatar
      LoongArch: Reimplement multilib build option handling. · 227b18f5
      Yang Yujie authored
      Library build options from --with-multilib-list used to be processed with
      *self_spec, which missed the driver's initial canonicalization.  This
      caused limitations on CFLAGS override and the use of driver-only options
      like -m[no]-lsx.
      
      The problem is solved by promoting the injection rules of --with-multilib-list
      options to the first element of DRIVER_SELF_SPECS, to make them execute before
      the canonialization.  The library-build options are also hard-coded in
      the driver and can be used conveniently by the builders of other non-gcc
      libraries via the use of -fmultiflags.
      
      Bootstrapped and tested on loongarch64-linux-gnu.
      
      ChangeLog:
      
      	* config-ml.in: Remove unneeded loongarch clause.
      	* configure.ac: Register custom makefile fragments mt-loongarch-*
      	for loongarch targets.
      	* configure: Regenerate.
      
      config/ChangeLog:
      
      	* mt-loongarch-mlib: New file.  Pass -fmultiflags when building
      	target libraries (FLAGS_FOR_TARGET).
      	* mt-loongarch-elf: New file.
      	* mt-loongarch-gnu: New file.
      
      gcc/ChangeLog:
      
      	* config.gcc: Pass the default ABI via TM_MULTILIB_CONFIG.
      	* config/loongarch/loongarch-driver.h: Invoke MLIB_SELF_SPECS
      	before the driver canonicalization routines.
      	* config/loongarch/loongarch.h: Move definitions of CC1_SPEC etc.
      	to loongarch-driver.h
      	* config/loongarch/t-linux: Move multilib-related definitions to
      	t-multilib.
      	* config/loongarch/t-multilib: New file.  Inject library build
      	options obtained from --with-multilib-list.
      	* config/loongarch/t-loongarch: Same.
      227b18f5
  16. Aug 12, 2023
  17. Aug 11, 2023
    • Joseph Myers's avatar
      config: Fix host -rdynamic detection for build != host != target · 4d9bc81a
      Joseph Myers authored
      The GCC_ENABLE_PLUGINS configure logic for detecting whether -rdynamic
      is necessary and supported uses an appropriate objdump for $host
      binaries (running on $build) in cases where $host is $build or
      $target.
      
      However, it is missing such logic in the case where $host is neither
      $build nor $target, resulting in the compilers not being linked with
      -rdynamic and plugins not being usable with such a compiler.  In fact
      $ac_cv_prog_OBJDUMP, as used when $build = $host, is always an objdump
      for $host binaries that runs on $build; that is, it's appropriate to
      use in this case as well.
      
      Tested in such a configuration that it does result in cc1 being linked
      with -rdynamic as expected.  Also bootstrapped with no regressions for
      x86_64-pc-linux-gnu.
      
      config/
      	* gcc-plugin.m4 (GCC_ENABLE_PLUGINS): Use
      	export_sym_check="$ac_cv_prog_OBJDUMP -T" also when host is not
      	build or target.
      
      gcc/
      	* configure: Regenerate.
      
      libcc1/
      	* configure: Regenerate.
      4d9bc81a
  18. Aug 08, 2023
  19. Aug 07, 2023
    • H.J. Lu's avatar
      PKG_CHECK_MODULES: Properly check if $pkg_cv_[]$1[]_LIBS works · 161252a8
      H.J. Lu authored
      There is no need to check $pkg_cv_[]$1[]_LIBS works if package check
      failed.
      
      config/ChangeLog:
      
      	* pkg.m4 (PKG_CHECK_MODULES): Use AC_TRY_LINK only if
      	$pkg_failed = no.
      161252a8
    • H.J. Lu's avatar
      PKG_CHECK_MODULES: Check if $pkg_cv_[]$1[]_LIBS works · de9e7e9e
      H.J. Lu authored
      It is quite normal to have headers without library on multilib OSes.
      Add AC_TRY_LINK to PKG_CHECK_MODULES to check if $pkg_cv_[]$1[]_LIBS
      works.
      
      config/ChangeLog:
      
      	* pkg.m4 (PKG_CHECK_MODULES): Add AC_TRY_LINK to check if
      	$pkg_cv_[]$1[]_LIBS works.
      de9e7e9e
    • John Ericson's avatar
      Deprecate a.out support for NetBSD targets. · 9fc0ae60
      John Ericson authored
      As discussed previously, a.out support is now quite deprecated, and in
      some cases removed, in both Binutils itself and NetBSD, so this legacy
      default makes little sense. `netbsdelf*` and `netbsdaout*` still work
      allowing the user to be explicit about there choice. Additionally, the
      configure script warns about the change as Nick Clifton requested.
      
      One possible concern was the status of NetBSD on NS32K, where only a.out
      was supported. But per [1] NetBSD has removed support, and if it were to
      come back, it would be with ELF. The binutils implementation is
      therefore marked obsolete, per the instructions in the last message.
      
      With that patch and this one applied, I have confirmed the following:
      
      --target=i686-unknown-netbsd
      --target=i686-unknown-netbsdelf
        builds completely
      
      --target=i686-unknown-netbsdaout
        properly fails because target is deprecated.
      
      --target=vax-unknown-netbsdaout builds completely except for gas, where
      the target is deprecated.
      
      [1]: https://mail-index.netbsd.org/tech-toolchain/2021/07/19/msg004025.html
      
      config/ChangeLog:
      
      	* picflag.m4: Simplify SHmedia NetBSD match by presuming ELF.
      
      gcc/ChangeLog:
      
      	* configure: Regenerate.
      
      libada/ChangeLog:
      
      	* configure: Regenerate.
      
      libgcc/ChangeLog:
      
      	* configure: Regenerate.
      
      libiberty/ChangeLog:
      
      	* configure: Regenerate.
      9fc0ae60
    • Alan Modra's avatar
      PR27116, Spelling errors found by Debian style checker · 120397f3
      Alan Modra authored
      config/ChangeLog:
      
      	* override.m4: Correct comment grammar.
      120397f3
    • Alan Modra's avatar
      egrep in binutils · 1d6c6dc9
      Alan Modra authored
      Apparently some distros have a nagging egrep that helpfully tells you
      egrep is deprecated and to use "grep -E".  The nag message causes a ld
      testsuite failure.  What's more the advice isn't that good.  The "-E"
      flag may not be available with older versions of grep.
      
      This patch fixes bare invocation of egrep within binutils, replacing
      it with the autoconf $EGREP or with grep.
      
      config/ChangeLog:
      
      	* lib-ld.m4 (AC_LIB_PROG_LD_GNU): Require AC_PROG_EGREP and
      	invoke $EGREP.
      	(AC_LIB_PROG_LD): Likewise.
      
      gcc/ChangeLog:
      
      	* configure: Regenerate.
      
      intl/ChangeLog:
      
      	* configure: Regenerate.
      
      libcpp/ChangeLog:
      
      	* configure: Regenerate.
      
      libgcc/ChangeLog:
      
      	* configure: Regenerate.
      
      libstdc++-v3/ChangeLog:
      
      	* configure: Regenerate.
      1d6c6dc9
    • Christophe Lyon's avatar
      configure: require libzstd >= 1.4.0 · e61c0e3a
      Christophe Lyon authored
      gas uses ZSTD_compressStream2 which is only available with libzstd >=
      1.4.0, leading to build errors when an older version is installed.
      
      This patch updates the check libzstd presence to check its version is
      >= 1.4.0. However, since gas seems to be the only component requiring
      such a recent version this may imply that we disable ZSTD support for
      all components although some would still benefit from an older
      version.
      
      I ran 'autoreconf -f' in all directories containing a configure.ac
      file, using vanilla autoconf-2.69 and automake-1.15.1. I noticed
      several errors from autoheader in readline, as well as warnings in
      intl, but they are unrelated to this patch.
      
      This should fix some of the buildbots.
      
      OK for trunk?
      
      Thanks,
      
      Christophe
      
      config/ChangeLog:
      
      	* zstd.m4: Add minimum version requirement of 1.4.0.
      e61c0e3a
    • Fangrui Song's avatar
      binutils, gdb: support zstd compressed debug sections · 407a2c9a
      Fangrui Song authored
      PR29397 PR29563: Add new configure option --with-zstd which defaults to
      auto.  If pkgconfig/libzstd.pc is found, define HAVE_ZSTD and support
      zstd compressed debug sections for most tools.
      
      * bfd: for addr2line, objdump --dwarf, gdb, etc
      * gas: support --compress-debug-sections=zstd
      * ld: support ELFCOMPRESS_ZSTD input and --compress-debug-sections=zstd
      * objcopy: support ELFCOMPRESS_ZSTD input for
        --decompress-debug-sections and --compress-debug-sections=zstd
      * gdb: support ELFCOMPRESS_ZSTD input.  The bfd change references zstd
        symbols, so gdb has to link against -lzstd in this patch.
      
      If zstd is not supported, ELFCOMPRESS_ZSTD input triggers an error.  We
      can avoid HAVE_ZSTD if binutils-gdb imports zstd/ like zlib/, but this
      is too heavyweight, so don't do it for now.
      
      ```
      % ld/ld-new a.o
      ld/ld-new: a.o: section .debug_abbrev is compressed with zstd, but BFD is not built with zstd support
      ...
      
      % ld/ld-new a.o --compress-debug-sections=zstd
      ld/ld-new: --compress-debug-sections=zstd: ld is not built with zstd support
      
      % binutils/objcopy --compress-debug-sections=zstd a.o b.o
      binutils/objcopy: --compress-debug-sections=zstd: binutils is not built with zstd support
      
      % binutils/objcopy b.o --decompress-debug-sections
      binutils/objcopy: zstd.o: section .debug_abbrev is compressed with zstd, but BFD is not built with zstd support
      ...
      ```
      
      config/ChangeLog:
      
      	* zstd.m4: New file.
      
      ChangeLog:
      	* configure: Regenerate.
      	* configure.ac: Add --with-zstd.
      407a2c9a
    • H.J. Lu's avatar
      GCC: Check if AR works with --plugin and rc · 9c7797a8
      H.J. Lu authored
      AR from older binutils doesn't work with --plugin and rc:
      
      [hjl@gnu-cfl-2 bin]$ touch foo.c
      [hjl@gnu-cfl-2 bin]$ ar --plugin /usr/libexec/gcc/x86_64-redhat-linux/10/liblto_plugin.so rc libfoo.a foo.c
      [hjl@gnu-cfl-2 bin]$ ./ar --plugin /usr/libexec/gcc/x86_64-redhat-linux/10/liblto_plugin.so rc libfoo.a foo.c
      ./ar: no operation specified
      [hjl@gnu-cfl-2 bin]$ ./ar --version
      GNU ar (Linux/GNU Binutils) 2.29.51.0.1.20180112
      Copyright (C) 2018 Free Software Foundation, Inc.
      This program is free software; you may redistribute it under the terms of
      the GNU General Public License version 3 or (at your option) any later version.
      This program has absolutely no warranty.
      [hjl@gnu-cfl-2 bin]$
      
      Check if AR works with --plugin and rc before passing --plugin to AR and
      RANLIB.
      
      ChangeLog:
      
      	* configure: Regenerated.
      	* libtool.m4 (_LT_CMD_OLD_ARCHIVE): Check if AR works with
      	--plugin and rc before enabling --plugin.
      
      config/ChangeLog:
      
      	* gcc-plugin.m4 (GCC_PLUGIN_OPTION): Check if AR works with
      	--plugin and rc before enabling --plugin.
      
      gcc/ChangeLog:
      
      	* configure: Regenerate.
      
      libatomic/ChangeLog:
      
      	* configure: Regenerate.
      
      libbacktrace/ChangeLog:
      
      	* configure: Regenerate.
      
      libcc1/ChangeLog:
      
      	* configure: Regenerate.
      
      libffi/ChangeLog:
      
      	* configure: Regenerate.
      
      libgfortran/ChangeLog:
      
      	* configure: Regenerate.
      
      libgm2/ChangeLog:
      
      	* configure: Regenerate.
      
      libgomp/ChangeLog:
      
      	* configure: Regenerate.
      
      libiberty/ChangeLog:
      
      	* configure: Regenerate.
      
      libitm/ChangeLog:
      
      	* configure: Regenerate.
      
      libobjc/ChangeLog:
      
      	* configure: Regenerate.
      
      libphobos/ChangeLog:
      
      	* 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.
      9c7797a8
    • H.J. Lu's avatar
      Sync with binutils: GCC: Pass --plugin to AR and RANLIB · 126f707e
      H.J. Lu authored
      Sync with binutils for building binutils with LTO:
      
      50ad1254d50 GCC: Pass --plugin to AR and RANLIB
      
      Detect GCC LTO plugin.  Pass --plugin to AR and RANLIB to support LTO
      build.
      
      ChangeLog:
      
      	* Makefile.tpl (AR): Add @AR_PLUGIN_OPTION@
      	(RANLIB): Add @RANLIB_PLUGIN_OPTION@.
      	* configure.ac: Include config/gcc-plugin.m4.
      	AC_SUBST AR_PLUGIN_OPTION and RANLIB_PLUGIN_OPTION.
      	* libtool.m4 (_LT_CMD_OLD_ARCHIVE): Pass --plugin to AR and
      	RANLIB if possible.
      	* Makefile.in: Regenerated.
      	* configure: Likewise.
      
      config/ChangeLog:
      
      	* gcc-plugin.m4 (GCC_PLUGIN_OPTION): New.
      
      libiberty/ChangeLog:
      
      	* Makefile.in (AR): Add @AR_PLUGIN_OPTION@
      	(RANLIB): Add @RANLIB_PLUGIN_OPTION@.
      	(configure_deps): Depend on ../config/gcc-plugin.m4.
      	* configure.ac: AC_SUBST AR_PLUGIN_OPTION and
      	RANLIB_PLUGIN_OPTION.
      	* aclocal.m4: Regenerated.
      	* configure: Likewise.
      
      zlib/ChangeLog:
      
      	* configure: Regenerated.
      
      gcc/ChangeLog:
      
      	* configure: Regenerate.
      
      libatomic/ChangeLog:
      
      	* configure: Regenerate.
      
      libbacktrace/ChangeLog:
      
      	* configure: Regenerate.
      
      libcc1/ChangeLog:
      
      	* configure: Regenerate.
      
      libffi/ChangeLog:
      
      	* configure: Regenerate.
      
      libgfortran/ChangeLog:
      
      	* configure: Regenerate.
      
      libgm2/ChangeLog:
      
      	* configure: Regenerate.
      
      libgomp/ChangeLog:
      
      	* configure: Regenerate.
      
      libitm/ChangeLog:
      
      	* configure: Regenerate.
      
      libobjc/ChangeLog:
      
      	* configure: Regenerate.
      
      libphobos/ChangeLog:
      
      	* 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.
      126f707e
  20. Jul 22, 2023
  21. Jul 21, 2023
  22. Nov 15, 2022
  23. Nov 14, 2022
  24. Nov 10, 2022
  25. Nov 09, 2022
    • Martin Liska's avatar
      sphinx: support Sphinx in build system · 41a45cba
      Martin Liska authored
      config/ChangeLog:
      
      	* acx.m4: Do not wrap REPORT_BUGS_TO.
      
      ChangeLog:
      
      	* configure: Regenerate.
      	* configure.ac: Support Sphinx based documentation.
      
      gcc/ChangeLog:
      
      	* Makefile.in: Support Sphinx based documentation.
      	* configure: Regenerate.
      	* configure.ac: Support Sphinx based documentation.
      	* genhooks.cc (struct s_hook): Emit tm.rst.in file.
      
      gcc/cp/ChangeLog:
      
      	* Make-lang.in: Support Sphinx based documentation.
      
      gcc/d/ChangeLog:
      
      	* Make-lang.in: Support Sphinx based documentation.
      
      gcc/fortran/ChangeLog:
      
      	* Make-lang.in: Support Sphinx based documentation.
      
      gcc/go/ChangeLog:
      
      	* Make-lang.in: Support Sphinx based documentation.
      
      libgomp/ChangeLog:
      
      	* Makefile.in: Support Sphinx based documentation.
      
      libiberty/ChangeLog:
      
      	* Makefile.in: Support Sphinx based documentation.
      
      libitm/ChangeLog:
      
      	* Makefile.in: Support Sphinx based documentation.
      
      libquadmath/ChangeLog:
      
      	* Makefile.in: Support Sphinx based documentation.
      41a45cba
  26. Oct 20, 2022
  27. Oct 19, 2022
    • LIU Hao's avatar
      gcc: Add 'mcf' thread model support from mcfgthread · f036d759
      LIU Hao authored
      This patch adds the new thread model `mcf`, which implements mutexes
      and condition variables with the mcfgthread library.
      
      Source code for mcfgthread is available at <https://github.com/lhmouse/mcfgthread>.
      
      config/ChangeLog:
      	* gthr.m4 (GCC_AC_THREAD_HEADER): Add new case for `mcf` thread
      	model
      
      gcc/ChangeLog:
      	* config/i386/mingw-mcfgthread.h: New file
      	* config/i386/mingw32.h: Add builtin macro and default libraries
      	for mcfgthread when thread model is `mcf`
      	* config.gcc: Include 'i386/mingw-mcfgthread.h' when thread model
      	is `mcf`
      	* configure.ac: Recognize `mcf` as a valid thread model
      	* config.in: Regenerate
      	* configure: Regenerate
      
      libatomic/ChangeLog:
      	* configure.tgt: Add new case for `mcf` thread model
      
      libgcc/ChangeLog:
      	* config.host: Add new cases for `mcf` thread model
      	* config/i386/gthr-mcf.h: New file
      	* config/i386/t-mingw-mcfgthread: New file
      	* config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
      	* configure: Regenerate
      
      libstdc++-v3/ChangeLog:
      	* libsupc++/atexit_thread.cc (__cxa_thread_atexit): Use
      	implementation from mcfgthread if available
      	* libsupc++/guard.cc (__cxa_guard_acquire, __cxa_guard_release,
      	__cxa_guard_abort): Use implementations from mcfgthread if
      	available
      	* configure: Regenerate
      f036d759
  28. Sep 01, 2022
  29. Aug 31, 2022
    • Martin Liska's avatar
      32-bit PA-RISC with HP-UX: remove deprecated ports · dc832fb3
      Martin Liska authored
      ChangeLog:
      
      	* configure: Regenerate.
      	* configure.ac: Delete hpux9 and hpux10.
      
      config/ChangeLog:
      
      	* mh-pa-hpux10: Removed.
      
      contrib/ChangeLog:
      
      	* config-list.mk: Remove deprecated ports.
      
      contrib/header-tools/ChangeLog:
      
      	* README: Remove deprecated ports.
      	* reduce-headers: Likewise.
      
      gcc/ChangeLog:
      
      	* config.build: Remove deprecated ports.
      	* config.gcc: Likewise.
      	* config.host: Likewise.
      	* configure.ac: Likewise.
      	* configure: Regenerate.
      	* config/pa/pa-hpux10.h: Removed.
      	* config/pa/pa-hpux10.opt: Removed.
      	* config/pa/t-dce-thr: Removed.
      
      gnattools/ChangeLog:
      
      	* configure.ac: Remove deprecated ports.
      	* configure: Regenerate.
      
      libstdc++-v3/ChangeLog:
      
      	* configure: Regenerate.
      	* crossconfig.m4: Remove deprecated ports.
      
      gcc/testsuite/ChangeLog:
      
      	* g++.dg/cpp0x/lambda/lambda-conv.C: Remove useless test.
      	* gcc.c-torture/execute/ieee/hugeval.x: Likewise.
      	* gcc.dg/torture/pr47917.c: Likewise.
      	* lib/target-supports.exp: Likewise.
      
      libgcc/ChangeLog:
      
      	* config.host: Remove hppa.
      
      libitm/ChangeLog:
      
      	* configure: Regenerate.
      
      fixincludes/ChangeLog:
      
      	* configure: Regenerate.
      dc832fb3
  30. Aug 02, 2022
  31. Aug 01, 2022
    • Roger Sayle's avatar
      Update configure to check for a recent gnat Ada compiler. · 71f068a9
      Roger Sayle authored
      GCC fails to bootstrap when configured with --enable-languages=all on
      machines that have older versions of GNAT installed as the system Ada
      compiler.  In configure, it's not sufficient to check whether gnat is
      available, but whether a sufficiently recent version of GNAT is
      installed.  This patch tweaks config/acx.m4 so that conftest.adb also
      contains a reference to System.CRTL.int64 as required by the current
      version of gcc/ada/osint.adb.  This fixes the build when the system
      Ada is GNAT v4.8.5 (on Redhat 7) by disabling ada, but continues to
      work fine when the system Ada is GNAT v11.3.1.
      
      2022-08-01  Roger Sayle  <roger@nextmovesoftware.com>
      	    Arnaud Charlet  <charlet@adacore.com>
      
      config/ChangeLog
      	* acx.m4 (AC_PROG_GNAT): Update conftest.adb to include
      	features required of the host gnat compiler.
      
      ChangeLog
      	* configure: Regenerate.
      71f068a9
Loading