Re: [PATCH] bpf: do not --enable-gcov for bpf-*-* targets

2022-02-23 Thread Jose E. Marchesi
> On Feb 23 2022, Jose E. Marchesi wrote: > >> diff --git a/gcc/configure.ac b/gcc/configure.ac >> index 06750cee977..a892e170997 100644 >> --- a/gcc/configure.ac >> +++ b/gcc/configure.ac >> @@ -1042,6 +1042,12 @@ AC_SUBST(enable_shared) >> AC_ARG_ENABLE(gcov, >> [ --disable-gcov don

Re: [PATCH] bpf: do not --enable-gcov for bpf-*-* targets

2022-02-23 Thread Andreas Schwab
On Feb 23 2022, Jose E. Marchesi wrote: > diff --git a/gcc/configure.ac b/gcc/configure.ac > index 06750cee977..a892e170997 100644 > --- a/gcc/configure.ac > +++ b/gcc/configure.ac > @@ -1042,6 +1042,12 @@ AC_SUBST(enable_shared) > AC_ARG_ENABLE(gcov, > [ --disable-gcov don't provide l

[PATCH] bpf: do not --enable-gcov for bpf-*-* targets

2022-02-23 Thread Jose E. Marchesi
This patch changes the build machinery in order to disable the build of GCOV (both compiler and libgcc) in bpf-*-* targets. The reason for this change is that BPF is (currently) too restricted in order to support the coverage instrumentalization. Tested in bpf-unknown-none and x86_64-linux-gnu ta