php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61262 PowerPC build fails
Submitted: 2012-03-03 10:27 UTC Modified: 2017-10-24 08:24 UTC
Votes:5
Avg. Score:3.6 ± 1.5
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: remi@php.net Assigned:
Status: Suspended Package: xhprof (PECL)
PHP Version: 5.4.0 OS: GNU/Linux (RHEL-6)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
34 - 27 = ?
Subscribe to this entry?

 
 [2012-03-03 10:27 UTC] remi@php.net
Description:
------------
Cannot build for PowerPC architecture.

+ make -j4
/bin/sh /builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/libtool --mode=compile cc  -I. -I/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/include -I/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/main -I/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc   -c /builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c -o xhprof.lo 
libtool: compile:  cc -I. -I/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/include -I/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/main -I/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc -c /builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c  -fPIC -DPIC -o .libs/xhprof.o
In file included from /usr/include/php/main/php.h:33,
                 from /builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c:27:
/usr/include/php/main/php_config.h:2390:1: warning: "_GNU_SOURCE" redefined
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c:24:1: warning: this is the location of the previous definition
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c:237: warning: 'visibility' attribute ignored
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c:241: warning: 'visibility' attribute ignored
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c: In function 'hp_init_profiler_state':
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c:651: warning: implicit declaration of function 'restore_cpu_affinity'
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c:655: warning: implicit declaration of function 'bind_to_cpu'
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c: In function 'hp_get_entry_name':
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c:754: warning: unused variable 'len'
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c: In function 'hp_get_function_name':
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c:940: warning: unused variable 'desc'
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c:939: warning: unused variable 'desc_len'
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c: In function 'hp_mode_shared_endfn_cb':
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c:1540: warning: unused variable 'rdtsc_value'
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c:1540: warning: unused variable 'gtod_value'
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c: In function 'hp_stop':
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c:1817: warning: unused variable 'out_url'
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c:1816: warning: unused variable 'ret'
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c: In function 'hp_mode_hier_beginfn_cb':
/builddir/build/BUILD/php-pecl-xhprof-0.9.2/xhprof-0.9.2/extension/xhprof.c:1206: error: impossible register constraint in 'asm'


Searching on the web, I found
http://www.mcs.anl.gov/~kazutomo/rdtsc.html

This probably should be tested (I will try, if I can get a PPC builder access)



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-11 14:13 UTC] felipe@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: kannan
 [2012-06-12 17:58 UTC] sixd@php.net
-Assigned To: kannan +Assigned To: scottmac
 [2017-06-26 23:32 UTC] jc at unternet dot net
my patch at https://bugs.php.net/bug.php?id=69744 will also fix this. I can give you (scottmac) access to the VPS provided to me by OSU if you send me your public key.
 [2017-10-24 06:11 UTC] kalle@php.net
-Status: Assigned +Status: Open -Assigned To: scottmac +Assigned To:
 [2017-10-24 08:24 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 08:24 UTC] kalle@php.net
This package has not had a release for over 4 years, and the last bit of git activity was over 2 years ago, so I think its safe to say this extension is no longer in active development. If development picks back up, then please re-open this report
 [2017-10-24 16:53 UTC] jc at unternet dot net
duplicate of 69744, actually vice versa, one of them should be closed for that reason alone.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 22:01:30 2024 UTC