failed build
Posted: Tue Jun 16, 2015 11:29 pm
trying to build https://grsecurity.net/test/grsecurity-3.1-4.0.5-201506082251.patch on Arch Linux VM. Using gcc 5.1.0-4. Was able to build same kernel without grsecurity patches.
- Code: Select all
LD drivers/staging/lustre/lnet/lnet/built-in.o
CC [M] drivers/staging/lustre/lnet/lnet/api-ni.o
CC [M] drivers/staging/lustre/lnet/lnet/config.o
nop_expr != convert_expr
_10 = (long int) _9;
cicus.217_175 = (size_overflow_type_TI) _10;
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event | Plugins
PLUGIN_FINISH_TYPE | structleak_plugin constify_plugin
PLUGIN_ATTRIBUTES | structleak_plugin size_overflow_plugin initif y_plugin constify_plugin
PLUGIN_START_UNIT | size_overflow_plugin initify_plugin stackleak _plugin constify_plugin
PLUGIN_ALL_IPA_PASSES_START | constify_plugin
drivers/staging/lustre/lnet/lnet/config.c: In function ‘lnet_new_text_buf’:
drivers/staging/lustre/lnet/lnet/config.c:369:1: internal compiler error: in get _dup_stmt, at tools/gcc/size_overflow_plugin/intentional_overflow.c:874
lnet_new_text_buf(int str_len)
^
0x2b5d36b46219 get_dup_stmt
tools/gcc/size_overflow_plugin/intentional_overflow.c:874
0x2b5d36b46219 unsigned_signed_cast_intentional_overflow(visited*, gassign*)
tools/gcc/size_overflow_plugin/intentional_overflow.c:952
0x2b5d36b43f4c handle_unary_ops
tools/gcc/size_overflow_plugin/size_overflow_transform_core.c:684
0x2b5d36b43f4c expand(visited*, tree_node*)
tools/gcc/size_overflow_plugin/size_overflow_transform_core.c:949
0x2b5d36b440e8 handle_unary_rhs
tools/gcc/size_overflow_plugin/size_overflow_transform_core.c:645
0x2b5d36b440e8 handle_unary_ops
tools/gcc/size_overflow_plugin/size_overflow_transform_core.c:681
0x2b5d36b440e8 expand(visited*, tree_node*)
tools/gcc/size_overflow_plugin/size_overflow_transform_core.c:949
0x2b5d36b440e8 handle_unary_rhs
tools/gcc/size_overflow_plugin/size_overflow_transform_core.c:645
0x2b5d36b440e8 handle_unary_ops
tools/gcc/size_overflow_plugin/size_overflow_transform_core.c:681
0x2b5d36b440e8 expand(visited*, tree_node*)
tools/gcc/size_overflow_plugin/size_overflow_transform_core.c:949
0x2b5d36b3fdfb handle_interesting_stmt
tools/gcc/size_overflow_plugin/size_overflow_transform.c:143
0x2b5d36b3fdfb search_interesting_stmts
tools/gcc/size_overflow_plugin/size_overflow_transform.c:328
0x2b5d36b3fdfb size_overflow_transform(cgraph_node*)
tools/gcc/size_overflow_plugin/size_overflow_transform.c:419
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.archlinux.org/> for instructions.
scripts/Makefile.build:258: recipe for target 'drivers/staging/lustre/lnet/lnet/ config.o' failed
make[5]: *** [drivers/staging/lustre/lnet/lnet/config.o] Error 1
scripts/Makefile.build:403: recipe for target 'drivers/staging/lustre/lnet/lnet' failed
make[4]: *** [drivers/staging/lustre/lnet/lnet] Error 2
scripts/Makefile.build:403: recipe for target 'drivers/staging/lustre/lnet' fail ed
make[3]: *** [drivers/staging/lustre/lnet] Error 2
scripts/Makefile.build:403: recipe for target 'drivers/staging/lustre' failed
make[2]: *** [drivers/staging/lustre] Error 2
scripts/Makefile.build:403: recipe for target 'drivers/staging' failed
make[1]: *** [drivers/staging] Error 2
Makefile:1019: recipe for target 'drivers' failed
make: *** [drivers] Error 2
==> ERROR: A failure occurred in build().
Aborting...