Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202828 - dev-util/valgrind - lib/ld-2.6.1.so: Conditional jump or move depends on uninitialised value(s)
Summary: dev-util/valgrind - lib/ld-2.6.1.so: Conditional jump or move depends on uni...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Maurice van der Pot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-19 23:04 UTC by Lares Moreau
Modified: 2007-12-20 16:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lares Moreau 2007-12-19 23:04:51 UTC
Valgrind reports errors about /lib/ld-2.6.1.so

I don't what function this is within the library.

This error is new as of my upgrade to glibc-2.6.1.

Reproducible: Always

Steps to Reproduce:
Compile the following and run with valgrind.

# gcc main.c
== BEGIN ==
int main()
{
  return 0;
}
== END ==


Actual Results:  
Valgrind output:

==11744== Conditional jump or move depends on uninitialised value(s)
==11744==    at 0x400A70C: (within /lib/ld-2.6.1.so)
==11744==    by 0x400388A: (within /lib/ld-2.6.1.so)
==11744==    by 0x401369D: (within /lib/ld-2.6.1.so)
==11744==    by 0x4001291: (within /lib/ld-2.6.1.so)
==11744==    by 0x40008A6: (within /lib/ld-2.6.1.so)
==11744== 
==11744== Conditional jump or move depends on uninitialised value(s)
==11744==    at 0x400A714: (within /lib/ld-2.6.1.so)
==11744==    by 0x400388A: (within /lib/ld-2.6.1.so)
==11744==    by 0x401369D: (within /lib/ld-2.6.1.so)
==11744==    by 0x4001291: (within /lib/ld-2.6.1.so)
==11744==    by 0x40008A6: (within /lib/ld-2.6.1.so)
==11744== 
==11744== Conditional jump or move depends on uninitialised value(s)
==11744==    at 0x400ABBB: (within /lib/ld-2.6.1.so)
==11744==    by 0x400388A: (within /lib/ld-2.6.1.so)
==11744==    by 0x401369D: (within /lib/ld-2.6.1.so)
==11744==    by 0x4001291: (within /lib/ld-2.6.1.so)
==11744==    by 0x40008A6: (within /lib/ld-2.6.1.so)
==11744== 
==11744== Conditional jump or move depends on uninitialised value(s)
==11744==    at 0x400A847: (within /lib/ld-2.6.1.so)
==11744==    by 0x400388A: (within /lib/ld-2.6.1.so)
==11744==    by 0x401369D: (within /lib/ld-2.6.1.so)
==11744==    by 0x4001291: (within /lib/ld-2.6.1.so)
==11744==    by 0x40008A6: (within /lib/ld-2.6.1.so)
==11744== 
==11744== Conditional jump or move depends on uninitialised value(s)
==11744==    at 0x400A70C: (within /lib/ld-2.6.1.so)
==11744==    by 0x40039A9: (within /lib/ld-2.6.1.so)
==11744==    by 0x401369D: (within /lib/ld-2.6.1.so)
==11744==    by 0x4001291: (within /lib/ld-2.6.1.so)
==11744==    by 0x40008A6: (within /lib/ld-2.6.1.so)
==11744== 
==11744== Conditional jump or move depends on uninitialised value(s)
==11744==    at 0x400A714: (within /lib/ld-2.6.1.so)
==11744==    by 0x40039A9: (within /lib/ld-2.6.1.so)
==11744==    by 0x401369D: (within /lib/ld-2.6.1.so)
==11744==    by 0x4001291: (within /lib/ld-2.6.1.so)
==11744==    by 0x40008A6: (within /lib/ld-2.6.1.so)
==11744== 
==11744== Conditional jump or move depends on uninitialised value(s)
==11744==    at 0x400A847: (within /lib/ld-2.6.1.so)
==11744==    by 0x40039A9: (within /lib/ld-2.6.1.so)
==11744==    by 0x401369D: (within /lib/ld-2.6.1.so)
==11744==    by 0x4001291: (within /lib/ld-2.6.1.so)
==11744==    by 0x40008A6: (within /lib/ld-2.6.1.so)

# valgrind --version
valgrind-3.2.3


Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 Intel(R) Core(TM) Duo CPU T2450 @ 2.00GHz
Timestamp of tree: Wed, 19 Dec 2007 22:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -mtune=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -mtune=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LINGUAS="en en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi asf bash-completion berkdb bitmap-fonts blas bzip2 cli cracklib crypt cups curl dbus doc dri dvd dvdread encode examples exif ffmpeg firefox flac fontconfig foomaticdb fortran gdbm gif gimpprint glibc-omit-fp gnutls gpm gs gtk hal hdf5 iconv imagemagick imap imlib info isdnlog java jpeg jpeg2k mad maildir midi mmx mng mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl plotutils png pop ppds pppd python qt qt3 quicktime readline reflection rtc session smp spl sse sse2 ssl svg tcltk tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts unicode vorbis win32codecs wmf wxGTK x264 x86 xgetdefault xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lares Moreau 2007-12-20 00:37:38 UTC
Known problem
http://bbs.archlinux.org/viewtopic.php?pid=273807

Not a major issue, more of a PITA.

Probably something to do with a foo.supp file.
Comment 2 Maurice van der Pot (RETIRED) gentoo-dev 2007-12-20 10:46:58 UTC
Please rebuild valgrind and try again. It has a suppression file for glibc-2.6, but it's only built in if 2.6 is detected when it's compiled.
Comment 3 Lares Moreau 2007-12-20 14:02:28 UTC
That worked.  Thanks
Comment 4 Maurice van der Pot (RETIRED) gentoo-dev 2007-12-20 16:21:02 UTC
Reopening to fix resolution. 

No fix was checked in for this report because valgrind is supposed to work like this, so I mark it RESOLVED/INVALID to reflect this.