Using the IDB Debugger under Mac OS* X 10.7 Lion


Reference Number : DPD200178014


Version : IDB for Mac OS* X 10.7 Lion, v12.1 ( Updates 6, 7, 8, and possible future updates)


Product : Composer XE 2011 for Mac OS* X


Operating System : Mac OS* X 10.7


Problem Description : IDB debugger does not load default images produced by IFORT or ICC/ICPC:
"Could not start process for ...
No image loaded ... Recovering ... "



Resolution Status :

Mac OS* X Lion, by default, defaults to building executables with Position Independent Executable (PIE) code.  However, the Intel IDB debugger does not currently (as of Composer XE 2011 Updates 6, 7, 8, and 9) support debugging of PIE executables. 

To work around this, IFORT and ICC/ICPC can be directed to produce non-PIE executables.  The following options are required to produce an executable that IDB can process:

-g -save-temps -fpic -Wl,-no_pie

This affects the Intel Composer XE 2011 compilers running on Mac OS* X 10.7 Lion ONLY.  Users of Mac OS* X 10.6 (Snow Leopard) or 10.5 (Leopard) are not affected and need only the -g -save-temps options for creation of debuggable executables.



[DISCLAIMER: The information on this web site is intended for hardware system manufacturers and software developers. Intel does not warrant the accuracy, completeness or utility of any information on this site. Intel may make changes to the information or the site at any time without notice. Intel makes no commitment to update the information at this site. ALL INFORMATION PROVIDED ON THIS WEBSITE IS PROVIDED "as is" without any express, implied, or statutory warranty of any kind including but not limited to warranties of merchantability, non-infringement of intellectual property, or fitness for any particular purpose. Independent companies manufacture the third-party products that are mentioned on this site. Intel is not responsible for the quality or performance of third-party products and makes no representation or warranty regarding such products. The third-party supplier remains solely responsible for the design, manufacture, sale and functionality of its products. Intel and the Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. *Other names and brands may be claimed as the property of others.]
For more complete information about compiler optimizations, see our Optimization Notice.
Tags: