This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ipa/70366] New: chromium fails to build with LTO due to segfault in ipa-inline-transform.c:inline_call


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70366

            Bug ID: 70366
           Summary: chromium fails to build with LTO due to segfault in
                    ipa-inline-transform.c:inline_call
           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
  Target Milestone: ---

I tried building Chromium with LTO for arm-linux-gnueabihf and resulted in
segfault.
Backtrace:
http://pastebin.com/sX6yKLBP
Looks like it's probably caused by r231095.
Reverting that commit prevented the segfault.

GYP_DEFINES=target_arch=arm arm_float_abi=hard clang=0 host_clang=0
linux_use_gold_flags=1 linux_use_bundled_binutils=0 disable_nacl=1 werror=

arm-linux-gnueabihf-gcc -v:
Using built-in specs.
COLLECT_GCC=./arm-linux-gnueabihf-gcc
COLLECT_LTO_WRAPPER=/home/bilbo/chromium/armhf-toolchain/libexec/gcc/arm-linux-gnueabihf/6.0.0/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../gcc.git/configure
--prefix=/home/bilbo/chromium/armhf-toolchain
--with-sysroot=/home/bilbo/chromium/src/build/linux/debian_wheezy_arm-sysroot
--enable-languages=c,c++,lto --disable-bootstrap --disable-werror --disable-nls
--with-float=hard --with-mode=thumb --with-arch=armv7-a --with-fpu=vfpv3-d16
--with-tune=cortex-a9 --disable-multilib --enable-multiarch
--target=arm-linux-gnueabihf : (reconfigured) ../gcc.git/configure
--prefix=/home/bilbo/chromium/armhf-toolchain
--with-sysroot=/home/bilbo/chromium/src/build/linux/debian_wheezy_arm-sysroot
--disable-bootstrap --disable-werror --disable-nls --with-float=hard
--with-mode=thumb --with-arch=armv7-a --with-fpu=vfpv3-d16
--with-tune=cortex-a9 --disable-multilib --enable-multiarch
--target=arm-linux-gnueabihf target_alias=arm-linux-gnueabihf
--enable-languages=c,c++,lto --no-create --no-recursion


Thanks,
Prathamesh

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]