https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65837
Bug ID: 65837 Summary: [arm-linux-gnueabihf] lto1 target specific builtin not available Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: prathamesh3492 at gcc dot gnu.org Hi, I got the following error while building chromium on arm-linux-gnueabihf with LTO enabled when linking libshared_memory_support.so: lto1: fatal error: target specific builtin not available Full command line used for linking: http://pastebin.com/2ANsEyMn This appears to be same as PR45790 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45790), which was opened for rs6000 for gcc-4.6. Since it is fixed for rs6000, I am not sure if I should have re-opened it. gcc -v: Using built-in specs. COLLECT_GCC=/home/prathamesh.kulkarni/gcc-linaro-6.0/bin/arm-linux-gnueabihf-gcc COLLECT_LTO_WRAPPER=/home/prathamesh.kulkarni/gcc-linaro-6.0/bin/../libexec/gcc/arm-linux-gnueabihf/6.0.0/lto-wrapper Target: arm-linux-gnueabihf Configured with: '/home/prathamesh.kulkarni/gnu-toolchain/src/gcc.git~gcc-chromium/configure' SHELL=/bin/bash --with-bugurl=https://bugs.linaro.org --with-mpc=/home/prathamesh.kulkarni/gnu-toolchain/gcc-chromium-arm-linux-gnueabihf/builds/destdir/x86_64-unknown-linux-gnu --with-mpfr=/home/prathamesh.kulkarni/gnu-toolchain/gcc-chromium-arm-linux-gnueabihf/builds/destdir/x86_64-unknown-linux-gnu --with-gmp=/home/prathamesh.kulkarni/gnu-toolchain/gcc-chromium-arm-linux-gnueabihf/builds/destdir/x86_64-unknown-linux-gnu --with-gnu-as --with-gnu-ld --disable-libstdcxx-pch --disable-libmudflap --with-cloog=no --with-ppl=no --with-isl=no --disable-nls --enable-multiarch --disable-multilib --enable-c99 --with-tune=cortex-a9 --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-shared --enable-static --with-build-sysroot=/home/prathamesh.kulkarni/gnu-toolchain/gcc-chromium-arm-linux-gnueabihf/sysroots/arm-linux-gnueabihf --enable-lto --enable-linker-build-id --enable-long-long --enable-shared --with-sysroot=/home/prathamesh.kulkarni/gnu-toolchain/gcc-chromium-arm-linux-gnueabihf/builds/destdir/x86_64-unknown-linux-gnu/libc --enable-languages=c,c++,lto --enable-fix-cortex-a53-835769 --enable-checking=yes --disable-bootstrap --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=arm-linux-gnueabihf --prefix=/home/prathamesh.kulkarni/gnu-toolchain/gcc-chromium-arm-linux-gnueabihf/builds/destdir/x86_64-unknown-linux-gnu Thread model: posix gcc version 6.0.0 20150418 (experimental) (GCC) Thank you, Prathamesh