On Thu, 16 Aug 2001, Stas Bekman wrote:
 
> The definitive answer is there for at least 2 years: "If in doubt compile
> statically", which covers Solaris as well. Why having a special case?

because solaris is a special case.  as is any platform where perl defaults
to using its own malloc.  the problem is perl's malloc pollutes the main
httpd program with 'free' and 'malloc' symbols.  when apache restarts
(happens at startup too), any references in the main program to 'free' and
'malloc' now point to la-la land, things go boom.  with 5.6.0+ this
pollution can be prevented with -Ubincompat5005.  or -Uusemymalloc for any
version of perl, but there's a chance that might hurt performance
depending on platform, so -Ubincompat5005 is likely a better choice.
the modperl Makefile.PL has warned about this problem for ages, but i
think the warning is often missed/ignored.


Reply via email to