Bug 197128 - [mips] lang/php5 has no local asm code for mips
Summary: [mips] lang/php5 has no local asm code for mips
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: mips Any
: --- Affects Some People
Assignee: Alex Dupre
URL: http://dirty.ysv.freebsd.org/data/11m...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-27 17:16 UTC by Sean Bruno
Modified: 2015-05-02 19:10 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (ale)


Attachments
Disable the FPM option for mips/mips64 (1.39 KB, patch)
2015-04-12 19:47 UTC, Sean Bruno
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Bruno freebsd_committer 2015-01-27 17:16:33 UTC
lang/php5 should be restricted to broken on mips due to the lack of mips ASM for now.


/bin/sh /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/libtool --silent --preserve-dup-deps --mode=compile /nxb-bin/usr/bin/cc -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm -Isapi/fpm/ -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/ -DPHP_ATOM_INC -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/include -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/main -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37 -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/ext/date/lib -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/include -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/TSRM -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/Zend  -D_XPG_IV  -O -pipe -G0 -fno-strict-aliasing -fvisibility=hidden  -c /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm.c -o sapi/fpm/fpm/fpm.lo
In file included from /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm_scoreboard.h:15,
                 from /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm.c:21:
/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm_atomic.h:142:2: error: #error Unsupported processor. Please open a bug report (bugs.php.net).
In file included from /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm_scoreboard.h:15,
                 from /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm.c:21:
/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm_atomic.h:146: error: expected ')' before '*' token
In file included from /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm.c:21:
/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm_scoreboard.h:22: error: expected specifier-qualifier-list before 'atomic_t'
/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm_scoreboard.h:51: error: expected specifier-qualifier-list before 'atomic_t'
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/lang/php5/work/php-5.4.37
*** Error code 1
Comment 1 Bugzilla Automation freebsd_committer 2015-01-27 17:16:33 UTC
Auto-assigned to maintainer ale@FreeBSD.org
Comment 3 Alex Dupre freebsd_committer 2015-01-28 08:40:05 UTC
I think it could be built without FPM. Can you verify and make a patch?
Comment 4 Sean Bruno freebsd_committer 2015-04-12 19:47:25 UTC
Created attachment 155523 [details]
Disable the FPM option for mips/mips64
Comment 6 commit-hook freebsd_committer 2015-05-02 19:09:41 UTC
A commit references this bug:

Author: sbruno
Date: Sat May  2 19:08:45 UTC 2015
New revision: 385208
URL: https://svnweb.freebsd.org/changeset/ports/385208

Log:
  Disable FPM on mips/mips64 due to lack of ASM implementations for these
  architectures.

  PR:	197128

Changes:
  head/lang/php5/Makefile
  head/lang/php55/Makefile
  head/lang/php56/Makefile