Skip to contentSkip to conversation

kbuild: List libelf-devel as an alternative

PATCH In review Jean Delvare 3 participants 3 messages Jun 16, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kbuild: List libelf-devel as an alternative

On openSUSE, the libelf development files are in package libelf-devel.

Cc Josh Poimboeuf <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Michal Marek <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
---
 Makefile                   |    2 +-
 tools/perf/config/Makefile |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Makefile +1 -1
@@ -1013,7 +1013,7 @@ ifdef CONFIG_STACK_VALIDATION
   ifeq ($(has_libelf),1)
     objtool_target := tools/objtool FORCE
   else
-    $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev or elfutils-libelf-devel")
+    $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev, libelf-devel or elfutils-libelf-devel")
     SKIP_STACK_VALIDATION := 1
     export SKIP_STACK_VALIDATION
   endif
tools/perf/config/Makefile +1 -1
@@ -243,7 +243,7 @@ else
       LIBC_SUPPORT := 1
     endif
     ifeq ($(LIBC_SUPPORT),1)
-      msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install elfutils-libelf-devel/libelf-dev);
+      msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install libelf-dev, libelf-devel or elfutils-libelf-devel);
 
       NO_LIBELF := 1
       NO_DWARF := 1
Signature · 2 lines
Jean Delvare
SUSE L3 Support
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Jean Delvare

On openSUSE, the libelf development files are in package libelf-devel.

Cc Josh Poimboeuf <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Michal Marek <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Quoted 32 lines
---
 Makefile                   |    2 +-
 tools/perf/config/Makefile |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Makefile +1 -1
@@ -1013,7 +1013,7 @@ ifdef CONFIG_STACK_VALIDATION
   ifeq ($(has_libelf),1)
     objtool_target := tools/objtool FORCE
   else
-    $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev or elfutils-libelf-devel")
+    $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev, libelf-devel or elfutils-libelf-devel")
     SKIP_STACK_VALIDATION := 1
     export SKIP_STACK_VALIDATION
   endif
tools/perf/config/Makefile +1 -1
@@ -243,7 +243,7 @@ else
       LIBC_SUPPORT := 1
     endif
     ifeq ($(LIBC_SUPPORT),1)
-      msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install elfutils-libelf-devel/libelf-dev);
+      msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install libelf-dev, libelf-devel or elfutils-libelf-devel);
 
       NO_LIBELF := 1
       NO_DWARF := 1
Signature · 3 lines
-- 
Jean Delvare
SUSE L3 Support
Signature · 1 line
Josh
#2 lore raw

Em Thu, Jun 16, 2016 at 10:08:09AM -0500, Josh Poimboeuf escreveu:

Quoted 11 lines · Jean Delvare
Quoted 9 lines

On openSUSE, the libelf development files are in package libelf-devel.

Cc Josh Poimboeuf <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Michal Marek <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Quoted 1 line

Thanks, applying.

- Arnaldo

Quoted 35 lines
Quoted 32 lines
---
 Makefile                   |    2 +-
 tools/perf/config/Makefile |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Makefile +1 -1
@@ -1013,7 +1013,7 @@ ifdef CONFIG_STACK_VALIDATION
   ifeq ($(has_libelf),1)
     objtool_target := tools/objtool FORCE
   else
-    $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev or elfutils-libelf-devel")
+    $(warning "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev, libelf-devel or elfutils-libelf-devel")
     SKIP_STACK_VALIDATION := 1
     export SKIP_STACK_VALIDATION
   endif
tools/perf/config/Makefile +1 -1
@@ -243,7 +243,7 @@ else
       LIBC_SUPPORT := 1
     endif
     ifeq ($(LIBC_SUPPORT),1)
-      msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install elfutils-libelf-devel/libelf-dev);
+      msg := $(warning No libelf found, disables 'probe' tool and BPF support in 'perf record', please install libelf-dev, libelf-devel or elfutils-libelf-devel);
 
       NO_LIBELF := 1
       NO_DWARF := 1
Signature · 3 lines
-- 
Jean Delvare
SUSE L3 Support
Signature · 1 line
Josh