Seems to be again a problem of "-0s" gcc optimization-level ("-O2" works fine).
What about adding a testcase?- Sedat - My testcase scenario: $ LANG=C LC_ALL=C make ltrace-clean $ rm -f $HOME/src/freetz/freetz-git/source/target-mipsel_uClibc-0.9.33.2/config.cache $ grep TARGET_CFLAGS .config FREETZ_TARGET_CFLAGS="-Os -pipe -Wa,--trap" $ LANG=C LC_ALL=C make FREETZ_JLEVEL=1 FREETZ_TARGET_CFLAGS="-O2 -pipe -Wa,--trap" ltrace-precompiled 2>&1 | tee ../make_ltrace-precompiled_O2optimzed.txt NOTE: config.cache file has to be deleted to use a custom FREETZ_TARGET_CFLAGS. - Sedat - On Sun, Dec 16, 2012 at 10:39 PM, Sedat Dilek <[email protected]> wrote: > 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 - _______________________________________________ Ltrace-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel
