#49151 [Fbk->Opn]: relocation must bind locally
| From: | tech at uscki dot nl | Date: | Thu, 13 Aug 2009 09:50:36 +0000 |
| Subject: | #49151 [Fbk->Opn]: relocation must bind locally | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-141020@lists.php.net to get a copy of this message | ||
ID: 49151
User updated by: tech at uscki dot nl
Reported By: tech at uscki dot nl
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: Sun Solaris 5.10 (i386)
PHP Version: 5.3.0
Assigned To: nlopess
New Comment:
Hi, the suggestion of making date_ce_date static seems to help! But I'm
not quite there yet :( , date_globals gives a similar error:
ld: fatal: relocation error: R_386_GOTOFF: file
ext/date/.libs/php_date.o: symbol date_globals: relocation must bind
locally
I'm not quite able to find its definition to make that one static as
well (due to my lousy C-skills ... ;) ). Any ideas where to do this?
Previous Comments:
------------------------------------------------------------------------
[2009-08-10 22:51:29] nlopess@php.net
If adding static doesn't help, we can disable the visibility thing on
solaris. (due to the apparently broken compiler/assembler).
------------------------------------------------------------------------
[2009-08-05 14:48:12] jani@php.net
Would this help:
ext/date/php_date.c:511
-zend_class_entry *date_ce_date, *date_ce_timezone, *date_ce_interval,
*date_ce_period;
+static zend_class_entry *date_ce_date, *date_ce_timezone,
*date_ce_interval, *date_ce_period;
(add static there :)
------------------------------------------------------------------------
[2009-08-05 14:39:14] jani@php.net
Assigned to Nuno who's patch broke this.
------------------------------------------------------------------------
[2009-08-05 08:26:45] tech at uscki dot nl
Not sure what you mean exactly with that post, but the LDFLAGS are set
before compilation to the following:
export LDFLAGS="$LDFLAGS -L/phil/sw/sunos/i386/lib"
export LDFLAGS="$LDFLAGS -R/phil/sw/sunos/i386/lib"
This all worked fine with php 5.2.9 . Anyway thanks for the help so
far! I will be out for about a week, so I will look at it again by that
time (hopefully with fresh new insight! ;) )
Kind regards,
Coert
------------------------------------------------------------------------
[2009-08-04 19:15:30] jani@php.net
http://www.opensolaris.org/jive/thread.jspa?
threadID=35812&tstart=0#145783
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/49151
--
Edit this bug report at http://bugs.php.net/?id=49151&edit=1