Date: Wed, 6 Apr 2005 09:22:58 -0700 From: Patrick Gibson <patrick@patrickg.com> To: ale@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: eaccelerator-0.9.2a Message-ID: <30150296671b14d09d7b96274903d805@patrickg.com>
next in thread | raw e-mail | index | archive | help
--Apple-Mail-26--794091306 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed 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/ --Apple-Mail-26--794091306 Content-Transfer-Encoding: 7bit Content-Type: text/plain; x-unix-mode=0644; name="patch-eaccelerator.h" Content-Disposition: attachment; filename=patch-eaccelerator.h --- 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) --Apple-Mail-26--794091306--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30150296671b14d09d7b96274903d805>