This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/70831] New: FTBFS: Build fails with bootstrap-lto and profiledbootstrap
- From: "jeffbai at aosc dot xyz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 27 Apr 2016 20:23:37 +0000
- Subject: [Bug lto/70831] New: FTBFS: Build fails with bootstrap-lto and profiledbootstrap
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70831
Bug ID: 70831
Summary: FTBFS: Build fails with bootstrap-lto and
profiledbootstrap
Product: gcc
Version: 6.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: jeffbai at aosc dot xyz
Target Milestone: ---
A build failure is observed today when I tested building GCC with both
./configure ... \
--with-build-config=bootstrap-lto
and
make profiledboostrap
The build fails when linking libmpx/mpxwrap target, detailed error is shown
below.
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/libmpx/mpxwrap/mpx_wrappers.c:520:1:
note: '__mpx_wrapper_strncat' was previously declared here
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/libmpx/mpxwrap/mpx_wrappers.c:520:1:
note: code may be misoptimized unless -fno-strict-aliasing is used
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/libmpx/mpxwrap/mpx_wrappers.c: In
function '__mpx_wrapper_malloc.chkp':
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/libmpx/mpxwrap/mpx_wrappers.c:35:9:
internal compiler error: in ultimate_transparent_alias_target, at varasm.c:1263
void *p = (void *)malloc (size);
^
0x592d11 ultimate_transparent_alias_target
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/varasm.c:1263
0xb68514 ultimate_transparent_alias_target
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/varasm.c:1472
0xb68514 make_decl_rtl(tree_node*)
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/varasm.c:1349
0x5fc4f2 rtx_for_function_call
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/calls.c:1819
0x5fc4f2 expand_call(tree_node*, rtx_def*, int)
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/calls.c:3152
0x6d95a3 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/expr.c:10589
0x6e2ae9 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool,
tree_node*)
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/expr.c:5406
0x6e383f expand_assignment(tree_node*, tree_node*, bool)
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/expr.c:5175
0x6087bc expand_call_stmt
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/cfgexpand.c:2658
0x6087bc expand_gimple_stmt_1
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/cfgexpand.c:3548
0x6087bc expand_gimple_stmt
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/cfgexpand.c:3714
0x60a155 expand_gimple_basic_block
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.0/gcc/cfgexpand.c:5720
0x60f006 execute
/var/lib/abbs/build/tmp.oxb17wrLIQ/gcc-6.1.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.
See <https://github.com/AOSC-Dev/aosc-os-core> for instructions.