Skip to content
Snippets Groups Projects
  1. Apr 16, 2024
  2. Apr 15, 2024
    • Jakub Jelinek's avatar
      gotools: Workaround non-reproduceability of automake · 701e1b94
      Jakub Jelinek authored
      The regen bot recently flagged a difference in gotools/Makefile.in.
      Trying it locally, it seems pretty random
      for i in `seq 20`; do PATH=~/automake-1.15.1/bin:~/autoconf-2.69/bin:$PATH automake; echo -n `git diff Makefile.in | wc -l`" "; done; echo; for i in `seq 20`; do
      +PATH=~/automake-1.15.1/bin:~/autoconf-2.69/bin:$PATH setarch x86_64 -R automake; echo -n `git diff Makefile.in | wc -l`" "; done; echo;
      14 14 14 0 0 0 14 0 14 0 14 14 14 14 0 14 14 0 0 0
      14 0 14 0 0 14 14 14 0 14 14 0 0 14 14 14 0 0 0 14
      The 14 line git diff is
      diff --git a/gotools/Makefile.in b/gotools/Makefile.in
      index 36c2ec2abd3..f40883c39be 100644
      --- a/gotools/Makefile.in
      +++ b/gotools/Makefile.in
      @@ -704,8 +704,8 @@ distclean-generic:
       maintainer-clean-generic:
              @echo "This command is intended for maintainers to use"
              @echo "it deletes files that may require special tools to rebuild."
      -@NATIVE_FALSE@install-exec-local:
       @NATIVE_FALSE@uninstall-local:
      +@NATIVE_FALSE@install-exec-local:
       clean: clean-am
      
       clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \
      so whether it is
      @NATIVE_FALSE@install-exec-local:
      @NATIVE_FALSE@uninstall-local:
      or
      @NATIVE_FALSE@uninstall-local:
      @NATIVE_FALSE@install-exec-local:
      depends on some hash table traversal or what.
      
      I'm not familiar with automake/m4 enough to debug that, so I'm
      instead offering a workaround, with this patch the order is deterministic.
      
      2024-04-15  Jakub Jelinek  <jakub@redhat.com>
      
      	* Makefile.am (install-exec-local, uninstall-local): Add goals
      	on the else branch of if NATIVE to ensure reproducibility.
      	* Makefile.in: Regenerate.
      701e1b94
  3. Nov 04, 2023
  4. Nov 03, 2023
    • Maxim Kuvyrkov's avatar
      Format gotools.sum closer to what DejaGnu does · 4bfc5091
      Maxim Kuvyrkov authored
      
      ... to restore compatability with validate_failures.py .
      The testsuite script validate_failures.py expects
      "Running <sub-testsuite> ..." to extract <sub-testsuite> values,
      and gotools.sum provided "Running <sub-testsuite>".
      
      Note that libgo.sum, which also uses Makefile logic to generate
      DejaGnu-like output, already has "..." suffix.
      
      gotools/ChangeLog:
      
      	* Makefile.am: Update "Running <sub-testsuite> ..." output
      	* Makefile.in: Regenerate.
      
      Signed-off-by: default avatarMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
      4bfc5091
  5. Aug 31, 2022
  6. Aug 30, 2022
  7. Feb 14, 2022
  8. Feb 13, 2022
    • Ian Lance Taylor's avatar
      runtime: call timer functions via syscall · 58aeb75d
      Ian Lance Taylor authored
      It turns out to be painful to require linking against -lrt on
      GNU/Linux, as that makes it harder to link Go code into C programs.
      Instead just call the timer syscalls directly.  That is what the
      upstream library does anyhow.
      
      gcc/go/
      	* gospec.cc: Revert 2022-02-09 change:
      	(RTLIB, RT_LIBRARY): Don't define.
      	(lang_specific_driver): Don't add -lrt if linking statically
      	on GNU/Linux.
      
      gotools/
      	* configure.ac: Revert 2022-02-09 change:
      	(RT_LIBS): Don't define.
      	* Makefile.am (check-runtime): Don't set GOLIBS to $(RT_LIBS).
      	* configure, Makefile.in: Regenerate.
      
      Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/385475
      58aeb75d
  9. Feb 12, 2022
  10. Feb 11, 2022
  11. Feb 10, 2022
  12. Feb 09, 2022
    • Ian Lance Taylor's avatar
      gccgo: link static libgo against -lrt on GNU/Linux · f6ff6738
      Ian Lance Taylor authored
      The upcoming Go 1.18 release requires linking against -lrt on GNU/Linux
      (only) in order to call timer_create and friends.
      
      Also change gotools to link the runtime test against -lrt.
      
      	* gospec.cc (RTLIB, RT_LIBRARY): Define.
      	(lang_specific_driver): Add -lrt if linking statically on
      	GNU/Linux.
      
      	* configure.ac (RT_LIBS): Define.
      	* Makefile.am (check-runtime): Set GOLIBS to $(RT_LIBS).
      	* configure, Makefile.in: Regenerate.
      f6ff6738
  13. Sep 22, 2021
  14. Sep 21, 2021
  15. Feb 03, 2021
  16. Feb 02, 2021
  17. Dec 31, 2020
  18. Dec 30, 2020
  19. Oct 30, 2020
  20. Oct 29, 2020
    • Nikhil Benesch's avatar
      libgo: handle linking to NetBSD's versioned symbols · 0cdde1e7
      Nikhil Benesch authored
      On NetBSD, for backwards compatibility, various libc symbols are
      renamed to a symbol with a version suffix. For example, this is the
      (abbreviated) definition of sigaction:
      
          int sigaction(...) __asm__ ("__sigaction14")
      
      This poses a challenge for libgo, which attempts to link sigaction by
      way of an "//extern" comment:
      
          //extern sigaction
          func sigaction(...)
      
      This results in a reference to the deprecated compatibility symbol
      "sigaction", rather than the desired "__sigaction14" symbol.
      
      This patch introduces a new "//extern-sysinfo" comment to handle this
      situation. The new mklinknames.awk script scans a package for these
      comments and outputs a "//go:linkname" directive that links the wrapper
      to the correct versioned symbol, as determined by parsing the __asm__
      annotation on the function's declaration in gen-sysinfo.go.
      
      For now, only the following packages are scanned by mklinknames.awk:
      
          os
          os/user
          runtime
          syscall
      
      gotools/:
      	* Makefile.am (check-runtime): Add runtime_linknames.go to
      	--extrafiles.
      	* Makefile.in: Regenerate.
      
      Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/265125
      0cdde1e7
  21. Jan 22, 2020
  22. Sep 06, 2019
  23. May 27, 2019
  24. Mar 01, 2019
  25. Feb 13, 2019
  26. Jan 28, 2019
  27. Jan 18, 2019
    • Ian Lance Taylor's avatar
      libgo: update to Go1.12beta2 · 4f4a855d
      Ian Lance Taylor authored
          
          Reviewed-on: https://go-review.googlesource.com/c/158019
      
      gotools/:
      	* Makefile.am (go_cmd_vet_files): Update for Go1.12beta2 release.
      	(GOTOOLS_TEST_TIMEOUT): Increase to 600.
      	(check-runtime): Export LD_LIBRARY_PATH before computing GOARCH
      	and GOOS.
      	(check-vet): Copy golang.org/x/tools into check-vet-dir.
      	* Makefile.in: Regenerate.
      
      gcc/testsuite/:
      	* go.go-torture/execute/names-1.go: Stop using debug/xcoff, which
      	is no longer externally visible.
      
      From-SVN: r268084
      4f4a855d
  28. Oct 31, 2018
    • Joseph Myers's avatar
      Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). · 22e05272
      Joseph Myers authored
      This patch updates GCC to use autoconf 2.69 and automake 1.15.1.
      (That's not the latest automake version, but it's the one used by
      binutils-gdb, with which consistency is desirable, and in any case
      seems a useful incremental update that should make a future update to
      1.16.1 easier.)
      
      The changes are generally similar to the binutils-gdb ones, and are
      copied from there where shared files and directories are involved
      (there are some further changes to such shared directories, however,
      which I'd expect to apply to binutils-gdb once this patch is in GCC).
      Largely, obsolete AC_PREREQ calls are removed, while many
      AC_LANG_SOURCE calls are added to avoid warnings from aclocal and
      autoconf.  Multilib support is no longer included in core automake,
      meaning that multilib.am needs copying from automake's contrib
      directory into the GCC source tree.  Autoconf 2.69 has Go support, so
      local copies of that support are removed.  I hope the D support will
      soon be submitted to upstream autoconf so the local copy of that can
      be removed in a future update.  Changes to how automake generates
      runtest calls mean quotes are removed from RUNTEST definitions in five
      lib*/testsuite/Makefile.am files (libatomic, libgomp, libitm,
      libphobos, libvtv; some others have RUNTEST definitions without
      quotes, which are still OK); libgo and libphobos also get
      -Wno-override added to AM_INIT_AUTOMAKE so those overrides of RUNTEST
      do not generate automake warnings.
      
      Note that the regeneration did not include regeneration of
      fixincludes/config.h.in (attempting such regeneration resulted in all
      the USED_FOR_TARGET conditionals disappearing; and I don't see
      anything in the fixincludes/ directory that would result in such
      conditionals being generated, unlike in the gcc/ directory).  Also
      note that libvtv/testsuite/other-tests/Makefile.in was not
      regenerated; that directory is not listed as a subdirectory for which
      Makefile.in gets regenerated by calling "automake" in libvtv/, so I'm
      not sure how it's meant to be regenerated.
      
      While I mostly fixed warnings should running aclocal / automake /
      autoconf, there were various such warnings from automake in the
      libgfortran, libgo, libgomp, liboffloadmic, libsanitizer, libphobos
      directories that I did not fix, preferring to leave those to the
      relevant subsystem maintainers.  Specifically, most of those warnings
      were of the following form (example from libgfortran):
      
      Makefile.am:48: warning: source file 'caf/single.c' is in a subdirectory,
      Makefile.am:48: but option 'subdir-objects' is disabled
      automake: warning: possible forward-incompatibility.
      automake: At least a source file is in a subdirectory, but the 'subdir-objects'
      automake: automake option hasn't been enabled.  For now, the corresponding output
      automake: object file(s) will be placed in the top-level directory.  However,
      automake: this behaviour will change in future Automake versions: they
      will
      automake: unconditionally cause object files to be placed in the same subdirectory
      automake: of the corresponding sources.
      automake: You are advised to start using 'subdir-objects' option throughout your
      automake: project, to avoid future incompatibilities.
      
      I think it's best for the relevant maintainers to add subdir-objects
      and do any other associated Makefile.am changes needed.  In some cases
      the paths in the warnings involved ../; I don't know if that adds any
      extra complications to the use of subdir-objects.
      
      I've tested this with native, cross and Canadian cross builds.  The
      risk of any OS-specific issues should I hope be rather lower than if a
      libtool upgrade were included (we *should* do such an upgrade at some
      point, but it's more complicated - it involves identifying all our
      local libtool changes to see if any aren't included in the upstream
      version we update to, and reverting an upstream libtool patch that's
      inappropriate for use in GCC); I think it would be better to get this
      update into GCC so that people can test in different configurations
      and we can fix any issues found, rather than to try to get more and
      more testing done before it goes in.
      
      top level:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* multilib.am: New file.  From automake.
      
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* libtool.m4: Use AC_LANG_SOURCE.
      	* configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE.
      	* ar-lib: New file.
      	* test-driver: New file.
      	* configure: Re-generate.
      
      config:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* math.m4, tls.m4: Use AC_LANG_SOURCE.
      
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69.
      
      fixincludes:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* aclocal.m4, configure: Regenerate.
      
      gcc:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.  Use single
      	line for second argument of AC_DEFINE_UNQUOTED.
      	* doc/install.texi (Tools/packages necessary for modifying GCC):
      	Update to autoconf 2.69 and automake 1.15.1.
      	* aclocal.m4, config.in, configure: Regenerate.
      
      gnattools:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Regenerate.
      
      gotools:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* config/go.m4: Remove file.
      	* Makefile.am (ACLOCAL_AMFLAGS): Do not use -I ./config.
      	* configure.ac:  Remove AC_PREREQ.  Do not include config/go.m4.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      intl:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ.
      	* configure: Re-generate.
      	* config.h.in: Re-generate.
      	* aclocal.m4: Re-generate.
      
      libada:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Regenerate.
      
      libatomic:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* acinclude.m4: Use AC_LANG_SOURCE.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libbacktrace:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      libcc1:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      libcpp:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* aclocal.m4, config.in, configure: Regenerate.
      
      libdecnumber:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Re-generate.
      	* aclocal.m4.
      
      libffi:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Add info-in-builddir.
      	(CLEANFILES): Remove doc/libffi.info.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure, fficonfig.h.in,
      	include/Makefile.in, man/Makefile.in, testsuite/Makefile.in:
      	Regenerate.
      
      libgcc:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* configure: Regenerate.
      
      libgfortran:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      libgo [logically part of this change but omitted from the commit]:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* config/go.m4: Remove file.
      	* config/libtool.m4: Use AC_LANG_SOURCE.
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.  Use
      	-Wno-override in AM_INIT_AUTOMAKE call.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libgomp:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am
      	(AUTOMAKE_OPTIONS): Add info-in-builddir.
      	(CLEANFILES): Remove libgomp.info.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libhsail-rt:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      libiberty:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Re-generate.
      	* config.in: Re-generate.
      
      libitm:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Add info-in-builddir.
      	(CLEANFILES): Remove libitm.info.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libobjc:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* aclocal.m4, config.h.in, configure: Regenerate.
      
      liboffloadmic:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* plugin/Makefile.am: Include multilib.am.
      	* plugin/configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure, plugin/Makefile.in,
      	plugin/aclocal.m4, plugin/configure: Regenerate.
      
      libphobos:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.  Use -Wno-override in
      	AM_INIT_AUTOMAKE call.
      	* m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
      	* m4/druntime/os.m4: Use AC_LANG_SOURCE.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
      	src/Makefile.in, testsuite/Makefile.in: Regenerate.
      
      libquadmath:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Remove 1.8.  Add info-in-builddir.
      	(all-local): Define outside conditional code.
      	(CLEANFILES): Remove libquadmath.info.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      libsanitizer:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* Makefile.in, aclocal.m4, asan/Makefile.in, configure,
      	interception/Makefile.in, libbacktrace/Makefile.in,
      	lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
      	ubsan/Makefile.in: Regenerate.
      
      libssp:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Remove 1.9.5.
      	* configure.ac: Remove AC_PREREQ.  Quote argument to
      	AC_RUN_IFELSE.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      libstdc++-v3:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure, doc/Makefile.in,
      	include/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
      	python/Makefile.in, src/Makefile.in, src/c++11/Makefile.in,
      	src/c++17/Makefile.in, src/c++98/Makefile.in,
      	src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate.
      
      libvtv:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      lto-plugin:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      zlib:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Modernize AC_INIT call, remove AC_PREREQ.
      	* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add foreign.
      	* Makefile.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* configure: Re-generate.
      
      From-SVN: r265695
      22e05272
  29. Sep 26, 2018
  30. Sep 24, 2018
  31. May 09, 2018
  32. May 04, 2018
  33. Mar 21, 2018
  34. Feb 09, 2018
  35. Feb 08, 2018
  36. Jan 19, 2018
    • Ian Lance Taylor's avatar
      Makefile.am (GOTOOLS_TEST_TIMEOUT): Define. · 5d158777
      Ian Lance Taylor authored
      	* Makefile.am (GOTOOLS_TEST_TIMEOUT): Define.
      	(check-go-tool): Pass -test.timeout with GOTOOLS_TEST_TIMEOUT.
      	(check-cgo-test, check-carchive-test, check-vet): Likewise.
      	* Makefile.in: Rebuild.
      
      From-SVN: r256876
      5d158777
  37. Jan 09, 2018
    • Ian Lance Taylor's avatar
      libgo: update to Go1.10beta1 · 1a2f01ef
      Ian Lance Taylor authored
          
          Update the Go library to the 1.10beta1 release.
          
          Requires a few changes to the compiler for modifications to the map
          runtime code, and to handle some nowritebarrier cases in the runtime.
          
          Reviewed-on: https://go-review.googlesource.com/86455
      
      gotools/:
      	* Makefile.am (go_cmd_vet_files): New variable.
      	(go_cmd_buildid_files, go_cmd_test2json_files): New variables.
      	(s-zdefaultcc): Change from constants to functions.
      	(noinst_PROGRAMS): Add vet, buildid, and test2json.
      	(cgo$(EXEEXT)): Link against $(LIBGOTOOL).
      	(vet$(EXEEXT)): New target.
      	(buildid$(EXEEXT)): New target.
      	(test2json$(EXEEXT)): New target.
      	(install-exec-local): Install all $(noinst_PROGRAMS).
      	(uninstall-local): Uninstasll all $(noinst_PROGRAMS).
      	(check-go-tool): Depend on $(noinst_PROGRAMS).  Copy down
      	objabi.go.
      	(check-runtime): Depend on $(noinst_PROGRAMS).
      	(check-cgo-test, check-carchive-test): Likewise.
      	(check-vet): New target.
      	(check): Depend on check-vet.  Look at cmd_vet-testlog.
      	(.PHONY): Add check-vet.
      	* Makefile.in: Rebuild.
      
      From-SVN: r256365
      1a2f01ef
  38. Oct 25, 2017
  39. Sep 19, 2017
    • Rainer Orth's avatar
      Fix some gotools testing problems · 6da7ce80
      Rainer Orth authored
      	* Makefile.am (GOTESTFLAGS): New variable.
      	(check-runtime): Pass it to gotest.
      	(check-go-tools): Sort summary.
      	(check-runtime): Likewise.
      	(check-cgo-test): Likewise.
      	(check-carchive-test): Likewise.
      	(check): Likewise.
      	* Makefile.in: Regenerate.
      
      From-SVN: r252963
      6da7ce80
Loading