site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=J7xQEatCTOUcdEK6b6ffiiPIUTz5Po0VFOQOfzwQBmVwfWTTI16UYPuQsnaTrOYa+DQtB/0/TCJd9XeZk1UqwFVmBzo11mEGAz+j9pAr2xrLARrRgJzT/isuiJV0lOqGWamtYIVu8qQix952rJCfXHP6aMdAWPuo/kmED46MZ+c= Dear All, I've come across a bug in dyld, when a C++ program is linked with the -s option. The error message is: dyld: lazy symbol binding failed: lazy pointer not found dyld: lazy pointer not found Trace/BPT trap It must be a 'known problem' because have seen several references to it on the internet (see below), but none seem to suggest that there is a fix from Apple in the pipeline. Has anyone got any definitive information on this or should I submit a bug report to Apple? Peter More info: An example, minimal program: // example.cc struct Object { virtual void func(void) {} virtual ~Object() {}; }; int main() { Object o; return 0; } // End Steps to reproduce: 1. compile with g++ -s example.cc -o example 2. run with ./example 3. Error message appears It does not appear: 1. If you omit the -s option 2. If you use -Wl,-x instead of -s 3. If you omit the -s option and subsequently use strip(1) My system: Mac OS X 10.4.7 iMac 1.83GHz Intel Core Due gcc version 4.0.1 (Apple Computer, Inc. build 5363) References: http://lists.apple.com/archives/Streaming-server-dev/2006/Feb/msg00010.html http://www.cocoabuilder.com/archive/message/xcode/2005/11/21/1344http://foru... http://phorum5.greennet.org.uk/read.php?22,1296,1307 http://www.andre-simon.de/dokuwiki/doku.php?id=en:installation_macos etc etc _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com