[CMake] ifort 9.1 unable to compile a simple test program
Verweij, Arjen
VerweijA at tass-safe.com
Mon Aug 9 12:31:33 EDT 2010
Brad,
I have access to the machine again. I've tried another approach. What do you make of this? I'm sure you know what cmake -E vs_link_exe is supposed to do. :)
The first works, the second does, even with /INCREMENTAL:YES
Regards,
Arjen
ACCORDING TO build.make:
E:\trycompile\CMakeFiles\CMakeTmp>E:\cmake28\bin\cmake.exe -E vs_link_exe E:\PROGRA~1\Intel\Compiler\Fortran\9.1\em64t\bin\ifort.e
xe /nologo CMakeFiles/cmTryCompileExec.dir/testFortranCompiler.f.obj /W1 /nologo /fpp /libs:dll /threads /debug:full /dbglibs /F
ecmTryCompileExec.exe -link /implib:cmTryCompileExec.lib /INCREMENTAL:YES /debug /subsystem:console user32.lib
backend signals
Severe: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in
a Software Problem Report. Note: File and line given may not be explicit cause of this error.
ifort: error: problem during multi-file optimization compilation (code 3)
LINK Pass 1 failed. with 3
STRIPPED -- E:\trycompile\CMakeFiles\CMakeTmp>E:\cmake28\bin\cmake.exe -E vs_link_exe
E:\trycompile\CMakeFiles\CMakeTmp>E:\PROGRA~1\Intel\Compiler\Fortran\9.1\em64t\bin\ifort.exe /nologo CMakeFiles/cmTryCompileExec.d
ir/testFortranCompiler.f.obj /W1 /nologo /fpp /libs:dll /threads /debug:full /dbglibs /FecmTryCompileExec.exe -link /implib:cmTr
yCompileExec.lib /INCREMENTAL:YES /debug /subsystem:console user32.lib
E:\trycompile\CMakeFiles\CMakeTmp>cmTryCompileExec.exe
Hello
>-----Original Message-----
>From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf
>Of Verweij, Arjen
>Sent: maandag 9 augustus 2010 16:15
>To: Brad King
>Cc: cmake at cmake.org
>Subject: Re: [CMake] ifort 9.1 unable to compile a simple test program
>
>Hi,
>
>>Interesting. It works for ifort 11.1. So does
>>
>> ifort /incremental:yes myfile.f
>>
>>ICE for any file with ifort 9.1?
>
>
>Hrm, no not really :|
>
>Not too sure why this is breaking. Is this technically an ICE? I see
>ifort reporting it, but it occurs when linking and both ifort and xilink
>call link of visual studio to link stuff? Maybe I can try other ways of
>linking later on (i.e. the way cmake attempts in the trycompile step),
>access to the machine has been suspended for a bit pending an upgrade.
>
>sq.f:
> function my0(x)
> real x
> my0 = x**2
> WRITE (*, *) my0
> return
> end
>
>main.f:
>
>*
>C Hello World in Fortran 77
>C (lines must be 6 characters indented)
>*
> PROGRAM HELLOW
> real myvar
> WRITE(UNIT=*, FMT=*) 'Hello World'
> myvar = my0(2.)
> END
>
>
>Z:\testbin>ifort /c sq.f
>Intel(R) Fortran Compiler for Intel(R) EM64T-based applications, Version
>9.1 Build 20060324
>Copyright (C) 1985-2006 Intel Corporation. All rights reserved.
>
>
>Z:\testbin>ifort /c main.f
>Intel(R) Fortran Compiler for Intel(R) EM64T-based applications, Version
>9.1 Build 20060324
>Copyright (C) 1985-2006 Intel Corporation. All rights reserved.
>
>
>Z:\testbin>link /incremental:yes main.obj sq.obj
>Microsoft (R) Incremental Linker Version 8.00.50727.762
>Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>Z:\testbin>main.exe
> Hello World
> 4
>
>Regards,
>Arjen
>_______________________________________________
>Powered by www.kitware.com
>
>Visit other Kitware open-source projects at
>http://www.kitware.com/opensource/opensource.html
>
>Please keep messages on-topic and check the CMake FAQ at:
>http://www.cmake.org/Wiki/CMake_FAQ
>
>Follow this link to subscribe/unsubscribe:
>http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list