[Debichem-devel] Bug#531419: mpicc segfaults when called by fakeroot
jsquyres at cisco.com
Fri Jun 19 10:52:03 UTC 2009
On Jun 18, 2009, at 10:24 PM, Steve M. Robbins wrote:
>>> I uploaded this change to Debian's openmpi packages yesterday,
>>> patch below.
>>> Jeff: will you commit this upstream?
>>> Fakeroot maintainer: will you set
>>> OMPI_MCA_disable_memory_allocator to 1
>>> in the fakeroot environment?
>> Perhaps it would be better if you had debian/rules check to see if
>> $FAKEROOTKEY is set and then export
>> OMPI_MCA_disable_memory_allocator in that case.
> Perhaps, though I don't see any benefit to this approach rather than
> always setting the variable. Can you elaborate?
1. Doh; I suggested a poorly-named environment variable. For reasons
you don't care about, "OMPI_MCA_memory_ptmalloc2_disable" would be a
better name for us (vs. "OMPI_MCA_disable_memory_allocator"). Sorry
about that! I just committed the check for
2. If you want a more general env variable name, like checking for the
presence of $FAKEROOTKEY (or whatever), let me know and we can also
add a check for that upstream. To be clear, I think I'm going to do
#1 anyway -- it's a nice way for our users to disable this stuff. But
I'm not opposed to having a fakeroot-specific environment variable
check as well.
More information about the Debichem-devel