Patchwork gnu: jemalloc: Update to 4.1.0.

login
register
mail settings
Submitter Jelle Licht
Date May 4, 2016, 10:51 a.m.
Message ID <87inyut7sp.fsf@gmail.com>
Download mbox | patch
Permalink /patch/11999/
State New
Headers show

Comments

Jelle Licht - May 4, 2016, 10:51 a.m.
Date: Sun, 1 May 2016 00:09:41 +0200
User-agent: mu4e 0.9.13; emacs 24.5.1
* gnu/packages/statistics.scm (r-estimability): New variable.
---
 gnu/packages/jemalloc.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Jelle Licht - May 4, 2016, 10:56 a.m.
Hmm, that mail went out a bit too rushed.

I updated jemalloc to a newer version so it supports the sdallocx calls.
I have not yet tested them with the other packages that depend on it
(mariadb, blender)

Regards,
Jelle


2016-05-04 12:51 GMT+02:00 Jelle Licht <jlicht@fsfe.org>:

> Date: Sun, 1 May 2016 00:09:41 +0200
> User-agent: mu4e 0.9.13; emacs 24.5.1
> * gnu/packages/statistics.scm (r-estimability): New variable.
> ---
>  gnu/packages/jemalloc.scm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/jemalloc.scm b/gnu/packages/jemalloc.scm
> index 5b4c2e0..143c80c 100644
> --- a/gnu/packages/jemalloc.scm
> +++ b/gnu/packages/jemalloc.scm
> @@ -27,7 +27,7 @@
>  (define-public jemalloc
>    (package
>      (name "jemalloc")
> -    (version "3.6.0")
> +    (version "4.1.0")
>      (source (origin
>                (method url-fetch)
>                (uri (string-append
> @@ -35,7 +35,7 @@
>                      name "-" version ".tar.bz2"))
>                (sha256
>                 (base32
> -                "1zl4vxxjvhg72bdl53sl0idz9wp18c6yzjdmqcnwm09wvmcj2v71"))))
> +                "13pc6gcs5d6ws63jv83vslrb1vlqdnf1dg43awkb9bbj9xqnvl7s"))))
>      (build-system gnu-build-system)
>      ;; XXX FIXME: Use gcc-4.8 on i686 to work around
>      ;; <http://bugs.gnu.org/20856>.
> --
> 2.7.4
>
Efraim Flashner - May 4, 2016, 6:30 p.m.
On Wed, May 04, 2016 at 12:56:50PM +0200, Jelle Licht wrote:
> Hmm, that mail went out a bit too rushed.
> 
> I updated jemalloc to a newer version so it supports the sdallocx calls.
> I have not yet tested them with the other packages that depend on it
> (mariadb, blender)
> 
> Regards,
> Jelle
> 

I've just finished building mariadb and blender on my machine and they
built fine, will push it as soon as it finishes grafting.
Mark H Weaver - May 12, 2016, 6:41 p.m.
Jelle Licht <jlicht@fsfe.org> writes:

> Hmm, that mail went out a bit too rushed.
>
> I updated jemalloc to a newer version so it supports the sdallocx calls. 
> I have not yet tested them with the other packages that depend on it
> (mariadb, blender)

The new jemalloc consistently fails its test suite on i686.

  http://hydra.gnu.org/build/1186288

Would you be willing to investigate?

     Mark
Jelle Licht - May 17, 2016, 1:41 p.m.
Mark H Weaver <mhw@netris.org> writes:

> Jelle Licht <jlicht@fsfe.org> writes:
>
>> Hmm, that mail went out a bit too rushed.
>>
>> I updated jemalloc to a newer version so it supports the sdallocx calls. 
>> I have not yet tested them with the other packages that depend on it
>> (mariadb, blender)
>
> The new jemalloc consistently fails its test suite on i686.
>
>   http://hydra.gnu.org/build/1186288
>
> Would you be willing to investigate?
>
>      Mark

While patching the test case that seemed to fail, the jemalloc team
already released a new version that incorporates the intended fix as
well. This one does seem to build without problems for me on both i686
and x86_64.

See my other jemalloc patch (4.2.0)

    Jelle

Patch

diff --git a/gnu/packages/jemalloc.scm b/gnu/packages/jemalloc.scm
index 5b4c2e0..143c80c 100644
--- a/gnu/packages/jemalloc.scm
+++ b/gnu/packages/jemalloc.scm
@@ -27,7 +27,7 @@ 
 (define-public jemalloc
   (package
     (name "jemalloc")
-    (version "3.6.0")
+    (version "4.1.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -35,7 +35,7 @@ 
                     name "-" version ".tar.bz2"))
               (sha256
                (base32
-                "1zl4vxxjvhg72bdl53sl0idz9wp18c6yzjdmqcnwm09wvmcj2v71"))))
+                "13pc6gcs5d6ws63jv83vslrb1vlqdnf1dg43awkb9bbj9xqnvl7s"))))
     (build-system gnu-build-system)
     ;; XXX FIXME: Use gcc-4.8 on i686 to work around
     ;; <http://bugs.gnu.org/20856>.