Disable gprofng build for *musl*

Message ID 20240823043847.1490324-1-vladimir.mezentsev@oracle.com
State New
Headers
Series Disable gprofng build for *musl* |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 success Test passed
linaro-tcwg-bot/tcwg_binutils_check--master-arm success Test passed

Commit Message

Vladimir Mezentsev Aug. 23, 2024, 4:38 a.m. UTC
  From: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>

I disable gprofng until gprofng is ported to musl.

gprofng/ChangeLog
2024-08-22  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>.

	* configure.ac: Disable gprofng build for *musl*.
	* configure: Rebuild.
---
 configure    | 2 ++
 configure.ac | 2 ++
 2 files changed, 4 insertions(+)
  

Comments

Sam James Aug. 23, 2024, 5:03 a.m. UTC | #1
vladimir.mezentsev@oracle.com writes:

> From: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
>
> I disable gprofng until gprofng is ported to musl.

It looks good to me, and I've tested it as well, with
one small comment...

>
> gprofng/ChangeLog
> 2024-08-22  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>.
>

Please add a tag for the bug(s).

> 	* configure.ac: Disable gprofng build for *musl*.
> 	* configure: Rebuild.
> ---
>  configure    | 2 ++
>  configure.ac | 2 ++
>  2 files changed, 4 insertions(+)
>
> diff --git a/configure b/configure
> index 7823f2c3784..93d286bb3b7 100755
x> --- a/configure
> +++ b/configure
> @@ -3146,6 +3146,8 @@ fi
>  
>  if test "$enable_gprofng" = "yes"; then
>    case "${target}" in
> +    *-musl*)
> +      ;;
>      x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux* | riscv64-*-linux*)
>      configdirs="$configdirs gprofng"
>      ;;
> diff --git a/configure.ac b/configure.ac
> index a390639bfa9..6fd9e77f20a 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -414,6 +414,8 @@ enable_gprofng=$enableval,
>  enable_gprofng=yes)
>  if test "$enable_gprofng" = "yes"; then
>    case "${target}" in
> +    *-musl*)
> +      ;;
>      x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux* | riscv64-*-linux*)
>      configdirs="$configdirs gprofng"
>      ;;
  
Vladimir Mezentsev Aug. 23, 2024, 8:47 p.m. UTC | #2
On 8/22/24 22:03, Sam James wrote:
> It looks good to me, and I've tested it as well, with
> one small comment...
>
>> gprofng/ChangeLog
>> 2024-08-22  Vladimir Mezentsev<vladimir.mezentsev@oracle.com>.
>>
> Please add a tag for the bug(s).


From: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
Date: Fri, 23 Aug 2024 13:43:18 -0700
Subject: [PATCH] Disable gprofng build for *musl*

I disable gprofng until gprofng is ported to musl.

gprofng/ChangeLog
2024-08-22  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>.

     PR gprofng/30779
     PR gprofng/29593
     PR gprofng/29477
     * configure.ac: Disable gprofng build for *musl*.
     * configure: Rebuild.
---
  configure    | 2 ++
  configure.ac | 2 ++
  2 files changed, 4 insertions(+)

diff --git a/configure b/configure
index 7823f2c3784..93d286bb3b7 100755
--- a/configure
+++ b/configure
@@ -3146,6 +3146,8 @@ fi

  if test "$enable_gprofng" = "yes"; then
    case "${target}" in
+    *-musl*)
+      ;;
      x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux* | riscv64-*-linux*)
      configdirs="$configdirs gprofng"
      ;;
diff --git a/configure.ac b/configure.ac
index a390639bfa9..6fd9e77f20a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -414,6 +414,8 @@ enable_gprofng=$enableval,
  enable_gprofng=yes)
  if test "$enable_gprofng" = "yes"; then
    case "${target}" in
+    *-musl*)
+      ;;
      x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux* | riscv64-*-linux*)
      configdirs="$configdirs gprofng"
      ;;
  

Patch

diff --git a/configure b/configure
index 7823f2c3784..93d286bb3b7 100755
--- a/configure
+++ b/configure
@@ -3146,6 +3146,8 @@  fi
 
 if test "$enable_gprofng" = "yes"; then
   case "${target}" in
+    *-musl*)
+      ;;
     x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux* | riscv64-*-linux*)
     configdirs="$configdirs gprofng"
     ;;
diff --git a/configure.ac b/configure.ac
index a390639bfa9..6fd9e77f20a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -414,6 +414,8 @@  enable_gprofng=$enableval,
 enable_gprofng=yes)
 if test "$enable_gprofng" = "yes"; then
   case "${target}" in
+    *-musl*)
+      ;;
     x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux* | riscv64-*-linux*)
     configdirs="$configdirs gprofng"
     ;;