[PATCH] gcc: add --enable-systemtap switch [PR61257]

2022-03-14 Thread David Seifert via Gcc-patches
Bug: https://bugs.gentoo.org/654748 gcc/configure.ac * Add --enable-systemtap switch to explicitly allow for disabling systemtap even if the target libc supports it. --- gcc/configure.ac | 26 ++ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git

[PATCH] configure: cache result of "sys/sdt.h" header check

2022-03-14 Thread David Seifert via Gcc-patches
Use AC_CACHE_CHECK to store the result of the header check for systemtap's "sys/sdt.h", which is similar in spirit to libstdc++'s AC_CACHE_CHECK(..., glibcxx_cv_sys_sdt_h). gcc/ * configure.ac: Add AC_CACHE_CHECK(..., gcc_cv_sys_sdt_h). * configure: Regenerate. --- gcc/configure

[PATCH] configure: use OBJDUMP determined by libtool [PR95648]

2022-03-15 Thread David Seifert via Gcc-patches
$ac_cv_prog_OBJDUMP contains the --host OBJDUMP that libtool has inferred. Current config/gcc-plugin.m4 does not respect the user's choice for OBJDUMP. config/ * gcc-plugin.m4: Use libtool's $ac_cv_prog_OBJDUMP. gcc/ * configure: Regenerate. libcc1/ * configure: Regene

Re: [PATCH] configure: cache result of "sys/sdt.h" header check

2022-03-24 Thread David Seifert via Gcc-patches
On Mon, 2022-03-14 at 18:38 +0100, David Seifert wrote: > Use AC_CACHE_CHECK to store the result of the header check for > systemtap's "sys/sdt.h", which is similar in spirit to libstdc++'s > AC_CACHE_CHECK(..., glibcxx_cv_sys_sdt_h). > > gcc/ >     * configure.ac: Add AC_CACHE_CHECK(..., gcc_

[PATCH v2] Make `-Werror` optional in libatomic/libbacktrace/libgomp/libitm/libsanitizer

2022-02-03 Thread David Seifert via Gcc-patches
* `-Werror` can cause issues when a more recent version of GCC compiles an older version: - https://bugs.gentoo.org/229059 - https://bugs.gentoo.org/475350 - https://bugs.gentoo.org/667104 --- libatomic/configure.ac| 6 -- libbacktrace/configure.ac | 7 -

Re: [PATCH v2] Make `-Werror` optional in libatomic/libbacktrace/libgomp/libitm/libsanitizer

2022-02-03 Thread David Seifert via Gcc-patches
On Thu, 2022-02-03 at 11:23 +, Jonathan Wakely wrote: > On 03/02/22 12:08 +0100, David Seifert wrote: > > * `-Werror` can cause issues when a more recent version of GCC > > compiles > >  an older version: > >  - https://bugs.gentoo.org/229059 > >  - https://bugs.gentoo.org/475350 > >  - https:/

[PATCH v3] Make `-Werror` optional in libatomic/libbacktrace/libgomp/libitm/libsanitizer

2022-02-03 Thread David Seifert via Gcc-patches
* `-Werror` can cause issues when a more recent version of GCC compiles an older version: - https://bugs.gentoo.org/229059 - https://bugs.gentoo.org/475350 - https://bugs.gentoo.org/667104 libatomic/ChangeLog: * libatomic/configure.ac: Support --disable-werror. * libatomic

Re: [PATCH v3] Make `-Werror` optional in libatomic/libbacktrace/libgomp/libitm/libsanitizer

2022-02-03 Thread David Seifert via Gcc-patches
On Thu, 2022-02-03 at 12:50 +0100, Jakub Jelinek wrote: > On Thu, Feb 03, 2022 at 12:30:11PM +0100, David Seifert wrote: > > * `-Werror` can cause issues when a more recent version of GCC > > compiles > >   an older version: > >   - https://bugs.gentoo.org/229059 > >   - https://bugs.gentoo.org/475

[PATCH v4] Make `-Werror` optional in libatomic/libbacktrace/libgomp/libitm/libsanitizer

2022-02-03 Thread David Seifert via Gcc-patches
* `-Werror` can cause issues when a more recent version of GCC compiles an older version: - https://bugs.gentoo.org/229059 - https://bugs.gentoo.org/475350 - https://bugs.gentoo.org/667104 Bootstrapped/regtested x86_64-linux, tested without --disable-werror and with ./configure --disable-w

[PATCH] Make `-Werror` optional in libatomic/libbacktrace/libgomp/libitm/libsanitizer

2022-01-17 Thread David Seifert via Gcc-patches
* `-Werror` can cause issues when a more recent version of GCC compiles an older version: - https://bugs.gentoo.org/229059 - https://bugs.gentoo.org/475350 - https://bugs.gentoo.org/667104 --- libatomic/configure.ac| 6 -- libbacktrace/configure.ac | 7 -