- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Could not start process for tst
32bit applications seems to work.
How can I debug 64bit applications?
Many Thanks!
Bye,
Christian
Link Copied
9 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using idb? How does it announce itself when you start idb?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
$ 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
$
(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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page