From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.kundenserver.de ([212.227.17.10]) by metis.ext.pengutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cVaPz-00016A-Vf for ptxdist@pengutronix.de; Mon, 23 Jan 2017 09:56:04 +0100 Received: from oxbsltgw08.schlund.de ([172.19.249.25]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.183]) with ESMTPSA (Nemesis) id 0MdWxQ-1csdbW035Q-00PIZP for ; Mon, 23 Jan 2017 09:55:58 +0100 Date: Mon, 23 Jan 2017 09:55:57 +0100 (CET) From: - - Message-ID: <2001695162.155270.1485161757952@email.1und1.de> MIME-Version: 1.0 Subject: [ptxdist] Toolchin build fails with "debuggable toolchain internals" List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0515215203==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============0515215203== Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hello,

to getting Valgrind running on my device I= 've need a toolchain with debug info. So I tried to compile the OSELAS.= Toolchain-2012.12.1 with enabled "misc->debuggable toolchain intern= als".

Unfortunately the build fails with following error:

=

make[6]: Entering directory `/home/mm/Downloads/OSELAS.Toolchain-2012.12= .1/platform-arm-cortexa8-linux-gnueabihf-gcc-4.7.3-glibc-2.16.0-binutils-2.= 22-kernel-3.6-sanitized/build-cross/gcc-linaro-4.7-2012.11-build/arm-cortex= a8-linux-gnueabihf/libstdc++-v3/src'
/bin/bash ../libtool --tag CXX&= #160;  --mode=3Dlink /home/mm/Downloads/OSELAS.Toolchain-2012.12.1/pla= tform-arm-cortexa8-linux-gnueabihf-gcc-4.7.3-glibc-2.16.0-binutils-2.22-ker= nel-3.6-sanitized/build-cross/gcc-linaro-4.7-2012.11-build/./gcc/xgcc -shar= ed-libgcc -B/home/mm/Downloads/OSELAS.Toolchain-2012.12.1/platform-arm-cort= exa8-linux-gnueabihf-gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-saniti= zed/build-cross/gcc-linaro-4.7-2012.11-build/./gcc -nostdinc++ -L/home/mm/D= ownloads/OSELAS.Toolchain-2012.12.1/platform-arm-cortexa8-linux-gnueabihf-g= cc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/build-cross/gcc-li= naro-4.7-2012.11-build/arm-cortexa8-linux-gnueabihf/libstdc++-v3/src -L/hom= e/mm/Downloads/OSELAS.Toolchain-2012.12.1/platform-arm-cortexa8-linux-gnuea= bihf-gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/build-cross/= gcc-linaro-4.7-2012.11-build/arm-cortexa8-linux-gnueabihf/libstdc++-v3/src/= .libs -B/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.= 7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/arm-cortexa8-linux-gnue= abihf/bin/ -B/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/g= cc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/arm-cortexa8-linux= -gnueabihf/lib/ -isystem /opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux= -gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/arm-co= rtexa8-linux-gnueabihf/include -isystem /opt/OSELAS.Toolchain-2012.12.1/arm= -cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-s= anitized/arm-cortexa8-linux-gnueabihf/sys-include    -Wl,-O1= -Wl,-z,relro -Wl,--gc-sections  -fPIC -DPIC  -Wall -Wextra -Wwri= te-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=3Donce =   -ffunction-sections -fdata-sections  -frandom-seed=3Dlibstdc++c= onvenience.la  -o libstdc++convenience.la  ../libsupc++/libsupc++= convenience.la ../src/c++98/libc++98convenience.la ../src/c++11/libc++11con= venience.la ; \
    if test ! -f .libs/libstdc++.a; then = \
      cp .libs/libstdc++convenience.a .libs/libstd= c++.a; \
    fi; \
    echo `date` >= ; stamp-libstdc++convenience;
(cd /home/mm/Downloads/OSELAS.Toolchain-20= 12.12.1/platform-arm-cortexa8-linux-gnueabihf-gcc-4.7.3-glibc-2.16.0-binuti= ls-2.22-kernel-3.6-sanitized/build-cross/gcc-linaro-4.7-2012.11-build/arm-c= ortexa8-linux-gnueabihf/libstdc++-v3/src/debug; \
    = 60; mv Makefile Makefile.tmp; \
      sed -e 's,= all-local: all-once,all-local:,' \
      &#= 160;   -e 's,install-data-local: install-data-once,install-da= ta-local:,' \
          -e &= #39;/vpath/!s,src/c,src/debug/c,' \
      < = Makefile.tmp > Makefile ; \
      make CXXFLAGS= =3D'-gdwarf-4 -g3 -O0' \
      toolexeclibdi= r=3D/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-= glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/arm-cortexa8-linux-gnueabih= f/lib/debug all) ;
cat: /opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-lin= ux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/src/= debug/cross/gcc-linaro-4.7-2012.11/libstdc++-v3/../gcc/BASE-VER: No such fi= le or directory


Without the debug optimization everyth= ing compiles well. I've tried also newer Toolchains but all failed with= same error.

Any ideas?

Best Regards,

Ingo

=20 --===============0515215203== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============0515215203==--