[pypy-commit] pypy vmprof-native: do not link to libunwind, it is now dynamically loaded

plan_rich pypy.commits at gmail.com
Thu Mar 16 11:37:03 EDT 2017


Author: Richard Plangger <planrichi at gmail.com>
Branch: vmprof-native
Changeset: r90726:92ab51dfa540
Date: 2017-03-16 16:36 +0100
http://bitbucket.org/pypy/pypy/changeset/92ab51dfa540/

Log:	do not link to libunwind, it is now dynamically loaded

diff --git a/rpython/rlib/rvmprof/cintf.py b/rpython/rlib/rvmprof/cintf.py
--- a/rpython/rlib/rvmprof/cintf.py
+++ b/rpython/rlib/rvmprof/cintf.py
@@ -17,7 +17,7 @@
 SHARED = SRC.join('shared')
 BACKTRACE = SHARED.join('libbacktrace')
 
-compile_extra = ['-DRPYTHON_VMPROF', '-g', '-O1']
+compile_extra = ['-DRPYTHON_VMPROF', '-O3']
 if sys.platform.startswith('linux'):
     separate_module_files = [
        BACKTRACE.join('backtrace.c'),
@@ -30,7 +30,7 @@
        BACKTRACE.join('posix.c'),
        BACKTRACE.join('sort.c'),
     ]
-    _libs = ['dl', 'unwind']
+    _libs = ['dl']
     compile_extra += ['-DVMPROF_UNIX']
     compile_extra += ['-DVMPROF_LINUX']
 elif sys.platform == 'darwin':


More information about the pypy-commit mailing list