From: "Sergey Kamshilin" <Sergey.Kamshilin@radisys.com>
To: "Daniel Jacobowitz" <drow@false.org>
Cc: <gdb@sourceware.org>
Subject: RE: core files are host dependent
Date: Wed, 08 Jul 2009 20:37:00 -0000 [thread overview]
Message-ID: <343AAB782778D44FB06D24560CAFC0E30283F7C0@OREXCHANGE01.radisys.com> (raw)
In-Reply-To: <20090708180619.GA22590@caradoc.them.org>
Daniel,
Thank you for the note - it seems that traces are the same... After
closer look I found that /lib/ld-2.3.4.so are different on both
machines:
Both of them installed from the same package:
[root@aragorn1 ~]# rpm -qf /lib/ld-2.3.4.so
glibc-2.3.4-2.25
[root@legolas1 ~]# rpm -qf /lib/ld-2.3.4.so
glibc-2.3.4-2.25
I have the same kernel version installed:
[root@legolas1 ~]# uname -a
Linux legolas1.lab.convedia.com 2.6.9-11.EL #1 Fri May 20 18:17:57 EDT
2005 i686 i686 i386 GNU/Linux
[root@aragorn1 ~]# uname -a
Linux aragorn1.lab.convedia.com 2.6.9-11.EL #1 Fri May 20 18:17:57 EDT
2005 i686 i686 i386 GNU/Linux
But!
[root@aragorn1 ~]# rsh legolas1 cat /lib/ld-2.3.4.so | diff -
/lib/ld-2.3.4.so
Binary files - and /lib/ld-2.3.4.so differ
Even if I copy remote ld-2.3.4.so locally and compare, the difference is
scaring - almost in every line...:
[root@aragorn1 ~]# diff <(hexdump -C ld-2.3.4.so) <(hexdump -C
/lib/ld-2.3.4.so)
2c2
< 00000010 03 00 03 00 01 00 00 00 c0 67 32 00 34 00 00 00
|.........g2.4...|
---
> 00000010 03 00 03 00 01 00 00 00 c0 27 7d 00 34 00 00 00
|.........'}.4...|
4,11c4,11
< 00000030 18 00 15 00 01 00 00 00 00 00 00 00 00 60 32 00
|.............`2.|
< 00000040 00 60 32 00 b4 4d 01 00 b4 4d 01 00 05 00 00 00
|.`2..M...M......|
< 00000050 00 10 00 00 01 00 00 00 a0 5c 01 00 a0 bc 33 00
|.........\....3.|
< 00000060 a0 bc 33 00 9c 07 00 00 54 08 00 00 06 00 00 00
|..3.....T.......|
< 00000070 00 10 00 00 02 00 00 00 14 5f 01 00 14 bf 33 00
|........._....3.|
< 00000080 14 bf 33 00 c0 00 00 00 c0 00 00 00 06 00 00 00
|..3.............|
< 00000090 04 00 00 00 50 e5 74 64 fc 4b 01 00 fc ab 33 00
|....P.td.K....3.|
< 000000a0 fc ab 33 00 5c 00 00 00 5c 00 00 00 04 00 00 00
|..3.\...\.......|
---
> 00000030 18 00 15 00 01 00 00 00 00 00 00 00 00 20 7d 00
|............. }.|
> 00000040 00 20 7d 00 b4 4d 01 00 b4 4d 01 00 05 00 00 00 |.
}..M...M......|
> 00000050 00 10 00 00 01 00 00 00 a0 5c 01 00 a0 7c 7e 00
|.........\...|~.|
> 00000060 a0 7c 7e 00 9c 07 00 00 54 08 00 00 06 00 00 00
|.|~.....T.......|
> 00000070 00 10 00 00 02 00 00 00 14 5f 01 00 14 7f 7e 00
|........._....~.|
> 00000080 14 7f 7e 00 c0 00 00 00 c0 00 00 00 06 00 00 00
|..~.............|
> 00000090 04 00 00 00 50 e5 74 64 fc 4b 01 00 fc 6b 7e 00
|....P.td.K...k~.|
> 000000a0 fc 6b 7e 00 5c 00 00 00 5c 00 00 00 04 00 00 00
|.k~.\...\.......|
............. Etc..
Both are IBM servers, Intel CPUs. One is 2.6GHz another 2.8GHz.
Everything else is the same...
How this could be??? Sorry if it became non gdb community question....
/SergeyK
-----Original Message-----
From: Daniel Jacobowitz [mailto:drow@false.org]
Sent: Wednesday, July 08, 2009 11:06 AM
To: Sergey Kamshilin
Cc: gdb@sourceware.org
Subject: Re: core files are host dependent
On Wed, Jul 08, 2009 at 10:44:25AM -0700, Sergey Kamshilin wrote:
> Both hosts have identical set of kernel, libraries and other packages
> installed. Why this could be and how to fix it? Thank you in advance!
Your statement is very unlikely to be accurate :-)
Try running strace -e open on GDB to be absolutely sure what libraries
it's opening. My first guess would be debug library packages installed
on only one of the hosts.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2009-07-08 20:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-08 17:44 Sergey Kamshilin
2009-07-08 18:06 ` Daniel Jacobowitz
2009-07-08 20:37 ` Sergey Kamshilin [this message]
2009-07-08 21:31 ` Daniel Jacobowitz
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=343AAB782778D44FB06D24560CAFC0E30283F7C0@OREXCHANGE01.radisys.com \
--to=sergey.kamshilin@radisys.com \
--cc=drow@false.org \
--cc=gdb@sourceware.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