[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mpicc segfaults when called by fakeroot



On Jun 8, 2009, at 7:20 AM, Clint Adams 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.


Agreed; fixing the root problem is a better bet.

Manuel -- can you ping the fakeroot people? It would be preferable to the method described in that URL.

--
Jeff Squyres
Cisco Systems


Reply to: