ipo: warning #11015: Warning unknown option -no_compact_unwind


Reference Number :
DPD200149444

Version :
11.1.080

Product : 
Intel Compiler for Mac OS* X version 11.1.080


Operating System : 
Mac OS X 10.6.x and Xcode 3.2.x
Problem Description :
Intel Compiler 11.1.080 requires the option -Wl,-no_compact_unwind to be passed to the linker to work around a linker change on Snow Leopard (10.6.x) and Xcode 3.2. This linker option is only supported with the ld available in Xcode 3.2.x.

$ cat report.c
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>

static void report(FILE *fh, const char *prefix, const char *err, va_list params)
{
char msg[4096];
vsnprintf(msg, sizeof(msg), err, params);
fprintf(fh, " %s%s\n", prefix, msg);
}

$ cat compile.sh
#!/bin/bash -x

icc -DNDEBUG -mmacosx-version-min=10.6 -Wall -Wno-unused -restrict -I. -o report.c.o -c report.c

icc -mmacosx-version-min=10.6 -Wl,-no_compact_unwind -Wall -Wno-unused -restrict -dynamiclib -headerpad_max_install_names -o libphd.dylib -install_name libphd.dylib report.c.o
ipo: warning #11015: Warning unknown option -no_compact_unwind



Resolution Status :
Even though the compiler issue a warning for the linker option -no_compact_unwind, this option will get pass to linker, and the warning is harmless.  This warning will be removed in a future update.


[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.