FreeBSD Port: eaccelerator-0.9.2a
Patrick Gibson
patrick at patrickg.com
Wed Apr 6 09:23:09 PDT 2005
Hi there,
eaccelerator-0.92a causes httpd processes to segfault after every
request. Although it does not affect serving the pages, it does cause
for extra overhead for Apache to respawn new processes, and adds a lot
of clutter to the logs.
This happens because the fix by the eaccelerator team is only applied
if GCC is 2.96+. FreeBSD 4.x uses 2.95, though their fix works fine if
you tell it to use it. I applied the attached patch file into my
eaccelerator port and have been using it successfully for over a month
now. And it looks like it's working fine for someone else now, too:
<https://sourceforge.net/forum/message.php?msg_id=3085750>
Patrick
---
patrick gibson
http://patrickgibson.com/
-------------- next part --------------
--- eaccelerator.h Mon Dec 27 15:15:15 2004
+++ eaccelerator.h-new Sun Mar 20 10:07:10 2005
@@ -37,7 +37,7 @@
#include "zend_extensions.h"
/* Handle __attribute__ for nongcc compilers */
-#if (__GNUC__ >= 3) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 96))
+#if (__GNUC__ >= 3) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95))
# define HAS_ATTRIBUTE
#else
# define __attribute__(x)
More information about the freebsd-ports
mailing list