- Enable profiling
- Add jemalloc-fix-backtracing.patch to fix profiling tests on x86 (the failures were triggered due to profiling support.) OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=22
This commit is contained in:
parent
89ea9b96ee
commit
8771a24478
12
jemalloc-fix-backtracing.patch
Normal file
12
jemalloc-fix-backtracing.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: jemalloc-3.5.1/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- jemalloc-3.5.1.orig/configure.ac
|
||||||
|
+++ jemalloc-3.5.1/configure.ac
|
||||||
|
@@ -779,6 +779,7 @@ fi
|
||||||
|
)
|
||||||
|
if test "x$backtrace_method" = "x" -a "x$enable_prof_gcc" = "x1" \
|
||||||
|
-a "x$GCC" = "xyes" ; then
|
||||||
|
+ JE_CFLAGS_APPEND([-fno-omit-frame-pointer])
|
||||||
|
backtrace_method="gcc intrinsics"
|
||||||
|
AC_DEFINE([JEMALLOC_PROF_GCC], [ ])
|
||||||
|
else
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 31 09:21:34 UTC 2014 - idonmez@suse.com
|
||||||
|
|
||||||
|
- Enable profiling
|
||||||
|
- Add jemalloc-fix-backtracing.patch to fix profiling tests on x86
|
||||||
|
(the failures were triggered due to profiling support.)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 26 17:17:33 UTC 2014 - idonmez@suse.com
|
Wed Feb 26 17:17:33 UTC 2014 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -27,6 +27,8 @@ Url: http://canonware.com/jemalloc/
|
|||||||
|
|
||||||
#Git-Clone: git://canonware.com/jemalloc
|
#Git-Clone: git://canonware.com/jemalloc
|
||||||
Source: http://www.canonware.com/download/jemalloc/jemalloc-%{version}.tar.bz2
|
Source: http://www.canonware.com/download/jemalloc/jemalloc-%{version}.tar.bz2
|
||||||
|
Patch1: jemalloc-fix-backtracing.patch
|
||||||
|
BuildRequires: autoconf
|
||||||
BuildRequires: docbook-xsl-stylesheets
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
Requires: %lname = %{version}
|
Requires: %lname = %{version}
|
||||||
@ -64,10 +66,13 @@ malloc(3) implementation.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export EXTRA_CFLAGS="%{optflags} -std=gnu99"
|
export EXTRA_CFLAGS="%{optflags} -std=gnu99"
|
||||||
%configure --enable-cc-silence
|
autoconf
|
||||||
|
%configure --enable-cc-silence \
|
||||||
|
--enable-prof
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user