[Bug middle-end/70831] [6/7 Regression] FTBFS: Build fails with bootstrap-lto and profiledbootstrap
t at sharklasers dot com
gcc-bugzilla@gcc.gnu.org
Sun Jan 8 23:36:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70831
JD <t at sharklasers dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |t at sharklasers dot com
--- Comment #9 from JD <t at sharklasers dot com> ---
Compiling GCC 6.3 using GCC 6.3 (built without LTO):
export CFLAGS='-march=native -O3 -flto -fuse-linker-plugin
-fno-fat-lto-objects'
export CXXFLAGS=$CFLAGS
export LDFLAGS='-O3 -flto=4 -fuse-linker-plugin'
$gcc-6.3.0/configure --prefix=/home/local/gcc-6.3.0lto
--enable-languages=c,c++,fortran --enable-gold=yes --enable-ld=yes
--with-build-config=bootstrap-lto --disable-multilib
gcc-6.3.0/libmpx/mpxwrap/mpx_wrappers.c: In function
'__mpx_wrapper_malloc.chkp':
gcc-6.3.0/libmpx/mpxwrap/mpx_wrappers.c:36:9: internal compiler error: in
ultimate_transparent_alias_target, at varasm.c:1263
void *p = (void *)malloc (size);
^
0x10eaf03 ultimate_transparent_alias_target
gcc-6.3.0/gcc/varasm.c:1263
0x10eb447 make_decl_rtl(tree_node*)
gcc-6.3.0/gcc/varasm.c:1349
0x8070d9 rtx_for_function_call
gcc-6.3.0/gcc/calls.c:1829
0x80a360 expand_call(tree_node*, rtx_def*, int)
gcc-6.3.0/gcc/calls.c:3162
0x7ee34a expand_builtin_with_bounds(tree_node*, rtx_def*, rtx_def*,
machine_mode, int)
gcc-6.3.0/gcc/builtins.c:6756
0x979710 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
gcc-6.3.0/gcc/expr.c:10622
0x96e220 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier,
rtx_def**, bool)
gcc-6.3.0/gcc/expr.c:7969
0x9654c1 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool,
tree_node*)
gcc-6.3.0/gcc/expr.c:5406
0x964262 expand_assignment(tree_node*, tree_node*, bool)
gcc-6.3.0/gcc/expr.c:5175
0x820bb3 expand_call_stmt
gcc-6.3.0/gcc/cfgexpand.c:2658
0x823ac1 expand_gimple_stmt_1
gcc-6.3.0/gcc/cfgexpand.c:3548
0x824198 expand_gimple_stmt
gcc-6.3.0/gcc/cfgexpand.c:3714
0x82b316 expand_gimple_basic_block
gcc-6.3.0/gcc/cfgexpand.c:5720
0x82cdd9 execute
gcc-6.3.0/gcc/cfgexpand.c:6335
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
Bug 69791 might be related.
More information about the Gcc-bugs
mailing list