php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55019 undefined symbol: grapheme_extract_count_iter in Unknown on line 0
Submitted: 2011-06-09 20:50 UTC Modified: 2011-08-07 15:13 UTC
Votes:7
Avg. Score:4.7 ± 0.7
Reproduced:7 of 7 (100.0%)
Same Version:3 (42.9%)
Same OS:6 (85.7%)
From: crrodriguez at opensuse dot org Assigned: stas (profile)
Status: Closed Package: *Unicode Issues
PHP Version: 5.3SVN-2011-06-09 (SVN) OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: crrodriguez at opensuse dot org
New email:
PHP Version: OS:

 

 [2011-06-09 20:50 UTC] crrodriguez at opensuse dot org
Description:
------------
Somehow the compiler optimizes away grapheme_extract_* functions, causing 
undefined symbols at loading time. The attached patch fixes the problem by making 
the functions static inline instead.

Test script:
---------------
php -v


Expected result:
----------------
No errors

Actual result:
--------------
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php5/extensions/intl.so' - /usr/lib/php5/extensions/intl.so:
undefined symbol: grapheme_extract_count_iter in Unknown on line 0


Patches

intl-fixes (last revision 2011-06-09 18:50 UTC by crrodriguez at opensuse dot org)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-06-10 01:28 UTC] felipe@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: stas
 [2011-08-07 15:09 UTC] gwynne@php.net
Automatic comment from SVN on behalf of gwynne
Revision: http://svn.php.net/viewvc/?view=revision&revision=314432
Log: fix for bug #55019
 [2011-08-07 15:12 UTC] gwynne@php.net
Automatic comment from SVN on behalf of gwynne
Revision: http://svn.php.net/viewvc/?view=revision&revision=314433
Log: Fixes build issues with ext/intl. This appears to be related to bug #55019, but since the functions in question are used elsewhere, the solution is to de-inline rather than to make them static inline.
 [2011-08-07 15:13 UTC] gwynne@php.net
-Status: Assigned +Status: Closed
 [2011-08-07 15:13 UTC] gwynne@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2011-08-07 17:14 UTC] gwynne@php.net
Automatic comment from SVN on behalf of gwynne
Revision: http://svn.php.net/viewvc/?view=revision&revision=314440
Log: Back- and front-port fixes for #55019
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC