Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

IFX compiler crash on my code

dajum81
New Contributor I
1,196 Views

I'm trying my code in the IFX compiler.  Compiling one of the DLLs resulted in the following when it got to the linking stage, the first message appearing a bunch of times:


Global is external, but doesn't have external or weak linkage!
LLVM ERROR: Broken module found, compilation aborted!
PLEASE submit a bug report to https://software.intel.com/en-us/support/priority-support and include the crash backtrace.
Stack dump:
0. Program arguments: C:\\PROGRA~2\\Intel\\oneAPI\\compiler\\2024.0\\bin\\..\\bin\\compiler\\lld-link.exe @C:\\Users\\dajohnso\\AppData\\Local\\Temp\\143844arg3
Exception Code: 0xC000001D
#0 0x00007ff6402da7a6 (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0x1a7a6)
#1 0x00007ff642e6a71f (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0x2baa71f)
#2 0x00007ff642e6a974 (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0x2baa974)
#3 0x00007ff6402de170 (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0x1e170)
#4 0x00007ff6402ddf65 (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0x1df65)


#5 0x00007ff642d4101d (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0x2a8101d)
#6 0x00007ff6411dfe02 (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0xf1fe02)
#7 0x00007ff6411df0ba (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0xf1f0ba)
#8 0x00007ff6411decf6 (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0xf1ecf6)
#9 0x00007ff6403b9935 (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0xf9935)
#10 0x00007ff64038295c (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0xc295c)
#11 0x00007ff640354c02 (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0x94c02)
#12 0x00007ff64034d64c (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0x8d64c)
#13 0x00007ff640343886 (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0x83886)
#14 0x00007ff6402c11f5 (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0x11f5)
#15 0x00007ff6402c19f4 (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0x19f4)
#16 0x00007ff642e59ae8 (C:\PROGRA~2\Intel\oneAPI\compiler\2024.0\bin\..\bin\compiler\lld-link.exe+0x2b99ae8)
#17 0x00007ffef7327344 (C:\Windows\System32\KERNEL32.DLL+0x17344)
#18 0x00007ffef8e026b1 (C:\Windows\SYSTEM32\ntdll.dll+0x526b1)
ProcessModulesDll_16 : error PRJ0019: A tool returned an error code

 

My priority support just expired and I'm not sure how long before I can get it restored.  I don't know how to generate the crash backtrace the message asks for, and I didn't find anything about it googling it.  Is there a procedure?  I'll try to get a smaller sample that reproduces this, but that will take me some time.  

using 

Compiling with Intel® Fortran Compiler 2024.0.2 [Intel(R) 64]

 

Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

 

Hoping maybe there is a known issue here.

Thanks,

Dave

0 Kudos
6 Replies
Barbara_P_Intel
Employee
1,117 Views

I'm not familiar with that link error. A reproducer will be VERY helpful.

Do you have this error creating other DLLs?

 

0 Kudos
dajum81
New Contributor I
1,105 Views

Some of our other dlls do build.  But most use this one as a base so it is the most important.  I have built a smaller version of the code that reproduces the error.  I couldn't get it down to a single project easily and still reproduce the error.  But I'd rather not put the code in public forum.  Can we do this offline?

 

Thanks,

Dave

0 Kudos
Barbara_P_Intel
Employee
1,067 Views

@dajum81, your company has Priority Support. I'm working to get you access. Your issues will get more attention using Priority Support.

 

0 Kudos
dajum81
New Contributor I
1,058 Views

@Barbara_P_Intel Thanks,  I'm working from the inside to get access as well, but the wheels turn slowly.

0 Kudos
dajum81
New Contributor I
1,039 Views

@Barbara_P_Intel I now have an account and have submitted a support ticket. Thanks.

Dave

0 Kudos
Barbara_P_Intel
Employee
1,037 Views

Good news!

 

0 Kudos
Reply