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

IDB V8.1-6 EM64T Build 20041117 not debug 64bit programs

cbecker
Beginner
1,642 Views
Hi folks,
I've try to debug 64bit programs generated with the intel fortran compiler for
EM64T, but the debugger says:
Unrecognized binary file format for file /home/teroknor/cbecker/feast/feast/applications/poisson/tst
Could not start process for tst
32bit applications seems to work.
How can I debug 64bit applications?
Many Thanks!
Bye,
Christian
0 Kudos
9 Replies
Steven_L_Intel1
Employee
1,642 Views
Are you using idb? How does it announce itself when you start idb?
0 Kudos
cbecker
Beginner
1,642 Views
Hi Steve,
the intro message is:
Linux Application Debugger for Intel EM64T-based applications, Version 8.1-6, Build 20041117
The debugger program itself is a 64bit binary.
Bye,
Christian
0 Kudos
Steven_L_Intel1
Employee
1,642 Views
I'm not familiar enough with this environment (Linux on EM64T) to help further. If someone else does not offer a suggestion, please report the problem to Intel Premier Support, and include a complete log of your build, showing all commands used and their output.
0 Kudos
mambru37
Beginner
1,642 Views
Same problem here:
$ idb pepe
Linux Application Debugger for Intel EM64T-based applications, Version 8.1-7, Build 20050128
------------------
object file name: deva
Unrecognized binary file format for file /home/becarios/mambru/pepe
Could not start process for pepe
No image loaded ... Recovering ...
(idb) q
$ file pepe
pepe: ELF 64-bit LSB executable, EM64T, version 1 (SYSV), for GNU/Linux 2.6.0, statically linked, not stripped

the binary was compiled using the latest intel fortan em64t compiler with the flags -O0 -g

Message Edited by mambru37 on 03-16-2005 09:48 AM

0 Kudos
heavyprecip
Beginner
1,642 Views
Same here!
Linux Application Debugger for Intel EM64T-based applications, Version 8.1-6, Build 20041117
------------------
object file name: prog2
Unrecognized binary file format ....

Any solutions yet?

Felix
0 Kudos
Intel_C_Intel
Employee
1,642 Views
This is supposed to work (IDB is programmed to sense whether the debuggee is a 32-bit or 64-bit binary and adapt accordingly). I've discussed it with the Intel Debugger engineering team and they'd like to receive a reproducing test case.
Ideally, it should be reported through http://premier.intel.com/, but if that's prohibitive for some reason, then ifsomeone would please post a small source and corresponding makefile, then I'll submit a formal (internal) problem report to get this resolved ASAP.
Thanks,
Gordon Saladino
Technical Consulting Engineer
Debugging, Threading and Clustering Technologies
0 Kudos
cbecker
Beginner
1,642 Views
Hi Folks,

I assume that it happens with every 64bit object file:

file tst.f90

program tst

print *,"Hello Intel"

end program


-----

#/usr/local/ifce/bin/ifort tst.f90 -L/usr/local/gcc/lib64 -o tst

#file tst
tst: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), not stripped

#file /usr/local/idbe/bin/idb-e
/usr/local/idbe/bin/idb-e: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped

#/usr/local/idbe/bin/idb-e tst
Linux Application Debugger for Intel EM64T-based applications, Version 8.1-7, Build 20050128
------------------
object file name: tst
Unrecognized binary file format for file /home/teroknor/cbecker/feast/feast/applications/poisson/tst
Could not start process for tst
No image loaded ... Recovering ...


Bye,
Christian
0 Kudos
Intel_C_Intel
Employee
1,642 Views
I've been able to do this successfully using the latest version of IDB (i.e. IDB 9.0-10):
$ ifort -g -L/usr/local/gcc/lib64 -o tst tst.f90
$ file tst
tst: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), not stripped
$idb tst
Linux Application Debugger for Intel EM64T-based applications, Version 9.0-10, Build 20050413
------------------
object file name: tst
Reading symbolic information from /site/tst...done
(idb) w
1 program tst
2
3 print *,"Hello Intel"
4
5 end program
(idb) r
Hello Intel
Process has exited with status 0
(idb) q
$
This version of IDB is available in the latest Compiler 8.1 Update (as IDB 8.1-10) from Intel Premier Support.
Please let me know if that works better for you.
-- G
0 Kudos
cbecker
Beginner
1,642 Views
Hi folks,

when will this version be available? Wenn I log in to my premier
account, there is still the build version ...-027 with the old
debugger version 8.1-7.

Thanks & Bye,
Christian
0 Kudos
Reply