boilermake n stuff
Alan DeKok
aland at deployingradius.com
Wed Nov 21 23:56:33 CET 2012
alan buxey wrote:
> ignore previous post. missed a .mk file.
>
> heres the current issue:
That's a bit better.
> valgrind /usr/local/src/freeradius-server/scripts/jlibtool --silent --mode=link gcc -o build/lib/libfreeradius-radius.la -rpath /usr/local/src/freeradius-server/build/lib/.libs -rdynamic build/objs/src/lib/dict.lo build/objs/src/lib/filters.lo build/objs/src/lib/hash.lo build/objs/src/lib/hmac.lo build/objs/src/lib/hmacsha1.lo build/objs/src/lib/isaac.lo build/objs/src/lib/log.lo build/objs/src/lib/misc.lo build/objs/src/lib/missing.lo build/objs/src/lib/md4.lo build/objs/src/lib/md5.lo build/objs/src/lib/print.lo build/objs/src/lib/radius.lo build/objs/src/lib/rbtree.lo build/objs/src/lib/sha1.lo build/objs/src/lib/snprintf.lo build/objs/src/lib/strlcat.lo build/objs/src/lib/strlcpy.lo build/objs/src/lib/token.lo build/objs/src/lib/udpfromto.lo build/objs/src/lib/valuepair.lo build/objs/src/lib/fifo.lo build/objs/src/lib/packet.lo build/objs/src/lib/event.lo build/objs/src/lib/getaddrinfo.lo build/objs/src/lib/vqp.lo build/objs/src/lib/heap.lo build/objs/src/lib/dhcp.l
o!
> build/objs/src/lib/tcp.lo build/objs/src/lib/base64.lo -lnsl -lresolv -ldl -lpthread
> ==6689== Memcheck, a memory error detector
> ==6689== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
> ==6689== Using Valgrind-3.6.0 and LibVEX; rerun with -h for copyright info
> ==6689== Command: /usr/local/src/freeradius-server/scripts/jlibtool --silent --mode=link gcc -o build/lib/libfreeradius-radius.la -rpath /usr/local/src/freeradius-server/build/lib/.libs -rdynamic build/objs/src/lib/dict.lo build/objs/src/lib/filters.lo build/objs/src/lib/hash.lo build/objs/src/lib/hmac.lo build/objs/src/lib/hmacsha1.lo build/objs/src/lib/isaac.lo build/objs/src/lib/log.lo build/objs/src/lib/misc.lo build/objs/src/lib/missing.lo build/objs/src/lib/md4.lo build/objs/src/lib/md5.lo build/objs/src/lib/print.lo build/objs/src/lib/radius.lo build/objs/src/lib/rbtree.lo build/objs/src/lib/sha1.lo build/objs/src/lib/snprintf.lo build/objs/src/lib/strlcat.lo build/objs/src/lib/strlcpy.lo build/objs/src/lib/token.lo build/objs/src/lib/udpfromto.lo build/objs/src/lib/valuepair.lo build/objs/src/lib/fifo.lo build/objs/src/lib/packet.lo build/objs/src/lib/event.lo build/objs/src/lib/getaddrinfo.lo build/objs/src/lib/vqp.lo build/objs/src/lib/heap.lo build/objs/src/lib/d
h!
> cp.lo build/objs/src/lib/tcp.lo build/objs/src/lib/base64.lo -lnsl -lresolv -ldl -lpthread
> ==6689==
> ==6689== Conditional jump or move depends on uninitialised value(s)
> ==6689== at 0x4C284AA: strcat (mc_replace_strmem.c:176)
> ==6689== by 0x4022B6: gen_library_name (in /usr/local/src/freeradius-server/scripts/jlibtool)
And jlibtool is built without debugging symbols. <sigh>
Ensure that scripts/libtool.mk has "-g" for the jlibtool build. And
also in Make.inc, just for laughs. Then, make clean && rebuild.
And ensure you've set LIBTOOL=JLIBTOOL in Make.inc.
Alan DeKok.
More information about the Freeradius-Devel
mailing list