This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/65858] New: ICE in varpool_node::get_constructor during chromium build on arm-linux-gnueabihf with LTO during LINK chrome
- From: "prathamesh3492 at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 23 Apr 2015 13:11:09 +0000
- Subject: [Bug ipa/65858] New: ICE in varpool_node::get_constructor during chromium build on arm-linux-gnueabihf with LTO during LINK chrome
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65858
Bug ID: 65858
Summary: ICE in varpool_node::get_constructor during chromium
build on arm-linux-gnueabihf with LTO during LINK
chrome
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: prathamesh3492 at gcc dot gnu.org
Created attachment 35390
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35390&action=edit
disable LTO in Webkit/Source/core/core.gyp and Webkit/Source/web/web.gyp
Hi,
This seems related to PR65776. During building chromium on arm-linux-gnueabihf,
I disabled LTO for lib/libblink_web.so (PR65776),
but got ICE in varpool_node::get_cosntructor() during LINK chrome
Full command line used for linking: http://pastebin.com/fuq4y7QY
[19024/19024] LINK chrome
lto1: internal compiler error: in get_constructor, at varpool.c:331
0xc6abf3 varpool_node::get_constructor()
/home/prathamesh.kulkarni/gnu-toolchain/src/gcc.git~gcc-chromium/gcc/varpool.c:331
0xc6bb33 varpool_node::assemble_decl()
/home/prathamesh.kulkarni/gnu-toolchain/src/gcc.git~gcc-chromium/gcc/varpool.c:602
0xc6c675 symbol_table::output_variables()
/home/prathamesh.kulkarni/gnu-toolchain/src/gcc.git~gcc-chromium/gcc/varpool.c:758
0x5d8953 symbol_table::compile()
/home/prathamesh.kulkarni/gnu-toolchain/src/gcc.git~gcc-chromium/gcc/cgraphunit.c:2385
0x549e99 lto_main()
/home/prathamesh.kulkarni/gnu-toolchain/src/gcc.git~gcc-chromium/gcc/lto/lto.c:3496
I have attached patch for disabling LTO for Webkit (to prevent ICE in linking
libblink_web.so).
Thank you,
Prathamesh