linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tools perf build: Support BUILD_NONDISTRO on OpenSUSE Tumbleweed
@ 2025-09-05 18:38 Andi Kleen
  2025-09-22 15:25 ` Andi Kleen
  2025-10-03 20:32 ` Andi Kleen
  0 siblings, 2 replies; 3+ messages in thread
From: Andi Kleen @ 2025-09-05 18:38 UTC (permalink / raw)
  To: acme; +Cc: linux-perf-users, Andi Kleen, Andi Kleen

My Tumbleweed system needs -lzstd -lsframe to build -lbfd
for BUILD_NONDISTRO to get a sane BFD based setup.
Add probing for that case.

The previously posted build fixes are also needed.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
 tools/build/Makefile.feature |  4 +++-
 tools/build/feature/Makefile | 24 ++++++++++++++++++------
 tools/perf/Makefile.config   | 22 +++++++++++++++-------
 3 files changed, 36 insertions(+), 14 deletions(-)

diff --git a/tools/build/Makefile.feature b/tools/build/Makefile.feature
index 649c5ab8e8f2..46bdb9f8ba7f 100644
--- a/tools/build/Makefile.feature
+++ b/tools/build/Makefile.feature
@@ -120,6 +120,7 @@ FEATURE_TESTS_EXTRA :=                  \
          libcapstone                    \
          libbfd-liberty                 \
          libbfd-liberty-z               \
+         libbfd-liberty-z-zstd-sframe   \
          libopencsd                     \
          cxx                            \
          llvm                           \
@@ -159,7 +160,8 @@ FEATURE_DISPLAY ?=              \
 # Declare group members of a feature to display the logical OR of the detection
 # result instead of each member result.
 #
-FEATURE_GROUP_MEMBERS-libbfd = libbfd-liberty libbfd-liberty-z
+FEATURE_GROUP_MEMBERS-libbfd = libbfd-liberty libbfd-liberty-z \
+			       libbfd-liberty-z-zstd-sframe
 
 #
 # Declare list of feature dependency packages that provide pkg-config files.
diff --git a/tools/build/feature/Makefile b/tools/build/feature/Makefile
index b41a42818d8a..7fd30cbeefb0 100644
--- a/tools/build/feature/Makefile
+++ b/tools/build/feature/Makefile
@@ -20,6 +20,7 @@ FILES=                                          \
          test-reallocarray.bin			\
          test-libbfd-liberty.bin                \
          test-libbfd-liberty-z.bin              \
+         test-libbfd-liberty-z-zstd-sframe.bin  \
          test-cplus-demangle.bin                \
          test-cxa-demangle.bin                  \
          test-libcap.bin			\
@@ -118,7 +119,7 @@ __BUILDXX = $(CXX) $(CXXFLAGS) -MD -Wall -Werror -o $@ $(patsubst %.bin,%.cpp,$(
 ###############################
 
 $(OUTPUT)test-all.bin:
-	$(BUILD_ALL) || $(BUILD_ALL) -lopcodes -liberty
+	$(BUILD_ALL) || $(BUILD_ALL) -lopcodes -liberty || $(BUILD_ALL) -lopcodes -liberty -lz -lzstd -lsframe
 
 $(OUTPUT)test-hello.bin:
 	$(BUILD)
@@ -278,15 +279,22 @@ $(OUTPUT)test-libbfd.bin:
 	$(BUILD_BFD)
 
 $(OUTPUT)test-libbfd-buildid.bin:
-	$(BUILD_BFD) || $(BUILD_BFD) -liberty || $(BUILD_BFD) -liberty -lz
+	$(BUILD_BFD) || \
+	$(BUILD_BFD) -liberty || \
+	$(BUILD_BFD) -liberty -lz || \
+	$(BUILD_BFD) -liberty -lz -lzstd -sframe
 
 $(OUTPUT)test-disassembler-four-args.bin:
-	$(BUILD_BFD) -lopcodes || $(BUILD_BFD) -lopcodes -liberty || \
-	$(BUILD_BFD) -lopcodes -liberty -lz
+	$(BUILD_BFD) -lopcodes || \
+	$(BUILD_BFD) -lopcodes -liberty || \
+	$(BUILD_BFD) -lopcodes -liberty -lz || \
+	$(BUILD_BFD) -lopcodes -liberty -lz -lzstd -lsframe
 
 $(OUTPUT)test-disassembler-init-styled.bin:
-	$(BUILD_BFD) -lopcodes || $(BUILD_BFD) -lopcodes -liberty || \
-	$(BUILD_BFD) -lopcodes -liberty -lz
+	$(BUILD_BFD) -lopcodes || \
+	$(BUILD_BFD) -lopcodes -liberty || \
+	$(BUILD_BFD) -lopcodes -liberty -lz || \
+	$(BUILD_BFD) -lopcodes -liberty -lz -lzstd -lsframe
 
 $(OUTPUT)test-reallocarray.bin:
 	$(BUILD)
@@ -297,6 +305,10 @@ $(OUTPUT)test-libbfd-liberty.bin:
 $(OUTPUT)test-libbfd-liberty-z.bin:
 	$(CC) $(CFLAGS) -Wall -Werror -o $@ test-libbfd.c -DPACKAGE='"perf"' $(LDFLAGS) -lbfd -ldl -liberty -lz
 
+$(OUTPUT)test-libbfd-liberty-z-zstd-sframe.bin:
+	$(CC) $(CFLAGS) -Wall -Werror -o $@ test-libbfd.c -DPACKAGE='"perf"' $(LDFLAGS) -lbfd -ldl -liberty -lz \
+		-lzstd -lsframe
+
 $(OUTPUT)test-cplus-demangle.bin:
 	$(BUILD) -liberty
 
diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
index 5a5832ee7b53..53864a505cfa 100644
--- a/tools/perf/Makefile.config
+++ b/tools/perf/Makefile.config
@@ -923,23 +923,31 @@ ifdef BUILD_NONDISTRO
     EXTLIBS += -lbfd -lopcodes
   else
     # we are on a system that requires -liberty and (maybe) -lz
+    # and possibly sframe and zstd
     # to link against -lbfd; test each case individually here
 
     # call all detections now so we get correct
     # status in VF output
     $(call feature_check,libbfd-liberty)
     $(call feature_check,libbfd-liberty-z)
+    $(call feature_check,libbfd-liberty-z-zstd-sframe)
 
-    ifeq ($(feature-libbfd-liberty), 1)
+    ifeq ($(feature-libbfd-liberty),$(feature-libbfd-liberty-z),1)
       EXTLIBS += -lbfd -lopcodes -liberty
       FEATURE_CHECK_LDFLAGS-disassembler-four-args += -liberty -ldl
       FEATURE_CHECK_LDFLAGS-disassembler-init-styled += -liberty -ldl
-    else
-      ifeq ($(feature-libbfd-liberty-z), 1)
-        EXTLIBS += -lbfd -lopcodes -liberty -lz
-        FEATURE_CHECK_LDFLAGS-disassembler-four-args += -liberty -lz -ldl
-        FEATURE_CHECK_LDFLAGS-disassembler-init-styled += -liberty -lz -ldl
-      endif
+    endif
+    ifeq ($(feature-libbfd-liberty-z),1)
+      EXTLIBS += -lbfd -lopcodes -liberty -lz
+      FEATURE_CHECK_LDFLAGS-disassembler-four-args += -liberty -lz -ldl
+      FEATURE_CHECK_LDFLAGS-disassembler-init-styled += -liberty -lz -ldl
+    endif
+    ifeq ($(feature-libbfd-liberty-z-zstd-sframe),1)
+      EXTLIBS += -lbfd -lopcodes -liberty -lz -lzstd -lsframe
+      FEATURE_CHECK_LDFLAGS-disassembler-four-args += \
+	      -liberty -lz -lzstd -lsframe -ldl
+      FEATURE_CHECK_LDFLAGS-disassembler-init-styled += \
+	      -liberty -lz -lzstd -lsframe -ldl
     endif
     $(call feature_check,disassembler-four-args)
     $(call feature_check,disassembler-init-styled)
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] tools perf build: Support BUILD_NONDISTRO on OpenSUSE Tumbleweed
  2025-09-05 18:38 [PATCH] tools perf build: Support BUILD_NONDISTRO on OpenSUSE Tumbleweed Andi Kleen
@ 2025-09-22 15:25 ` Andi Kleen
  2025-10-03 20:32 ` Andi Kleen
  1 sibling, 0 replies; 3+ messages in thread
From: Andi Kleen @ 2025-09-22 15:25 UTC (permalink / raw)
  To: Andi Kleen; +Cc: acme, linux-perf-users

On Fri, Sep 05, 2025 at 11:38:32AM -0700, Andi Kleen wrote:
> My Tumbleweed system needs -lzstd -lsframe to build -lbfd
> for BUILD_NONDISTRO to get a sane BFD based setup.
> Add probing for that case.
> 
> The previously posted build fixes are also needed.
> 
> Signed-off-by: Andi Kleen <ak@linux.intel.com>

Patch still needs to be merged.

Thanks,

-Andi

> ---
>  tools/build/Makefile.feature |  4 +++-
>  tools/build/feature/Makefile | 24 ++++++++++++++++++------
>  tools/perf/Makefile.config   | 22 +++++++++++++++-------
>  3 files changed, 36 insertions(+), 14 deletions(-)
> 
> diff --git a/tools/build/Makefile.feature b/tools/build/Makefile.feature
> index 649c5ab8e8f2..46bdb9f8ba7f 100644
> --- a/tools/build/Makefile.feature
> +++ b/tools/build/Makefile.feature
> @@ -120,6 +120,7 @@ FEATURE_TESTS_EXTRA :=                  \
>           libcapstone                    \
>           libbfd-liberty                 \
>           libbfd-liberty-z               \
> +         libbfd-liberty-z-zstd-sframe   \
>           libopencsd                     \
>           cxx                            \
>           llvm                           \
> @@ -159,7 +160,8 @@ FEATURE_DISPLAY ?=              \
>  # Declare group members of a feature to display the logical OR of the detection
>  # result instead of each member result.
>  #
> -FEATURE_GROUP_MEMBERS-libbfd = libbfd-liberty libbfd-liberty-z
> +FEATURE_GROUP_MEMBERS-libbfd = libbfd-liberty libbfd-liberty-z \
> +			       libbfd-liberty-z-zstd-sframe
>  
>  #
>  # Declare list of feature dependency packages that provide pkg-config files.
> diff --git a/tools/build/feature/Makefile b/tools/build/feature/Makefile
> index b41a42818d8a..7fd30cbeefb0 100644
> --- a/tools/build/feature/Makefile
> +++ b/tools/build/feature/Makefile
> @@ -20,6 +20,7 @@ FILES=                                          \
>           test-reallocarray.bin			\
>           test-libbfd-liberty.bin                \
>           test-libbfd-liberty-z.bin              \
> +         test-libbfd-liberty-z-zstd-sframe.bin  \
>           test-cplus-demangle.bin                \
>           test-cxa-demangle.bin                  \
>           test-libcap.bin			\
> @@ -118,7 +119,7 @@ __BUILDXX = $(CXX) $(CXXFLAGS) -MD -Wall -Werror -o $@ $(patsubst %.bin,%.cpp,$(
>  ###############################
>  
>  $(OUTPUT)test-all.bin:
> -	$(BUILD_ALL) || $(BUILD_ALL) -lopcodes -liberty
> +	$(BUILD_ALL) || $(BUILD_ALL) -lopcodes -liberty || $(BUILD_ALL) -lopcodes -liberty -lz -lzstd -lsframe
>  
>  $(OUTPUT)test-hello.bin:
>  	$(BUILD)
> @@ -278,15 +279,22 @@ $(OUTPUT)test-libbfd.bin:
>  	$(BUILD_BFD)
>  
>  $(OUTPUT)test-libbfd-buildid.bin:
> -	$(BUILD_BFD) || $(BUILD_BFD) -liberty || $(BUILD_BFD) -liberty -lz
> +	$(BUILD_BFD) || \
> +	$(BUILD_BFD) -liberty || \
> +	$(BUILD_BFD) -liberty -lz || \
> +	$(BUILD_BFD) -liberty -lz -lzstd -sframe
>  
>  $(OUTPUT)test-disassembler-four-args.bin:
> -	$(BUILD_BFD) -lopcodes || $(BUILD_BFD) -lopcodes -liberty || \
> -	$(BUILD_BFD) -lopcodes -liberty -lz
> +	$(BUILD_BFD) -lopcodes || \
> +	$(BUILD_BFD) -lopcodes -liberty || \
> +	$(BUILD_BFD) -lopcodes -liberty -lz || \
> +	$(BUILD_BFD) -lopcodes -liberty -lz -lzstd -lsframe
>  
>  $(OUTPUT)test-disassembler-init-styled.bin:
> -	$(BUILD_BFD) -lopcodes || $(BUILD_BFD) -lopcodes -liberty || \
> -	$(BUILD_BFD) -lopcodes -liberty -lz
> +	$(BUILD_BFD) -lopcodes || \
> +	$(BUILD_BFD) -lopcodes -liberty || \
> +	$(BUILD_BFD) -lopcodes -liberty -lz || \
> +	$(BUILD_BFD) -lopcodes -liberty -lz -lzstd -lsframe
>  
>  $(OUTPUT)test-reallocarray.bin:
>  	$(BUILD)
> @@ -297,6 +305,10 @@ $(OUTPUT)test-libbfd-liberty.bin:
>  $(OUTPUT)test-libbfd-liberty-z.bin:
>  	$(CC) $(CFLAGS) -Wall -Werror -o $@ test-libbfd.c -DPACKAGE='"perf"' $(LDFLAGS) -lbfd -ldl -liberty -lz
>  
> +$(OUTPUT)test-libbfd-liberty-z-zstd-sframe.bin:
> +	$(CC) $(CFLAGS) -Wall -Werror -o $@ test-libbfd.c -DPACKAGE='"perf"' $(LDFLAGS) -lbfd -ldl -liberty -lz \
> +		-lzstd -lsframe
> +
>  $(OUTPUT)test-cplus-demangle.bin:
>  	$(BUILD) -liberty
>  
> diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
> index 5a5832ee7b53..53864a505cfa 100644
> --- a/tools/perf/Makefile.config
> +++ b/tools/perf/Makefile.config
> @@ -923,23 +923,31 @@ ifdef BUILD_NONDISTRO
>      EXTLIBS += -lbfd -lopcodes
>    else
>      # we are on a system that requires -liberty and (maybe) -lz
> +    # and possibly sframe and zstd
>      # to link against -lbfd; test each case individually here
>  
>      # call all detections now so we get correct
>      # status in VF output
>      $(call feature_check,libbfd-liberty)
>      $(call feature_check,libbfd-liberty-z)
> +    $(call feature_check,libbfd-liberty-z-zstd-sframe)
>  
> -    ifeq ($(feature-libbfd-liberty), 1)
> +    ifeq ($(feature-libbfd-liberty),$(feature-libbfd-liberty-z),1)
>        EXTLIBS += -lbfd -lopcodes -liberty
>        FEATURE_CHECK_LDFLAGS-disassembler-four-args += -liberty -ldl
>        FEATURE_CHECK_LDFLAGS-disassembler-init-styled += -liberty -ldl
> -    else
> -      ifeq ($(feature-libbfd-liberty-z), 1)
> -        EXTLIBS += -lbfd -lopcodes -liberty -lz
> -        FEATURE_CHECK_LDFLAGS-disassembler-four-args += -liberty -lz -ldl
> -        FEATURE_CHECK_LDFLAGS-disassembler-init-styled += -liberty -lz -ldl
> -      endif
> +    endif
> +    ifeq ($(feature-libbfd-liberty-z),1)
> +      EXTLIBS += -lbfd -lopcodes -liberty -lz
> +      FEATURE_CHECK_LDFLAGS-disassembler-four-args += -liberty -lz -ldl
> +      FEATURE_CHECK_LDFLAGS-disassembler-init-styled += -liberty -lz -ldl
> +    endif
> +    ifeq ($(feature-libbfd-liberty-z-zstd-sframe),1)
> +      EXTLIBS += -lbfd -lopcodes -liberty -lz -lzstd -lsframe
> +      FEATURE_CHECK_LDFLAGS-disassembler-four-args += \
> +	      -liberty -lz -lzstd -lsframe -ldl
> +      FEATURE_CHECK_LDFLAGS-disassembler-init-styled += \
> +	      -liberty -lz -lzstd -lsframe -ldl
>      endif
>      $(call feature_check,disassembler-four-args)
>      $(call feature_check,disassembler-init-styled)
> -- 
> 2.51.0
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] tools perf build: Support BUILD_NONDISTRO on OpenSUSE Tumbleweed
  2025-09-05 18:38 [PATCH] tools perf build: Support BUILD_NONDISTRO on OpenSUSE Tumbleweed Andi Kleen
  2025-09-22 15:25 ` Andi Kleen
@ 2025-10-03 20:32 ` Andi Kleen
  1 sibling, 0 replies; 3+ messages in thread
From: Andi Kleen @ 2025-10-03 20:32 UTC (permalink / raw)
  To: Andi Kleen; +Cc: acme, linux-perf-users

Ping^2

-Andi

On Fri, Sep 05, 2025 at 11:38:32AM -0700, Andi Kleen wrote:
> My Tumbleweed system needs -lzstd -lsframe to build -lbfd
> for BUILD_NONDISTRO to get a sane BFD based setup.
> Add probing for that case.
> 
> The previously posted build fixes are also needed.
> 
> Signed-off-by: Andi Kleen <ak@linux.intel.com>
> ---
>  tools/build/Makefile.feature |  4 +++-
>  tools/build/feature/Makefile | 24 ++++++++++++++++++------
>  tools/perf/Makefile.config   | 22 +++++++++++++++-------
>  3 files changed, 36 insertions(+), 14 deletions(-)
> 
> diff --git a/tools/build/Makefile.feature b/tools/build/Makefile.feature
> index 649c5ab8e8f2..46bdb9f8ba7f 100644
> --- a/tools/build/Makefile.feature
> +++ b/tools/build/Makefile.feature
> @@ -120,6 +120,7 @@ FEATURE_TESTS_EXTRA :=                  \
>           libcapstone                    \
>           libbfd-liberty                 \
>           libbfd-liberty-z               \
> +         libbfd-liberty-z-zstd-sframe   \
>           libopencsd                     \
>           cxx                            \
>           llvm                           \
> @@ -159,7 +160,8 @@ FEATURE_DISPLAY ?=              \
>  # Declare group members of a feature to display the logical OR of the detection
>  # result instead of each member result.
>  #
> -FEATURE_GROUP_MEMBERS-libbfd = libbfd-liberty libbfd-liberty-z
> +FEATURE_GROUP_MEMBERS-libbfd = libbfd-liberty libbfd-liberty-z \
> +			       libbfd-liberty-z-zstd-sframe
>  
>  #
>  # Declare list of feature dependency packages that provide pkg-config files.
> diff --git a/tools/build/feature/Makefile b/tools/build/feature/Makefile
> index b41a42818d8a..7fd30cbeefb0 100644
> --- a/tools/build/feature/Makefile
> +++ b/tools/build/feature/Makefile
> @@ -20,6 +20,7 @@ FILES=                                          \
>           test-reallocarray.bin			\
>           test-libbfd-liberty.bin                \
>           test-libbfd-liberty-z.bin              \
> +         test-libbfd-liberty-z-zstd-sframe.bin  \
>           test-cplus-demangle.bin                \
>           test-cxa-demangle.bin                  \
>           test-libcap.bin			\
> @@ -118,7 +119,7 @@ __BUILDXX = $(CXX) $(CXXFLAGS) -MD -Wall -Werror -o $@ $(patsubst %.bin,%.cpp,$(
>  ###############################
>  
>  $(OUTPUT)test-all.bin:
> -	$(BUILD_ALL) || $(BUILD_ALL) -lopcodes -liberty
> +	$(BUILD_ALL) || $(BUILD_ALL) -lopcodes -liberty || $(BUILD_ALL) -lopcodes -liberty -lz -lzstd -lsframe
>  
>  $(OUTPUT)test-hello.bin:
>  	$(BUILD)
> @@ -278,15 +279,22 @@ $(OUTPUT)test-libbfd.bin:
>  	$(BUILD_BFD)
>  
>  $(OUTPUT)test-libbfd-buildid.bin:
> -	$(BUILD_BFD) || $(BUILD_BFD) -liberty || $(BUILD_BFD) -liberty -lz
> +	$(BUILD_BFD) || \
> +	$(BUILD_BFD) -liberty || \
> +	$(BUILD_BFD) -liberty -lz || \
> +	$(BUILD_BFD) -liberty -lz -lzstd -sframe
>  
>  $(OUTPUT)test-disassembler-four-args.bin:
> -	$(BUILD_BFD) -lopcodes || $(BUILD_BFD) -lopcodes -liberty || \
> -	$(BUILD_BFD) -lopcodes -liberty -lz
> +	$(BUILD_BFD) -lopcodes || \
> +	$(BUILD_BFD) -lopcodes -liberty || \
> +	$(BUILD_BFD) -lopcodes -liberty -lz || \
> +	$(BUILD_BFD) -lopcodes -liberty -lz -lzstd -lsframe
>  
>  $(OUTPUT)test-disassembler-init-styled.bin:
> -	$(BUILD_BFD) -lopcodes || $(BUILD_BFD) -lopcodes -liberty || \
> -	$(BUILD_BFD) -lopcodes -liberty -lz
> +	$(BUILD_BFD) -lopcodes || \
> +	$(BUILD_BFD) -lopcodes -liberty || \
> +	$(BUILD_BFD) -lopcodes -liberty -lz || \
> +	$(BUILD_BFD) -lopcodes -liberty -lz -lzstd -lsframe
>  
>  $(OUTPUT)test-reallocarray.bin:
>  	$(BUILD)
> @@ -297,6 +305,10 @@ $(OUTPUT)test-libbfd-liberty.bin:
>  $(OUTPUT)test-libbfd-liberty-z.bin:
>  	$(CC) $(CFLAGS) -Wall -Werror -o $@ test-libbfd.c -DPACKAGE='"perf"' $(LDFLAGS) -lbfd -ldl -liberty -lz
>  
> +$(OUTPUT)test-libbfd-liberty-z-zstd-sframe.bin:
> +	$(CC) $(CFLAGS) -Wall -Werror -o $@ test-libbfd.c -DPACKAGE='"perf"' $(LDFLAGS) -lbfd -ldl -liberty -lz \
> +		-lzstd -lsframe
> +
>  $(OUTPUT)test-cplus-demangle.bin:
>  	$(BUILD) -liberty
>  
> diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
> index 5a5832ee7b53..53864a505cfa 100644
> --- a/tools/perf/Makefile.config
> +++ b/tools/perf/Makefile.config
> @@ -923,23 +923,31 @@ ifdef BUILD_NONDISTRO
>      EXTLIBS += -lbfd -lopcodes
>    else
>      # we are on a system that requires -liberty and (maybe) -lz
> +    # and possibly sframe and zstd
>      # to link against -lbfd; test each case individually here
>  
>      # call all detections now so we get correct
>      # status in VF output
>      $(call feature_check,libbfd-liberty)
>      $(call feature_check,libbfd-liberty-z)
> +    $(call feature_check,libbfd-liberty-z-zstd-sframe)
>  
> -    ifeq ($(feature-libbfd-liberty), 1)
> +    ifeq ($(feature-libbfd-liberty),$(feature-libbfd-liberty-z),1)
>        EXTLIBS += -lbfd -lopcodes -liberty
>        FEATURE_CHECK_LDFLAGS-disassembler-four-args += -liberty -ldl
>        FEATURE_CHECK_LDFLAGS-disassembler-init-styled += -liberty -ldl
> -    else
> -      ifeq ($(feature-libbfd-liberty-z), 1)
> -        EXTLIBS += -lbfd -lopcodes -liberty -lz
> -        FEATURE_CHECK_LDFLAGS-disassembler-four-args += -liberty -lz -ldl
> -        FEATURE_CHECK_LDFLAGS-disassembler-init-styled += -liberty -lz -ldl
> -      endif
> +    endif
> +    ifeq ($(feature-libbfd-liberty-z),1)
> +      EXTLIBS += -lbfd -lopcodes -liberty -lz
> +      FEATURE_CHECK_LDFLAGS-disassembler-four-args += -liberty -lz -ldl
> +      FEATURE_CHECK_LDFLAGS-disassembler-init-styled += -liberty -lz -ldl
> +    endif
> +    ifeq ($(feature-libbfd-liberty-z-zstd-sframe),1)
> +      EXTLIBS += -lbfd -lopcodes -liberty -lz -lzstd -lsframe
> +      FEATURE_CHECK_LDFLAGS-disassembler-four-args += \
> +	      -liberty -lz -lzstd -lsframe -ldl
> +      FEATURE_CHECK_LDFLAGS-disassembler-init-styled += \
> +	      -liberty -lz -lzstd -lsframe -ldl
>      endif
>      $(call feature_check,disassembler-four-args)
>      $(call feature_check,disassembler-init-styled)
> -- 
> 2.51.0
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-03 20:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-05 18:38 [PATCH] tools perf build: Support BUILD_NONDISTRO on OpenSUSE Tumbleweed Andi Kleen
2025-09-22 15:25 ` Andi Kleen
2025-10-03 20:32 ` Andi Kleen

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 NNTP newsgroup(s).