* [PATCH] bpf: correct extra_headers
@ 2021-09-28 17:54 David Faust
2021-09-29 3:52 ` Jose E. Marchesi
0 siblings, 1 reply; 2+ messages in thread
From: David Faust @ 2021-09-28 17:54 UTC (permalink / raw)
To: gcc-patches
The BPF CO-RE support (commit 8bdabb37549f12ce727800a1c8aa182c0b1dd42a)
mistakenly overwrote bpf-*-* extra_headers in config.gcc, causing
bpf-helpers.h to not be installed. The redefinition with coreout.h is
unneeded, so delete it.
gcc/ChangeLog:
* config.gcc (bpf-*-*): Do not overwrite extra_headers.
---
gcc/config.gcc | 1 -
1 file changed, 1 deletion(-)
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 498c51e619d..aa5bd5d1459 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1531,7 +1531,6 @@ bpf-*-*)
use_collect2=no
extra_headers="bpf-helpers.h"
use_gcc_stdint=provide
- extra_headers="coreout.h"
extra_objs="coreout.o"
target_gtfiles="$target_gtfiles \$(srcdir)/config/bpf/coreout.c"
;;
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] bpf: correct extra_headers
2021-09-28 17:54 [PATCH] bpf: correct extra_headers David Faust
@ 2021-09-29 3:52 ` Jose E. Marchesi
0 siblings, 0 replies; 2+ messages in thread
From: Jose E. Marchesi @ 2021-09-29 3:52 UTC (permalink / raw)
To: David Faust via Gcc-patches
Hi David.
> The BPF CO-RE support (commit 8bdabb37549f12ce727800a1c8aa182c0b1dd42a)
> mistakenly overwrote bpf-*-* extra_headers in config.gcc, causing
> bpf-helpers.h to not be installed. The redefinition with coreout.h is
> unneeded, so delete it.
This is OK.
Thanks.
>
> gcc/ChangeLog:
>
> * config.gcc (bpf-*-*): Do not overwrite extra_headers.
> ---
> gcc/config.gcc | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/gcc/config.gcc b/gcc/config.gcc
> index 498c51e619d..aa5bd5d1459 100644
> --- a/gcc/config.gcc
> +++ b/gcc/config.gcc
> @@ -1531,7 +1531,6 @@ bpf-*-*)
> use_collect2=no
> extra_headers="bpf-helpers.h"
> use_gcc_stdint=provide
> - extra_headers="coreout.h"
> extra_objs="coreout.o"
> target_gtfiles="$target_gtfiles \$(srcdir)/config/bpf/coreout.c"
> ;;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-29 3:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28 17:54 [PATCH] bpf: correct extra_headers David Faust
2021-09-29 3:52 ` Jose E. Marchesi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).