Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Jay_E_
Beginner
114 Views

mcpcom generated command line too large for mcpcom

Hi,

while examining various Intel optimizations, I ran:

icc -march=native -E -v - </dev/null 2>&1 | grep mcpcom

The output was:

/opt/intel/compilers_and_libraries_2017.0.098/linux/bin/intel64/mcpcom    --target_efi2 -_g -mP3OPT_inline_alloca -D__ICC=1700 -D__INTEL_COMPILER=1700 -D__INTEL_COMPILER_UPDATE=0 -D__PTRDIFF_TYPE__=long "-D__SIZE_TYPE__=unsigned long" -D__WCHAR_TYPE__=int "-D__WINT_TYPE__=unsigned int" "-D__INTMAX_TYPE__=long int" "-D__UINTMAX_TYPE__=long unsigned int" -D__LONG_MAX__=9223372036854775807L -D__QMSPP_ -D__OPTIMIZE__ -D__NO_MATH_INLINES<!--break--> -D__NO_STRING_INLINES -D__GNUC_GNU_INLINE__ -D__GNUC__=4 -D__GNUC_MINOR__=9 -D__GNUC_PATCHLEVEL__=0 -D__LP64__ -D_LP64 -D__GXX_ABI_VERSION=1002 "-D__USER_LABEL_PREFIX__= " -D__REGISTER_PREFIX__= -D__INTEL_RTTI__ -D__unix__ -D__unix -D__linux__ -D__linux -D__gnu_linux__ -B -Dunix -Dlinux "-_Asystem(unix)" -D__ELF__ -D__x86_64 -D__x86_64__ -D__amd64 -D__amd64__ "-_Acpu(x86_64)" "-_Amachine(x86_64)" -D__INTEL_COMPILER:_BUILD_DATE=20160721 -D__INTEL_OFFLOAD -D__pentium4 -D__pentium4__ -D__tune_pentium4__ -D__SSE2__ -D__SSE2_MATH__ -D__SSE3__ -D__SSSE3__ -D__SSE4_1__ -D__SSE4_2__ -D__SSE__ -D__SSE_MATH__ -D__MMX__ -D__AVX__ -D__AVX_I__ -D__AVX2__ -D__FMA__ -_k -_8 -_l --has_new_stdarg_support -_a -_b -E --gnu_version=40900 -_W5 --gcc-extern-inline --multibyte_chars -mGLOB_diag_suppress_sys --array_section --simd --simd_func --offload_mode=1 --offload_target_names=gfx,GFX,mic,MIC --offload_unique_string=icc0055607795stbXXx -mP1OPT_print_version=FALSE -mGLOB_em64t=TRUE -mP1OPT_version=17.0-intel64 -mGLOB_long_size_64 -mGLOB_routine_pointer_size_64 -

However, if I try and actually *use* that, this is the result (with an "hello.c -o hello" appended to it):

Command-line error: too many arguments on command line

`wc -w` lets me know we've got 93 words. I receive the same error with Intel Compiler 17.0 and Intel 16.0 on mac OS 10.12.1 <!--break-->and OS X 10.11.6 (though mac OS + Intel 16 has 98 command-line words).

 

Jay.

 

 

0 Kudos
1 Reply
Yuan_C_Intel
Employee
114 Views

Hi, Jay

I cannot reproduce this on Linux. Command and output is as following:

$ /opt/intel/compilers_and_libraries_2017.1.132/linux/bin/intel64/mcpcom    --target_efi2 --lang=c -_g -mP3OPT_inline_alloca -D__ICC=1700 -D__INTEL_COMPILER=1700 -D__INTEL_COMPILER_UPDATE=1 -D__PTRDIFF_TYPE__=long "-D__SIZE_TYPE__=unsigned long" -D__WCHAR_TYPE__=int "-D__WINT_TYPE__=unsigned int" "-D__INTMAX_TYPE__=long int" "-D__UINTMAX_TYPE__=long unsigned int" -D__LONG_MAX__=9223372036854775807L -D__QMSPP_ -D__OPTIMIZE__ -D__NO_MATH_INLINES -D__NO_STRING_INLINES -D__GNUC_GNU_INLINE__ -D__GNUC__=4 -D__GNUC_MINOR__=4 -D__GNUC_PATCHLEVEL__=6 -D__LP64__ -D_LP64 -D__GXX_ABI_VERSION=1002 "-D__USER_LABEL_PREFIX__= " -D__REGISTER_PREFIX__= -D__INTEL_RTTI__ -D__unix__ -D__unix -D__linux__ -D__linux -D__gnu_linux__ -B -Dunix -Dlinux "-_Asystem(unix)" -D__ELF__ -D__x86_64 -D__x86_64__ -D__amd64 -D__amd64__ "-_Acpu(x86_64)" "-_Amachine(x86_64)" -D__INTEL_COMPILER_BUILD_DATE=20161005 -D__INTEL_OFFLOAD -D__pentium4 -D__pentium4__ -D__tune_pentium4__ -D__SSE2__ -D__SSE2_MATH__ -D__SSE3__ -D__SSSE3__ -D__SSE4_1__ -D__SSE4_2__ -D__SSE__ -D__SSE_MATH__ -D__MMX__ -D__AVX__ -_k -_8 -_l --has_new_stdarg_support -_a -_b -E --gnu_version=40406 -_W5 --gcc-extern-inline --multibyte_chars -mGLOB_diag_suppress_sys --array_section --simd --simd_func --offload_mode=1 --offload_target_names=gfx,GFX,mic,MIC --offload_unique_string=icc18747964083v0V8B -mP1OPT_print_version=FALSE -mGLOB_em64t=TRUE -mP1OPT_version=17.0-intel64 -mGLOB_long_size_64 -mGLOB_routine_pointer_size_64 hello.c
# 1 "hello.c"


void main()
{

}

Thanks.

Reply