Results 1 to 5 of 5
Hello there can someone help me with this warnings being displayed by GDB while debugging a program...these warnings almost fill the screen and is very hard to ignore while taking ...
- 12-27-2011 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 23
Rhel 6.1 how to remove gdb warnings???
Hello there can someone help me with this warnings being displayed by GDB while debugging a program...these warnings almost fill the screen and is very hard to ignore while taking the important info from gdb debugging.. I am using RHEL 6.1 SANTIAGO
Code:(gdb) br 7 Breakpoint 1 at 0x80483e2: file sizes.c, line 7. (gdb) r Starting program: /home/progs/sizes.o warning: the debug information found in "/usr/lib/debug//lib/ld-2.12.so.debug" does not match "/lib/ld-linux.so.2" (CRC mismatch). warning: the debug information found in "/usr/lib/debug/lib/ld-2.12.so.debug" does not match "/lib/ld-linux.so.2" (CRC mismatch). Missing separate debuginfo for /lib/ld-linux.so.2 Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/30/7b5a6c660c11f61a43d7ba8a1c5e9b05f8ce64.debug warning: the debug information found in "/usr/lib/debug//lib/libc-2.12.so.debug" does not match "/lib/libc.so.6" (CRC mismatch). warning: the debug information found in "/usr/lib/debug/lib/libc-2.12.so.debug" does not match "/lib/libc.so.6" (CRC mismatch). Missing separate debuginfo for /lib/libc.so.6 Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/c3/b065713186188ceda17339e87ed1fd23f9e5fb.debug size of int = 4 Breakpoint 1, main () at sizes.c:7 7 printf("size of char = %u\n",sizeof(char));
Currently these are the details of my LINUX DISTRO ..how do I get rid of this...please help
Code:gcc -v Using built-in specs. Target: i686-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-linux Thread model: posix gcc version 4.4.5 20110214 (Red Hat 4.4.5-6) (GCC) [root@localhost progs]# gdb -v GNU gdb (GDB) Red Hat Enterprise Linux (7.2-48.el6) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>.
and the kernel version
Code:Linux localhost.localdomain 2.6.32-131.0.15.el6.i686 #1 SMP Tue May 10 15:42:28 EDT 2011 i686 i686 i386 GNU/Linux
thanks and regards
- 12-27-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Did you follow the suggestions in the debug output with regard to using yum to install the correct debug versions of the libraries it is complaining about?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 12-27-2011 #3Just Joined!
- Join Date
- Sep 2009
- Posts
- 23
Hello Rubberman I did install the correct debug version of libraries ...to be frank I installed it from the DVD itself ...but still these warnings come up ...any more suggestions or links to get correct versions apart from those included in DVD..
- 12-27-2011 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Well, I haven't run into this problem myself. I would suggest that perhaps you post your question on the Red Hat user forums and see if someone there has a clue.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 12-29-2011 #5Just Joined!
- Join Date
- Sep 2009
- Posts
- 23
Hello Rubberman thanks for this hint ..incase I happen to come across any solution to this issue I will post it here and anybody reading this issue please try and let me know any solution for this
Thanks and regards


Reply With Quote