Message193313
When building with --enable-shared in an environment that already has a python2.7 (and I'd expect the same to happen to 3.x), make profile-opt fails because it attempts to load the existing libpython instead of the just-built one.
run_profile_task should use RUNSHARED. In fact, it builds fine if $(RUNSHARED) is added to that line.
Patch inline below, for 2.7.5:
--- Makefile.pre.in.bk 2013-07-18 17:46:28.671773378 +0000
+++ Makefile.pre.in 2013-07-18 17:46:47.759806100 +0000
@@ -420,7 +420,7 @@
run_profile_task:
: # FIXME: can't run for a cross build
- ./$(BUILDPYTHON) $(PROFILE_TASK)
+ $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK)
build_all_use_profile:
$(MAKE) all CFLAGS="$(CFLAGS) -fprofile-use" |
|
Date |
User |
Action |
Args |
2013-07-18 17:47:37 | Claudio.Freire | set | recipients:
+ Claudio.Freire |
2013-07-18 17:47:37 | Claudio.Freire | set | messageid: <1374169657.94.0.400718605789.issue18493@psf.upfronthosting.co.za> |
2013-07-18 17:47:37 | Claudio.Freire | link | issue18493 messages |
2013-07-18 17:47:37 | Claudio.Freire | create | |
|