Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44441 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 141 invoked from network); 23 Jun 2009 18:42:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jun 2009 18:42:34 -0000 Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 209.85.200.173 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 209.85.200.173 wf-out-1314.google.com Received: from [209.85.200.173] ([209.85.200.173:56250] helo=wf-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D1/65-36467-812214A4 for ; Tue, 23 Jun 2009 14:42:34 -0400 Received: by wf-out-1314.google.com with SMTP id 28so69779wfc.26 for ; Tue, 23 Jun 2009 11:42:30 -0700 (PDT) Received: by 10.143.44.17 with SMTP id w17mr91205wfj.255.1245782550476; Tue, 23 Jun 2009 11:42:30 -0700 (PDT) Received: from monster.local ([76.84.30.125]) by mx.google.com with ESMTPS id 28sm605320wfd.4.2009.06.23.11.42.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Jun 2009 11:42:29 -0700 (PDT) Message-ID: <4A412212.50505@chiaraquartet.net> Date: Tue, 23 Jun 2009 13:42:26 -0500 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: jvlad CC: internals@lists.php.net References: <688E0CB7-742C-4861-B636-0C89DC4D8B9A@pooteeweet.org> <06.D1.20019.45C1F3A4@pb1.pair.com> <7f3ed2c30906220017j6fcea76do2190af3f3ff2d763@mail.gmail.com> <38.7A.20019.C9D6F3A4@pb1.pair.com> <7f3ed2c30906220445m469c0faxc6e28b242dffb086@mail.gmail.com> <37.A4.20019.D4E9F3A4@pb1.pair.com> <2dedb8a0906222337u3fca7762w8f91cb4d18cef1c4@mail.gmail.com> <8D.68.36467.160F04A4@pb1.pair.com> In-Reply-To: <8D.68.36467.160F04A4@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: 5.3.0 stable release From: greg@chiaraquartet.net (Greg Beaver) jvlad wrote: >>>> Generating phar.php >>>> *** Error code 138 >>>> make: Fatal error: Command failed for target `ext/phar/phar.php' >>>> >>> next run of "make install" produces: >>> >>> $ make install >>> Generating phar.phar >>> make: *** [ext/phar/phar.phar] Bus Error (core dumped) >> System information, compiler, and trace would be a plus here, cc'd Greg > > Please check all the info here: > http://marc.info/?l=php-internals&m=124524798321210&w=2 > here: http://marc.info/?l=php-internals&m=124524798321212&w=2 > and here: http://marc.info/?l=php-internals&m=124524798321213&w=2 Hi, I just ran a make install of PHP 5.3 on Solaris 32-bit: cellog@t2000-010131:~/php5$ gcc -v Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.11/3.4.3/specs Configured with: /gates/sfwnv/builds/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77,objc --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-20050802) cellog@t2000-010131:~/php5$ uname -a SunOS t2000-010131 5.11 snv_101 sun4v sparc SUNW,Sun-Fire-T200 Solaris I was unable to reproduce the bus error, or any other problems. My best guess is that you have a problem related to libxml (I see you are using a custom one), as that is the only substantive difference between the default and your configure line. gcc 3.4.2 could also be the issue, perhaps 3.4.3 fixes the problem. In any case, if you can find a simple build with your tools that fails, we can help. I'm sorry I'm unable to help you, bus error is a serious issue, but it's probably impossible to debug without direct access to your machine. You might try using gdb, start it up, and run with: -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror_reporting=1803 -dmemory_limit=-1 -ddetect_unicode=0 install-pear-nozlib.phar -d /export/home/jvlad/testpear -b /export/home/jvlad/testpear/bin that way you can inspect variables when the bus error happens Greg