Re: Problem using gcov
On 02/21/2018 02:33 PM, Alexander Fichtinger wrote: > When you look at line 23 it is called 1 time. Line 24 is called 2 times (the > bold one). > We already looked in the disassembly but did not see a reason why the line > should be executed 2 times. > > Can anyone help here, please? > > Kind regards, > Alex Hi. Sure, can you please send a self-contained test-case that I can run? Thank you, Martin
Error Building For arm-none-eabi, stdint.h Missing
Would any other information be helpful? All results called for the installation of binary packages, which is not possible (I don't use apt). ../../source/${dname}/configure \ --target=${TARGET} \ --prefix=`realpath ../../${DIR_PREFIX}` \ --docdir=`realpath ../../${DIR_PREFIX}/share/doc` \ --libexecdir=`realpath ../../${DIR_PREFIX}/lib` \ --enable-languages=c,c++ \ --with-headers=yes \ --enable-plugins \ --disable-libstdcxx-verbose \ --disable-decimal-float \ --disable-libffi \ --disable-libgomp \ --disable-libmudflap \ --disable-libquadmath \ --disable-libssp \ --disable-libstdcxx-pch \ --disable-nls \ --disable-shared \ --disable-threads \ --disable-tls \ --with-newlib \ --with-sysroot=`realpath ../../${DIR_PREFIX}/${TARGET}` \ --with-system-zlib \ --with-gmp=`realpath ../../${DIR_PREFIX}/host/${gmp_dname}` \ --with-mpfr=`realpath ../../${DIR_PREFIX}/host/${mpfr_dname}` \ --with-mpc=`realpath ../../${DIR_PREFIX}/host/${mpc_dname}` \ --with-isl=`realpath ../../${DIR_PREFIX}/host/${isl_dname}` \ --with-pkgversion=${VERSION} \ --with-multilib-list=rmprofile # If this is the top-level multilib, build all the other # multilibs. /home/R0b0t1/devel/toolgen/build/gcc-7.3.0/./gcc/xgcc -B/home/R0b0t1/devel/toolgen/build/gcc-7.3.0/./gcc/ -B/home/R0b0t1/devel/toolgen/prefix/arm-none-eabi/bin/ -B/home/R0b0t1/devel/toolgen/prefix/arm-none-eabi/lib/ -isystem /home/R0b0t1/devel/toolgen/prefix/arm-none-eabi/include -isystem /home/R0b0t1/devel/toolgen/prefix/arm-none-eabi/sys-include-g -O2 -mthumb -march=armv8-m.base -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fstack-check=no -Dinhibit_libc -fno-inline -I. -I. -I../../../.././gcc -I../../../../../../source/gcc-7.3.0/libgcc -I../../../../../../source/gcc-7.3.0/libgcc/. -I../../../../../../source/gcc-7.3.0/libgcc/../gcc -I../../../../../../source/gcc-7.3.0/libgcc/../include-o cmse.o -MT cmse.o -MD -MP -MF cmse.dep -c -mcmse ../../../../../../source/gcc-7.3.0/libgcc/config/arm/cmse.c In file included from /home/R0b0t1/devel/toolgen/build/gcc-7.3.0/gcc/include/arm_cmse.h:38:0, from ../../../../../../source/gcc-7.3.0/libgcc/config/arm/cmse.c:27: /home/R0b0t1/devel/toolgen/build/gcc-7.3.0/gcc/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory # include_next ^~ compilation terminated. make[4]: *** [../../../../../../source/gcc-7.3.0/libgcc/config/arm/t-arm:14: cmse.o] Error 1 make[4]: Leaving directory '/home/R0b0t1/devel/toolgen/build/gcc-7.3.0/arm-none-eabi/thumb/v8-m.base/libgcc' make[3]: *** [Makefile:1198: multi-do] Error 1 make[3]: Leaving directory '/home/R0b0t1/devel/toolgen/build/gcc-7.3.0/arm-none-eabi/libgcc' make[2]: *** [Makefile:125: all-multi] Error 2 make[2]: Leaving directory '/home/R0b0t1/devel/toolgen/build/gcc-7.3.0/arm-none-eabi/libgcc' make[1]: *** [Makefile:11569: all-target-libgcc] Error 2 make[1]: Leaving directory '/home/R0b0t1/devel/toolgen/build/gcc-7.3.0' make: *** [Makefile:889: all] Error 2 Thanks in advance, R0b0t1
gcc-7-20180222 is now available
Snapshot gcc-7-20180222 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/7-20180222/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 7 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-7-branch revision 257917 You'll find: gcc-7-20180222.tar.xzComplete GCC SHA256=4a5c7c1dbc21eb6267260f55a83a0056c73c9ebb84913aec1482f267af6438f7 SHA1=40959b96e9dfa859c3ab7c496f7ac9d799cb3f44 Diffs from 7-20180215 are available in the diffs/ subdirectory. When a particular snapshot is ready for public consumption the LATEST-7 link is updated and a message is sent to the gcc list. Please do not use a snapshot before it has been announced that way.