public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Luca <luca.marrazzo@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: x86_64 2.6.x problem
Date: Fri, 17 Dec 2004 20:59:04 +0100	[thread overview]
Message-ID: <1103313544.10508.6.camel@localhost> (raw)

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 :)




                 reply	other threads:[~2004-12-17 19:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1103313544.10508.6.camel@localhost \
    --to=luca.marrazzo@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox