diff mbox series

[bug#71897,v7,9/9] gnu: telegram-desktop: Disable jemalloc.

Message ID 185fc21ea297d89df26282d06e39aa2b0cf8664a.1726918430.git.i@dan.games
State New
Headers show
Series [bug#71897,v7,1/9] gnu: xdg-desktop-portal: Update to 1.18.4. | expand

Commit Message

dan Sept. 21, 2024, 11:34 a.m. UTC
* gnu/packages/telegram.scm: Disable jemalloc.

Change-Id: Ia89ca0fef6ddaa9f6eb32637471110a0cec7ec54
---
 gnu/packages/telegram.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Comments

Liliana Marie Prikler Sept. 21, 2024, 2:15 p.m. UTC | #1
Am Samstag, dem 21.09.2024 um 19:34 +0800 schrieb dan:
> * gnu/packages/telegram.scm: Disable jemalloc.
> 
> Change-Id: Ia89ca0fef6ddaa9f6eb32637471110a0cec7ec54
> ---
>  gnu/packages/telegram.scm | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
> index 91e743aff3..327fd0d2b3 100644
> --- a/gnu/packages/telegram.scm
> +++ b/gnu/packages/telegram.scm
> @@ -46,7 +46,6 @@ (define-module (gnu packages telegram)
>    #:use-module (gnu packages gtk)
>    #:use-module (gnu packages hunspell)
>    #:use-module (gnu packages image)
> -  #:use-module (gnu packages jemalloc)
>    #:use-module (gnu packages kde-frameworks)
>    #:use-module (gnu packages language)
>    #:use-module (gnu packages libevent)
> @@ -475,7 +474,10 @@ (define-public telegram-desktop
>                "-DTDESKTOP_DISABLE_LEGACY_TGVOIP=ON"
>                "-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON"
>                "-DDESKTOP_APP_DISABLE_AUTOUPDATE=ON"
> -              "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=ON")
> +              "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=ON"
> +              ;; enabling jemalloc causes SIGSEGV.  this probably
> happened
> +              ;; after upgrading to glibc 2.39.
> +              "-DDESKTOP_APP_DISABLE_JEMALLOC=ON")
Since this is required for build, it should be squashed into the
previous commit.
diff mbox series

Patch

diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 91e743aff3..327fd0d2b3 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -46,7 +46,6 @@  (define-module (gnu packages telegram)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages hunspell)
   #:use-module (gnu packages image)
-  #:use-module (gnu packages jemalloc)
   #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages language)
   #:use-module (gnu packages libevent)
@@ -475,7 +474,10 @@  (define-public telegram-desktop
               "-DTDESKTOP_DISABLE_LEGACY_TGVOIP=ON"
               "-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON"
               "-DDESKTOP_APP_DISABLE_AUTOUPDATE=ON"
-              "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=ON")
+              "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=ON"
+              ;; enabling jemalloc causes SIGSEGV.  this probably happened
+              ;; after upgrading to glibc 2.39.
+              "-DDESKTOP_APP_DISABLE_JEMALLOC=ON")
            #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'unpack-additional-sources
@@ -547,7 +549,6 @@  (define-public telegram-desktop
            gtk+
            hime
            hunspell
-           jemalloc
            kcoreaddons-5
            kimageformats-5
            libdispatch