On 26 September 2016 at 22:09, Bernd Edlinger <bernd.edlin...@hotmail.de> wrote: > On 09/26/16 21:19, Christophe Lyon wrote: >> >> Sorry for the delay, I've been travelling. >> >> Compilation is: >> .../xg++ >> -B/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi/gcc3/gcc/testsuite/g++/../../ >> /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/pr77550.C >> g++_tg.o -fno-diagnostics-show-caret -fdiagnostics-color=never >> -nostdinc++ >> -I/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi/gcc3/arm-none-eabi/libstdc++-v3/include/arm-none-eabi >> -I/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi/gcc3/arm-none-eabi/libstdc++-v3/include >> -I/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libstdc++-v3/libsupc++ >> -I/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libstdc++-v3/include/backward >> -I/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libstdc++-v3/testsuite/util >> -fmessage-length=0 -std=c++14 -O3 >> -L/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi/gcc3/arm-none-eabi/./libstdc++-v3/src/.libs >> -B/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi/gcc3/arm-none-eabi/./libstdc++-v3/src/.libs >> -Wl,-wrap,exit -Wl,-wrap,_exit -Wl,-wrap,main -Wl,-wrap,abort -lm -o >> ./pr77550.exe >> >> Then, during execution, I have: >> qemu: uncaught target signal 11 (Segmentation fault) - core dumped >> and that's all >> >> My gcc configuration flags are: >> --target=arm-none-eabi --disable-libgomp --disable-libmudflap >> --disable-libcilkrts --enable-checking --enable-languages=c,c++ >> --with-newlib --disable-tls --with-mode=arm --with-cpu=cortex-a9 >> >> Christophe >> > > Interesting. At this point it might be OK to open a new PR. > OK, this is https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748
> So far, I cannot reproduce, but I used also cortex-a9 but > target=arm-linux-gnueabihf. > It does work for me with this configuration. arm-non-eabi makes the difference. > Could you please start the command above manually and add > -save-temps ? > > > Thanks > Bernd.