Message ID | 20250516140735.31243-1-reatmon@ti.com |
---|---|
State | Superseded |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | [meta-arago,master/scarthgap,1/3] bpftool: Fix for building bpftool-native | expand |
diff --git a/meta-arago-test/recipes-devtools/bpftool/bpftool-ti.inc b/meta-arago-test/recipes-devtools/bpftool/bpftool-ti.inc new file mode 100644 index 00000000..0310ebaa --- /dev/null +++ b/meta-arago-test/recipes-devtools/bpftool/bpftool-ti.inc @@ -0,0 +1 @@ +DEBUG_PREFIX_MAP:remove:class-native = "-fcanon-prefix-map" diff --git a/meta-arago-test/recipes-devtools/bpftool/bpftool.bbappend b/meta-arago-test/recipes-devtools/bpftool/bpftool.bbappend new file mode 100644 index 00000000..b2dfa9d5 --- /dev/null +++ b/meta-arago-test/recipes-devtools/bpftool/bpftool.bbappend @@ -0,0 +1,4 @@ +BPFTOOL_TI = "" +BPFTOOL_TI:ti-soc = "bpftool-ti.inc" + +require ${BPFTOOL_TI}
The bpftool is configured to use the DEBUG_PREFIX_MAP when building, but this causes a problem when building bpftool-native. Ubuntu 22.04 has gcc-11 as the default and DEBUG_PREFIX_MAP contains an option that is only gcc-13 and beyond. Simple fix is to remove the offending option when building bpftool-native. Signed-off-by: Ryan Eatmon <reatmon@ti.com> --- meta-arago-test/recipes-devtools/bpftool/bpftool-ti.inc | 1 + meta-arago-test/recipes-devtools/bpftool/bpftool.bbappend | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 meta-arago-test/recipes-devtools/bpftool/bpftool-ti.inc create mode 100644 meta-arago-test/recipes-devtools/bpftool/bpftool.bbappend