[PHP-DEV] Compiling 5.3 Snap on OS.X (embed static/shared compile issue)

2009-06-05 Thread Ralph Schindler
I attempted to compile the 5.3 snap for the cli and embed sapi (Shared) 
and run into what appears to be an issue with trying to link duplicated 
symbols.


The problem appears to go away if I attempt to compile the embed sapi 
statically.


Other report:

  http://marc.info/?l=php-installm=120475189522623w=2

Similarly described in this bug:

  http://bugs.php.net/bug.php?id=42106

My issue:

  ld: duplicate symbol _spl_ce_SplDoublyLinkedList in 
ext/spl/.libs/spl_dllist.o and ext/spl/.libs/php_spl.o

  collect2: ld returned 1 exit status
  make: *** [libphp5.la] Error 1


Is this an issue? should i file a bug report?

I am using the stock gcc provided with xcode on os.x 10.5, no custom 
CFLAGS.  I imagine the problem goes away when statically compiling b/c I 
see this line where the original error is produced:


copying selected object files to avoid basename conflicts...

Thanks,
Ralph Schindler

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Compiling 5.3 Snap on OS.X (embed static/shared compile issue)

2009-06-05 Thread Paul Biggar
Hi Ralph,

On Fri, Jun 5, 2009 at 5:59 PM, Ralph Schindlerra...@smashlabs.com wrote:
 Similarly described in this bug:

  http://bugs.php.net/bug.php?id=42106

You might also find this relevant: http://bugs.php.net/bug.php?id=44462


Thanks,
Paul


-- 
Paul Biggar
paul.big...@gmail.com

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Compiling 5.3 Snap on OS.X (embed static/shared compile issue)

2009-06-05 Thread Philip Olson

My issue:

 ld: duplicate symbol _spl_ce_SplDoublyLinkedList in ext/spl/.libs/ 
spl_dllist.o and ext/spl/.libs/php_spl.o

 collect2: ld returned 1 exit status
 make: *** [libphp5.la] Error 1


I can confirm the exact same error after ./configure --enable-embed  
but know nothing beyond that.


Regards,
Philip

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php