Advertisement
squigley

gcc arm segfault

Mar 9th, 2014
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. cat hello.c
  2. /* Hello World program */
  3.  
  4. #include<stdio.h>
  5.  
  6. main()
  7. {
  8. printf("Hello World");
  9.  
  10. }
  11.  
  12. ---
  13.  
  14. uname -a
  15. Linux mediahub 3.8.13-langerak #3 Mon Oct 7 16:14:03 CEST 2013 armv5tel GNU/Linux
  16.  
  17. ---
  18.  
  19. gcc hello.c -o hello -v -march=armv5te
  20. Using built-in specs.
  21. COLLECT_GCC=gcc
  22. COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.6/lto-wrapper
  23. Target: arm-linux-gnueabi
  24. Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv4t --with-float=soft --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi
  25. Thread model: posix
  26. gcc version 4.6.3 (Debian 4.6.3-14)
  27. COLLECT_GCC_OPTIONS='-o' 'hello' '-v' '-march=armv5te' '-mfloat-abi=soft'
  28. /usr/lib/gcc/arm-linux-gnueabi/4.6/cc1 -quiet -v -imultilib . -imultiarch arm-linux-gnueabi hello.c -quiet -dumpbase hello.c -march=armv5te -mfloat-abi=soft -auxbase hello -version -o /tmp/ccPny3u9.s
  29. GNU C (Debian 4.6.3-14) version 4.6.3 (arm-linux-gnueabi)
  30. compiled by GNU C version 4.6.3, GMP version 5.0.5, MPFR version 3.1.0-p10, MPC version 0.9
  31. GGC heuristics: --param ggc-min-expand=38 --param ggc-min-heapsize=15708
  32. ignoring nonexistent directory "/usr/local/include/arm-linux-gnueabi"
  33. ignoring nonexistent directory "/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/include"
  34. #include "..." search starts here:
  35. #include <...> search starts here:
  36. /usr/lib/gcc/arm-linux-gnueabi/4.6/include
  37. /usr/local/include
  38. /usr/lib/gcc/arm-linux-gnueabi/4.6/include-fixed
  39. /usr/include/arm-linux-gnueabi
  40. /usr/include
  41. End of search list.
  42. GNU C (Debian 4.6.3-14) version 4.6.3 (arm-linux-gnueabi)
  43. compiled by GNU C version 4.6.3, GMP version 5.0.5, MPFR version 3.1.0-p10, MPC version 0.9
  44. GGC heuristics: --param ggc-min-expand=38 --param ggc-min-heapsize=15708
  45. Compiler executable checksum: b521b7f1a43700068985c953e8669ca7
  46. <built-in>:0:0: internal compiler error: Segmentation fault
  47. Please submit a full bug report,
  48. with preprocessed source if appropriate.
  49. See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement