Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44182 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98828 invoked from network); 5 Jun 2009 17:00:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2009 17:00:13 -0000 Authentication-Results: pb1.pair.com header.from=ralph@smashlabs.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ralph@smashlabs.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain smashlabs.com from 67.15.58.61 cause and error) X-PHP-List-Original-Sender: ralph@smashlabs.com X-Host-Fingerprint: 67.15.58.61 openrce.org Linux 2.6 Received: from [67.15.58.61] ([67.15.58.61:60214] helo=users.smashlabs.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/F7-09243-31F492A4 for ; Fri, 05 Jun 2009 13:00:10 -0400 Received: (qmail 940 invoked from network); 5 Jun 2009 11:59:59 -0500 Received-SPF: none (no valid SPF record) Received: from cpe-24-28-26-65.austin.res.rr.com (HELO ralph-macbook.local) (24.28.26.65) by smashlabs.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 5 Jun 2009 11:59:58 -0500 Message-ID: <4A294F0F.5080404@smashlabs.com> Date: Fri, 05 Jun 2009 11:59:59 -0500 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: internals Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Compiling 5.3 Snap on OS.X (embed & static/shared compile issue) From: ralph@smashlabs.com (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-install&m=120475189522623&w=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