[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#863424: jemalloc: Please build with -DLG_QUANTUM=4 on sh3



Source: jemalloc
Version: 3.6.0-9.1
Severity: normal
Tags: patch
User: debian-superh@lists.debian.org
Usertags: sh3

Hi!

We're currently in the process of bootstrapping Debian on sh3 which is
an architecture similar to sh4 which is already in Debian Ports. sh3
is an older architecture which is currently being redeveloped as the
open source architecture J-Core, sh3 being the j3 CPU [1].

jemalloc is one of the few packages which still lack support for sh3
in Debian. Since adding support only involves setting the correct
size for LG_QUANTUM, supprt can be trivially added with the attached
patch. I will shortly send a pull request upstream to add the definition
there for sh3 as well.

Thanks for consideration.

Cheers,
Adrian

> [1] http://j-core.org/

--
 .''`.   John Paul Adrian Glaubitz
 : :' :  Debian Developer - glaubitz@debian.org
 `. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
diff -Nru jemalloc-3.6.0/debian/changelog jemalloc-3.6.0/debian/changelog
--- jemalloc-3.6.0/debian/changelog	2017-01-28 18:21:21.000000000 +0100
+++ jemalloc-3.6.0/debian/changelog	2017-05-26 18:23:37.000000000 +0200
@@ -1,3 +1,10 @@
+jemalloc (3.6.0-9.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Build with -DLG_QUANTUM=4 on sh3 (Closes: #nnnnnn)
+
+ -- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>  Fri, 26 May 2017 18:23:37 +0200
+
 jemalloc (3.6.0-9.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru jemalloc-3.6.0/debian/rules jemalloc-3.6.0/debian/rules
--- jemalloc-3.6.0/debian/rules	2017-01-28 18:21:21.000000000 +0100
+++ jemalloc-3.6.0/debian/rules	2017-05-26 18:23:00.000000000 +0200
@@ -6,7 +6,7 @@
 DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
-ifneq (,$(findstring $(DEB_HOST_ARCH),sparc sparc64))
+ifneq (,$(findstring $(DEB_HOST_ARCH),sh3 sparc sparc64))
   DEB_CPPFLAGS_MAINT_APPEND += -DLG_QUANTUM=4
 endif
 

Reply to: