ipo: warning #11015: Warning unknown option -no_compact_unwind

Reference Number :

Version :

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.


Ata Mesgarnejad's picture

I'm using 11.1.088 but I still get the same error. Is there a way that I could change the default options to pass to linker?!

An Le (Intel)'s picture

This is resolve with the latest 11.1 update. The dmg file name is m_cproc_p_11.1.088.dmg. xilibtool does not support the option -no_compact_unwind. The latest update will not pass this option to xilibtool.

James Griffin's picture

This error code / option affects the ability to build libraries with Xcode. To whit:
Libtool build/Debug/liblib.a normal x86_64
cd /Users/jamesgriffin/Documents/newuni/lib_77/lib
/Developer/usr/local/bin/ifort-11.1-base/bin/intel64/ifort -arch x86_64 -syslibroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/jamesgriffin/Documents/newuni/lib_77/lib/build/Debug -filelist /Users/jamesgriffin/Documents/newuni/lib_77/lib/build/lib.build/Debug/lib.build/Objects-normal/x86_64/lib.LinkFileList -staticlib -o /Users/jamesgriffin/Documents/newuni/lib_77/lib/build/Debug/liblib.a

xilibtool: executing 'libtool'
libtool: unknown option character `n' in: -no_compact_unwind
Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
Command /Developer/usr/local/bin/ifort-11.1-base/bin/intel64/ifort failed with exit code 1

Add a Comment

Have a technical question? Visit our forums. Have site or software product issues? Contact support.