ID: 27796 Updated by: [EMAIL PROTECTED] Reported By: wjtregaskis at students dot latrobe dot edu dot au Status: Open -Bug Type: Unknown/Other Function +Bug Type: Documentation problem Operating System: MacOS 10.3.3 PHP Version: 4.3.4 New Comment:
So it's something for the docs. Previous Comments: ------------------------------------------------------------------------ [2004-03-31 07:21:38] wjtregaskis at students dot latrobe dot edu dot au P.S. XCode is Apple's universal GUI IDE. Zerolink is (so far as I've seen) too difficult to allow for in a normal makefile, so non-XCode projects are exempt from this problem. ------------------------------------------------------------------------ [2004-03-31 07:20:08] wjtregaskis at students dot latrobe dot edu dot au Just to clarify, Zerolink is Apple's system for linking object files within an executable at runtime. It's on by default in XCode. The premise is that for large apps you can run them immediately after compilation, linking on-the-fly only the [small, ideally] fraction of them needed. The side-effect of this is that these apps have to be launched in some sort of special environment to facilitate this runtime linking, so you can't execute them normally. I guess it would be possible to execute such apps so that they do work [by extending the exec code], but I don't see a need - it's easy enough to just compile with Zerolink off (the "old fashioned way") and it's more the fact that this can catch you out and is terrible to debug that concerns me. ------------------------------------------------------------------------ [2004-03-31 07:11:50] [EMAIL PROTECTED] Please give a short summary of what zero-link is, and why it is broken. ------------------------------------------------------------------------ [2004-03-31 06:27:09] wjtregaskis at students dot latrobe dot edu dot au Description: ------------ This isn't a php bug as such, more a warning to other Mac php hackers - any CLI apps built with Zerolink enabled cannot be launched by any of php's program control commands - they all return the result '6'. The solution of course is to rebuild the apps with Zerolink off. This is worth noting somewhere on the php pages, as it's an incredibly hard bug to track down - it took me 4 hours, and that's with the hunch that Zerolink would be the culprit (given the myriad of other similar problems it causes). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27796&edit=1