From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18836 invoked by alias); 8 Jul 2009 20:37:27 -0000 Received: (qmail 18820 invoked by uid 22791); 8 Jul 2009 20:37:27 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail3.radisys.com (HELO OREXCHANGE01.radisys.com) (70.102.71.53) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Jul 2009 20:37:19 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: core files are host dependent Date: Wed, 08 Jul 2009 20:37:00 -0000 Message-ID: <343AAB782778D44FB06D24560CAFC0E30283F7C0@OREXCHANGE01.radisys.com> In-Reply-To: <20090708180619.GA22590@caradoc.them.org> References: <343AAB782778D44FB06D24560CAFC0E30283F754@OREXCHANGE01.radisys.com> <20090708180619.GA22590@caradoc.them.org> From: "Sergey Kamshilin" To: "Daniel Jacobowitz" Cc: X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00058.txt.bz2 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!=20 [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)=20 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]=20 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=20 > 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