Advertisement
RobertBerger

icedtea-native bombs

Apr 30th, 2020
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.88 KB | None | 0 0
  1. ...
  2. adlparse.cpp:27:
  3. In function ‘int fprintf(FILE*, const char*, ...)’,
  4. inlined from ‘FormatRule* ADLParser::template_parse()’ at /workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/adlc/adlparse.cpp:3803:34:
  5. /usr/include/x86_64-linux-gnu/bits/stdio2.h:97:24: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  6. 97 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
  7. | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  8. 98 | __va_arg_pack ());
  9. | ~~~~~~~~~~~~~~~~~
  10. In function ‘int fprintf(FILE*, const char*, ...)’,
  11. inlined from ‘FormatRule* ADLParser::format_parse()’ at /workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/adlc/adlparse.cpp:3676:34:
  12. /usr/include/x86_64-linux-gnu/bits/stdio2.h:97:24: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  13. 97 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
  14. | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. 98 | __va_arg_pack ());
  16. | ~~~~~~~~~~~~~~~~~
  17. Compiling /workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/adlc/output_h.cpp
  18. rm -f ../generated/adfiles/output_h.o
  19. g++ -std=gnu++98 -DLINUX -D_GNU_SOURCE -DAMD64 -I/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/prims -I/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm -I/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/cpu/x86/vm -I/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/os_cpu/linux_x86/vm -I/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/os/linux/vm -I/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/os/posix/vm -I/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/adlc -I../generated -DASSERT -isystem/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/recipe-sysroot-native/usr/include -O2 -pipe -fno-tree-dse -Wno-error=stringop-overflow -Wno-error=return-type -Wno-error=deprecated-declarations -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -g -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -g -Werror -g -c -o ../generated/adfiles/output_h.o /workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/adlc/output_h.cpp
  20. In function ‘int fprintf(FILE*, const char*, ...)’,
  21. inlined from ‘void ADLParser::effect_parse(InstructForm*)’ at /workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/adlc/adlparse.cpp:3823:34:
  22. /usr/include/x86_64-linux-gnu/bits/stdio2.h:97:24: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  23. 97 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
  24. | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  25. 98 | __va_arg_pack ());
  26. | ~~~~~~~~~~~~~~~~~
  27. In function ‘int fprintf(FILE*, const char*, ...)’,
  28. inlined from ‘void ADLParser::frame_parse()’ at /workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/adlc/adlparse.cpp:1118:34:
  29. /usr/include/x86_64-linux-gnu/bits/stdio2.h:97:24: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  30. 97 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
  31. | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  32. 98 | __va_arg_pack ());
  33. | ~~~~~~~~~~~~~~~~~
  34. cc1plus: all warnings being treated as errors
  35. make[7]: *** [/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/make/linux/makefiles/adlc.make:205: ../generated/adfiles/adlparse.o] Error 1
  36. make[7]: *** Waiting for unfinished jobs....
  37. /workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/adlc/output_c.cpp: In member function ‘void ArchDesc::definePeephole(FILE*, InstructForm*)’:
  38. /workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/adlc/output_c.cpp:1239:42: error: ‘_idx’ directive writing 4 bytes into a region of size between 2 and 12 [-Werror=format-overflow=]
  39. 1239 | sprintf(left_reg_index,",inst%d_idx%d", left_index, left_op_index);
  40. | ^~~~
  41. In file included from /usr/include/stdio.h:936,
  42. from /workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/adlc/adlc.hpp:33,
  43. from /workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/adlc/output_c.cpp:27:
  44. /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:34: note: ‘__builtin___sprintf_chk’ output between 12 and 32 bytes into a destination of size 18
  45. 33 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  46. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  47. 34 | __bos (__s), __fmt, __va_arg_pack ());
  48. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  49. /workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/adlc/output_c.cpp:1252:45: error: ‘_idx’ directive writing 4 bytes into a region of size between 2 and 12 [-Werror=format-overflow=]
  50. 1252 | sprintf(right_reg_index,",inst%d_idx%d", right_index, right_op_index);
  51. | ^~~~
  52. In file included from /usr/include/stdio.h:936,
  53. from /workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/adlc/adlc.hpp:33,
  54. from /workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/src/share/vm/adlc/output_c.cpp:27:
  55. /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:34: note: ‘__builtin___sprintf_chk’ output between 12 and 32 bytes into a destination of size 18
  56. 33 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  57. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  58. 34 | __bos (__s), __fmt, __va_arg_pack ());
  59. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  60. cc1plus: all warnings being treated as errors
  61. make[7]: *** [/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/make/linux/makefiles/adlc.make:205: ../generated/adfiles/output_c.o] Error 1
  62. make[7]: Leaving directory '/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk.build-boot/hotspot/outputdir/linux_amd64_compiler2/product'
  63. make[6]: *** [/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/make/linux/makefiles/top.make:93: ad_stuff] Error 2
  64. make[6]: Leaving directory '/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk.build-boot/hotspot/outputdir/linux_amd64_compiler2/product'
  65. make[5]: *** [/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/make/linux/Makefile:290: product] Error 2
  66. make[5]: Leaving directory '/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk.build-boot/hotspot/outputdir'
  67. make[4]: *** [Makefile:181: generic_build2] Error 2
  68. make[4]: Leaving directory '/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/make'
  69. make[3]: *** [Makefile:138: product] Error 2
  70. make[3]: Leaving directory '/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/hotspot/make'
  71. make[2]: *** [make/hotspot-rules.gmk:101: hotspot-build] Error 2
  72. make[2]: Leaving directory '/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot'
  73. make[1]: *** [Makefile:244: build_product_image] Error 2
  74. make[1]: Leaving directory '/workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot'
  75. make: *** [Makefile:2243: stamps/icedtea-boot.stamp] Error 2
  76. WARNING: /workdir/build/container-x86-64-java/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/temp/run.do_compile.10829:1 exit 1 from 'exit 1'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement