gcc/libphobos
H.J. Lu 9c7797a8c2
GCC: Check if AR works with --plugin and rc
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.
2023-08-07 22:59:37 +02:00
..
libdruntime d: Merge upstream dmd, druntime a88e1335f7, phobos 1921d29df. 2023-07-10 23:31:29 +02:00
m4 d: Merge upstream dmd, druntime a88e1335f7, phobos 1921d29df. 2023-07-10 23:31:29 +02:00
src d: Merge upstream dmd, druntime a88e1335f7, phobos 1921d29df. 2023-07-10 23:31:29 +02:00
testsuite libphobos, testsuite: Disable forkgc2 on Darwin [PR103944] 2023-07-01 17:14:23 +01:00
acinclude.m4 Update copyright years. 2023-01-16 11:52:17 +01:00
aclocal.m4
ChangeLog Daily bump. 2023-07-11 00:16:56 +00:00
config.h.in d: Merge upstream dmd, druntime a88e1335f7, phobos 1921d29df. 2023-07-10 23:31:29 +02:00
configure GCC: Check if AR works with --plugin and rc 2023-08-07 22:59:37 +02:00
configure.ac d: Merge upstream dmd, druntime a88e1335f7, phobos 1921d29df. 2023-07-10 23:31:29 +02:00
configure.tgt Update copyright years. 2023-01-16 11:52:17 +01:00
d_rules.am Update copyright years. 2023-01-16 11:52:17 +01:00
Makefile.am Update copyright years. 2023-01-16 11:52:17 +01:00
Makefile.in Regenerate Makefile.in files. 2023-01-17 12:20:05 +01:00
README.gcc

The files in this directory where noted are part of the DRuntime
and Phobos library.

DRuntime is the low-level runtime library backing the D programming
language, hosted at https://github.com/dlang/druntime/.

Phobos is the standard library for the D Programming Language, hosted
at https://github.com/dlang/phobos/.

The following sources and directories are part of DRuntime:
  libdruntime/core/
  libdruntime/gc/
  libdruntime/gcstub/
  libdruntime/object.d
  libdruntime/rt/

The following sources and directories are part of Phobos:
  src/etc/
  src/index.d
  src/std/

To report a bug or look up known issues with the runtime or standard
library please visit the issue tracker at https://issues.dlang.org/.

All changes to either of these libraries should go through the
upstream repository first, then merged back to GCC.