Bug 177884

Summary: lang/php5: php-5.4.13 broken on arm
Product: Ports & Packages Reporter: Hiren Panchasara <hiren>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Hiren Panchasara freebsd_committer freebsd_triage 2013-04-16 17:00:00 UTC
root@raspberry-pi:/usr/ports/lang/php5 # cat distinfo
SHA256 (php-5.4.13.tar.bz2) = f80c9452f63a6d259d4edd5228be2136da98122ffb79cb1d9d6b7f9026e84f00
SIZE (php-5.4.13.tar.bz2) = 11545777
SHA256 (php-5.4.x-mail-header.patch) = 005ae1cd8ed17c72d7b09dee9c4466e8b16d4ecba7fe11276731ed6ff9fbb344
SIZE (php-5.4.x-mail-header.patch) = 3379
root@raspberry-pi:/usr/ports/lang/php5 # make -DBATCH install
===>  Building for php5-5.4.13
/bin/sh /usr/ports/lang/php5/work/php-5.4.13/libtool --silent --preserve-dup-deps --mode=compile cc  -Iext/standard/ -I/usr/ports/lang
/php5/work/php-5.4.13/ext/standard/ -DPHP_ATOM_INC -I/usr/ports/lang/php5/work/php-5.4.13/include -I/usr/ports/lang/php5/work/php-5.4.
13/main -I/usr/ports/lang/php5/work/php-5.4.13 -I/usr/ports/lang/php5/work/php-5.4.13/ext/date/lib -I/usr/ports/lang/php5/work/php-5.4
.13/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/ports/lang/php5/work/php-5.4.13/TSRM -I/usr/ports/lang/php
5/work/php-5.4.13/Zend    -O -pipe -fvisibility=hidden  -c /usr/ports/lang/php5/work/php-5.4.13/ext/standard/html.c -o ext/standard/ht
ml.lo
{standard input}: Assembler messages:
{standard input}:0: Warning: end of file not at end of a line; newline inserted
{standard input}:492: Error: ARM register expected -- `movhi'
cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** [ext/standard/html.lo] Error code 1
1 error
*** [do-build] Error code 1

Stop in /usr/ports/lang/php5.

-----------------------------------------------------------------------------

I could install older version of php just fine though.

# pkg info | grep php
php52-5.2.17_13                PHP Scripting Language
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-16 20:14:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2013-04-23 09:16:07 UTC
State Changed
From-To: open->feedback

It seems a bug in gcc.
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2013-05-07 14:02:09 UTC
State Changed
From-To: feedback->closed

No feedback, probably a gcc bug.