First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 82629
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Maurice van der Pot <griffon26@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Dennis Schridde <lindevel@gmx.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 82629 depends on: Show dependency tree
Bug 82629 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-02-19 16:23 0000
Valgrind is not able to compile:

Making all in include
Making all in coregrind
Making all in x86
Making all in demangle
cplus-dem.c: In function `ada_demangle':
cplus-dem.c:1047: warning: dereferencing type-punned pointer will break strict-aliasing rules
cplus-dem.c:1100: warning: dereferencing type-punned pointer will break strict-aliasing rules
Making all in .
vg_scheduler.c: In function `do_scheduler':
vg_scheduler.c:867: warning: 'dispatch_ctr_SAVED' might be used uninitialized in this function
vg_symtypes.c: In function `vgPlain_describe_addr':
vg_symtypes.c:699: warning: 'eip' might be used uninitialized in this function
vg_symtypes.c:701: warning: 'keeplist' might be used uninitialized in this function
vg_symtypes.c:702: warning: 'found' might be used uninitialized in this function
vg_symtypes.c:740: warning: 'next' might be used uninitialized in this function
vg_syscalls.c: In function `do_brk':
vg_syscalls.c:927: error: invalid lvalue in assignment
distcc[25237] ERROR: compile vg_syscalls.c on localhost failed
make[4]: *** [vg_syscalls.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: dev-util/valgrind-2.2.0-r2 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! emake failed


I am using linux-headers-2.6.10, but the issue even existed before the ebuild was updated to check for that version.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.4.3, 
glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 i686) 
================================================================= 
System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(tm) XP 2600+ 
Gentoo Base System version 1.6.9 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 20 2005, 01:14:51)] 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r2 
sys-devel/libtool:   1.5.10-r4 
virtual/os-headers:  2.6.10 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms 
userpriv usersandbox" 
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.lug.ro/gentoo/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" 
MAKEOPTS="-s -j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 3dnow 3dnowex X acpi alsa apache2 audiofile avi bash-completion 
berkdb bitmap-fonts bzip2 bzlib cdparanoia cdr cjk crypt cups curl dba dga 
divx4linux doc dts dvd dvdr emboss encode f77 fam fbcon flac font-server 
foomaticdb fortran gd-external geoip gif gimp gimpprint glut gpm gstreamer 
gtk2 imagemagick imlib ipv6 jpeg kde kerberos lcms ldap libclamav libg++ 
libwww lm_sensors logitech-mouse mad mikmod mime mmx mmx2 mpeg mysql ncurses 
nfsv4 nls no_wxgtk1 nomotif nptl nptlonly nvidia oav oggvorbis openal opengl 
pam pcntl pcre pdflib perl pic png portaudio posix povray ppds python qt 
quicktime readline real rrdtool rtc samba sasl scanner sdl session shared 
sharedmem skey slang slp smime snmp sockets speex spell sqlite sse ssl svg 
symlink sysvipc tcpd tetex theora tidy tiff truetype truetype-fonts 
type1-fonts type1fonts unicode usb userlocales winbind xanim xine xml2 xsl xv 
xvid xvmc zlib linguas_de" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

------- Comment #1 From Santiago Gala 2005-02-22 02:25:34 0000 -------
In my setup it built, but then,

sgala@marlow ~ $ valgrind --tool=memcheck ls -l
Executable range 0x10000000-0x10204538 is outside the
acceptable range 0x70000000-0x7ffff000
valgrind: failed to load /usr/lib/valgrind/stage2: Cannot allocate memory
sgala@marlow ~ $ valgrind --help
Executable range 0x10000000-0x10204538 is outside the
acceptable range 0x70000000-0x7ffff000
valgrind: failed to load /usr/lib/valgrind/stage2: Cannot allocate memory


------- Comment #2 From Maurice van der Pot 2005-02-22 11:48:14 0000 -------
Dennis, a fix for this will be in cvs in an hour or so after which I will close 
this report.

Santiago, please open a separate bug report, because what you are reporting is
a 
completely different problem. When you do, please include the output from
emerge
--info and let me know if you are using PaX.

------- Comment #3 From Maurice van der Pot 2005-02-22 12:26:26 0000 -------
done

------- Comment #4 From Dennis Schridde 2005-03-01 13:34:09 0000 -------
Thank you for your really quick fix!
Valgrind works well now.

First Last Prev Next    No search results available      Search page      Enter new bug