Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26062 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40999 invoked by uid 1010); 15 Oct 2006 13:21:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 40984 invoked from network); 15 Oct 2006 13:21:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Oct 2006 13:21:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=news@sea.gmane.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.2 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.5 (sometimes 2.4) (4) Received: from [80.91.229.2] ([80.91.229.2:53803] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BC/2B-42420-5D532354 for ; Sun, 15 Oct 2006 09:21:26 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GZ5vS-0007iI-0p for internals@lists.php.net; Sun, 15 Oct 2006 15:21:10 +0200 Received: from 115.84-48-233.nextgentel.com ([84.48.233.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Oct 2006 15:21:09 +0200 Received: from sb by 115.84-48-233.nextgentel.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Oct 2006 15:21:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Sun, 15 Oct 2006 15:21:00 +0200 Lines: 15 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 115.84-48-233.nextgentel.com User-Agent: Thunderbird 1.5.0.7 (X11/20060917) In-Reply-To: X-Enigmail-Version: 0.94.1.0 Sender: news Subject: Re: [PHP-DEV] Impact of CFLAGS on GOTO and SWITCH executers From: sb@sebastian-bergmann.de (Sebastian Bergmann) Sebastian Bergmann wrote: > What strikes me as odd are the segmentation faults when PHP is built > with -O0 (no optimizations). Some more information of the segfaults: It looks as if the ackermann test is responsible for the segfaults. I uploaded a backtrace from GDB and a logfile from valgrind to http://static.phpunit.de/gdb-php_5_2-goto-gcc-4.1.1-O0.txt and http://static.phpunit.de/valgrind-php_5_2-goto-gcc-4.1.1-O0.txt, respectively. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69