[Ltrace-devel] ltrace-0.7.2: proc.c: In function 'crawl_linkmap': error: 'rlm.l_addr' may be used uninitialized

Sedat Dilek sedat.dilek at gmail.com
Sun Dec 16 21:39:08 UTC 2012


Seen when building ltrace-0.7.2 on MIPSEL (Freetz build-system):
...
/bin/bash ../../libtool --tag=CC   --mode=compile
/home/wearefam/src/freetz/freetz-git/toolchain/build/mipsel_gcc-4.7.2-RC-20120914_uClibc-0.9.33.2/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc
-DHAVE_CONFIG_H -I. -I../..  -I../../sysdeps/linux-gnu/mipsel
-I../../sysdeps/linux-gnu       -I../../sysdeps         -I../..
-Wall -Wsign-compare -Wfloat-equal -Wformat-security -Werror
-march=4kc -Os -pipe -Wa,--trap -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -MT proc.lo -MD -MP -MF
.deps/proc.Tpo -c -o proc.lo proc.c
libtool: compile:
/home/wearefam/src/freetz/freetz-git/toolchain/build/mipsel_gcc-4.7.2-RC-20120914_uClibc-0.9.33.2/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc
-DHAVE_CONFIG_H -I. -I../.. -I../../sysdeps/linux-gnu/mipsel
-I../../sysdeps/linux-gnu -I../../sysdeps -I../.. -Wall -Wsign-compare
-Wfloat-equal -Wformat-security -Werror -march=4kc -Os -pipe
-Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -MT proc.lo -MD -MP -MF .deps/proc.Tpo -c
proc.c  -fPIC -DPIC -o .libs/proc.o
proc.c: In function 'crawl_linkmap':
proc.c:544:25: error: 'rlm.l_addr' may be used uninitialized in this
function [-Werror=maybe-uninitialized]
cc1: all warnings being treated as errors
make[5]: *** [proc.lo] Error 1
make[5]: Leaving directory
`/home/wearefam/src/freetz/freetz-git/source/target-mipsel_uClibc-0.9.33.2/ltrace-0.7.2/sysdeps/linux-gnu'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/wearefam/src/freetz/freetz-git/source/target-mipsel_uClibc-0.9.33.2/ltrace-0.7.2/sysdeps/linux-gnu'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/wearefam/src/freetz/freetz-git/source/target-mipsel_uClibc-0.9.33.2/ltrace-0.7.2/sysdeps'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/wearefam/src/freetz/freetz-git/source/target-mipsel_uClibc-0.9.33.2/ltrace-0.7.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/wearefam/src/freetz/freetz-git/source/target-mipsel_uClibc-0.9.33.2/ltrace-0.7.2'

ERROR: Build failed.
make: *** [source/target-mipsel_uClibc-0.9.33.2/ltrace-0.7.2/ltrace] Error 1

- Sedat -



More information about the Ltrace-devel mailing list