* x86_64 2.6.x problem
@ 2004-12-17 19:59 Luca
0 siblings, 0 replies; only message in thread
From: Luca @ 2004-12-17 19:59 UTC (permalink / raw)
To: linux-kernel
Hi there,
I have a "private" static binary that works on 32bit system and
on a 2.4.x kernel 64bit system.
With the 2.6.x kernel 64bit it doesn't work.
Here some output:
Processor 3400+ AuthenticAMD
Kernel 2.6.9
gentoo 2004.3
$ file client
client: ELF invalid class invalid byte order (SYSV)
$ ./client
Segmentation fault
on /var/log/messages
client[10543]: segfault at 0000000000000000 rip 000000005dea4119 rsp
00000000ffffd6f0 error 6
$ readelf -a client
ELF Header:
Magic: 7f 45 4c 46 00 00 00 00 00 00 00 00 00 00 00 00
Class: none
Data: none
Version: 0
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: Intel 80386
Version: 0x1
Entry point address: 0x5dea40de
Start of program headers: 52 (bytes into file)
Start of section headers: 0 (bytes into file)
Flags: 0x0
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 1
Size of section headers: 0 (bytes)
Number of section headers: 0
Section header string table index: 0
There are no sections in this file.
There are no section groups in this file.
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg
Align
LOAD 0x000000 0x5dea4000 0x5dea4000 0x075ce 0x1d000 RWE
0x1000
There is no dynamic section in this file.
There are no relocations in this file.
There are no unwind sections in this file.
No version information found in this file.
if you can tell me what do i have to do,
bye
Luca
P.S.
I'm not subscribed to the list so please CC to me :)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-17 19:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-17 19:59 x86_64 2.6.x problem Luca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).