valgrind FreeBSD 7.2 with updated ports error

Jorge Medina jorge at bsdchile.cl
Sun Sep 13 00:40:44 UTC 2009


if gcc34 -DHAVE_CONFIG_H -I. -I. -I..  -I./demangle -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\"   -Winline -Wall
-Wshadow -O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g
-DELFSZ=32  -MT vg_messages.o -MD -MP -MF ".deps/vg_messages.Tpo" -c
-o vg_messages.o vg_messages.c; \
        then mv -f ".deps/vg_messages.Tpo" ".deps/vg_messages.Po";
else rm -f ".deps/vg_messages.Tpo"; exit 1; fi
if gcc34 -DHAVE_CONFIG_H -I. -I. -I..  -I./demangle -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\"   -Winline -Wall
-Wshadow -O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g
-DELFSZ=32  -MT vg_mylibc.o -MD -MP -MF ".deps/vg_mylibc.Tpo" -c -o
vg_mylibc.o vg_mylibc.c; \
        then mv -f ".deps/vg_mylibc.Tpo" ".deps/vg_mylibc.Po"; else rm
-f ".deps/vg_mylibc.Tpo"; exit 1; fi
vg_mylibc.c: In function `vgPlain_brk':
vg_mylibc.c:445: warning: implicit declaration of function `brk'
vg_mylibc.c:446: warning: implicit declaration of function `sbrk'
vg_mylibc.c:446: warning: return makes pointer from integer without a cast
if gcc34 -DHAVE_CONFIG_H -I. -I. -I..  -I./demangle -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\"   -Winline -Wall
-Wshadow -O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g
-DELFSZ=32  -MT vg_needs.o -MD -MP -MF ".deps/vg_needs.Tpo" -c -o
vg_needs.o vg_needs.c; \
        then mv -f ".deps/vg_needs.Tpo" ".deps/vg_needs.Po"; else rm
-f ".deps/vg_needs.Tpo"; exit 1; fi
if gcc34 -DHAVE_CONFIG_H -I. -I. -I..  -I./demangle -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\"   -Winline -Wall
-Wshadow -O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g
-DELFSZ=32  -MT vg_procselfmaps.o -MD -MP -MF
".deps/vg_procselfmaps.Tpo" -c -o vg_procselfmaps.o vg_procselfmaps.c;
\
        then mv -f ".deps/vg_procselfmaps.Tpo"
".deps/vg_procselfmaps.Po"; else rm -f ".deps/vg_procselfmaps.Tpo";
exit 1; fi
vg_procselfmaps.c: In function `find_path':
vg_procselfmaps.c:45: warning: passing arg 1 of `dladdr' makes pointer
from integer without a cast
vg_procselfmaps.c: In function `vgPlain_parse_procselfmaps':
vg_procselfmaps.c:389: warning: assignment discards qualifiers from
pointer target type
vg_procselfmaps.c:195: warning: unused variable `pp'
vg_procselfmaps.c:196: warning: 'maj' might be used uninitialized in
this function
vg_procselfmaps.c:196: warning: 'min' might be used uninitialized in
this function
vg_procselfmaps.c:196: warning: 'ino' might be used uninitialized in
this function

if gcc34 -DHAVE_CONFIG_H -I. -I. -I..  -I./demangle -I../include
-I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\"   -Winline -Wall
-Wshadow -O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g
-DELFSZ=32  -MT vg_proxylwp.o -MD -MP -MF ".deps/vg_proxylwp.Tpo" -c
-o vg_proxylwp.o vg_proxylwp.c; \
        then mv -f ".deps/vg_proxylwp.Tpo" ".deps/vg_proxylwp.Po";
else rm -f ".deps/vg_proxylwp.Tpo"; exit 1; fi
In file included from vg_unsafe.h:105,
                 from vg_proxylwp.c:33:
/usr/include/sys/shm.h:80: error: field `shm_perm' has incomplete type
gmake[4]: *** [vg_proxylwp.o] Error 1
gmake[4]: Leaving directory
`/usr/ports/devel/valgrind/work/valgrind-stable-352/coregrind'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/ports/devel/valgrind/work/valgrind-stable-352/coregrind'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/ports/devel/valgrind/work/valgrind-stable-352/coregrind'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/valgrind/work/valgrind-stable-352'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/devel/valgrind.


-- 
Jorge Andrés Medina Oliva.


More information about the freebsd-ports mailing list