[Debichem-devel] Bug#531419: mpicc segfaults when called by fakeroot

Clint Adams schizo at debian.org
Mon Jun 8 14:20:00 UTC 2009


On Mon, Jun 08, 2009 at 06:13:56AM -0400, Jeff Squyres (jsquyres) wrote:
> Is there a run-time way to tell if we're running under fakeroot?  We can certainly just disable the malloc init hook if it detects that its under fakeroot. 

You can use an undocumented API feature to detect/disable fakeroot
temporarily (see the bottom of this message:

http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=15;att=0;bug=224030

) or you can look for environmental variables being set.

Fixing the root cause is probably preferable, though I don't have
much time to look at it myself.





More information about the Debichem-devel mailing list