https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67415
--- Comment #4 from Bernhard Rosenkränzer <Bernhard.Rosenkranzer at linaro dot org> --- Relevant parameters are the same. Also, gcc-5.2/bin/arm-linux-androideabi-gcc -latomic does find libatomic -- so probably print-file-name=libatomic.a should reflect that... $ gcc-5.2/bin/arm-linux-androideabi-gcc -v Using built-in specs. COLLECT_GCC=gcc-5.2/bin/arm-linux-androideabi-gcc COLLECT_LTO_WRAPPER=/home/bero/android-toolchains/gcc-5.2/bin/../libexec/gcc/arm-linux-androideabi/5.2.0/lto-wrapper Target: arm-linux-androideabi Configured with: /mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/../build/../gcc/gcc-5.2.0/configure --prefix=/tmp/android-toolchain-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/temp-install --with-mpfr=/mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/temp-install --with-mpc=/mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/temp-install --with-isl=/mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/temp-install --with-cloog=/mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/temp-install --with-isl=/mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/temp-install --with-ppl=/mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --disable-nls --disable-libmudflap --disable-shared --disable-sjlj-exceptions --disable-libquadmath --disable-libitm --disable-libsanitizer --with-float=softfp --with-fpu=neon --with-arch=armv7-a --enable-target-optspace --prefix=/tmp/android-toolchain-eabi --disable-docs --disable-nls --with-gcc-version=5.2.0 --with-binutils-version=linaro-2.25.0-2015.01-2 --with-gmp-version=current --with-mpfr-version=current --with-mpc-version=current --with-gdb-version=current --with-ppl-version=1.1 --with-isl-version=0.14 --target=arm-linux-androideabi --enable-threads --enable-tls --enable-libgomp --disable-libitm --disable-libsanitizer --enable-libatomic --disable-libstdc__-v3 : (reconfigured) /mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/../build/../gcc/gcc-5.2.0/configure --prefix=/tmp/android-toolchain-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/temp-install --with-mpfr=/mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/temp-install --with-mpc=/mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/temp-install --with-isl=/mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/temp-install --with-cloog=/mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/temp-install --with-isl=/mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/temp-install --with-ppl=/mnt/jenkins/workspace/linaro-android_toolchain-5.2.0/build/objdir/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --disable-nls --disable-libmudflap --disable-shared --disable-sjlj-exceptions --disable-libquadmath --disable-libitm --disable-libsanitizer --with-float=softfp --with-fpu=neon --with-arch=armv7-a --enable-target-optspace --prefix=/tmp/android-toolchain-eabi --disable-docs --disable-nls --with-gcc-version=5.2.0 --with-binutils-version=linaro-2.25.0-2015.01-2 --with-gmp-version=current --with-mpfr-version=current --with-mpc-version=current --with-gdb-version=current --with-ppl-version=1.1 --with-isl-version=0.14 --target=arm-linux-androideabi --enable-threads --enable-tls --enable-libgomp --disable-libitm --disable-libsanitizer --enable-libatomic --disable-libstdc__-v3 Thread model: posix gcc version 5.2.0 (GCC) $ gcc-4.9/bin/arm-linux-androideabi-gcc -v Using built-in specs. COLLECT_GCC=gcc-4.9/bin/arm-linux-androideabi-gcc COLLECT_LTO_WRAPPER=/home/bero/android-toolchains/gcc-4.9/bin/../libexec/gcc/arm-linux-androideabi/4.9.4/lto-wrapper Target: arm-linux-androideabi Configured with: /mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/../build/../gcc/gcc-linaro-4.9-2015.06/configure --prefix=/tmp/android-toolchain-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/temp-install --with-mpfr=/mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/temp-install --with-mpc=/mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/temp-install --with-isl=/mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/temp-install --with-cloog=/mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/temp-install --with-isl=/mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/temp-install --with-ppl=/mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --disable-nls --disable-libmudflap --disable-shared --disable-sjlj-exceptions --disable-libquadmath --disable-libitm --disable-libsanitizer --with-float=softfp --with-fpu=neon --with-arch=armv7-a --enable-target-optspace --prefix=/tmp/android-toolchain-eabi --disable-docs --disable-nls --with-gcc-version=linaro-4.9-2015.06 --with-binutils-version=linaro-2.25.0-2015.01-2 --with-gmp-version=current --with-mpfr-version=current --with-mpc-version=current --with-gdb-version=current --with-ppl-version=1.1 --with-isl-version=0.14 --target=arm-linux-androideabi --enable-threads --enable-tls --enable-libgomp --disable-libitm --disable-libsanitizer --enable-libatomic --disable-libstdc__-v3 : (reconfigured) /mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/../build/../gcc/gcc-linaro-4.9-2015.06/configure --prefix=/tmp/android-toolchain-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/temp-install --with-mpfr=/mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/temp-install --with-mpc=/mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/temp-install --with-isl=/mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/temp-install --with-cloog=/mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/temp-install --with-isl=/mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/temp-install --with-ppl=/mnt/jenkins/workspace/linaro-android_toolchain-4.9-2015.06/build/objdir/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --disable-nls --disable-libmudflap --disable-shared --disable-sjlj-exceptions --disable-libquadmath --disable-libitm --disable-libsanitizer --with-float=softfp --with-fpu=neon --with-arch=armv7-a --enable-target-optspace --prefix=/tmp/android-toolchain-eabi --disable-docs --disable-nls --with-gcc-version=linaro-4.9-2015.06 --with-binutils-version=linaro-2.25.0-2015.01-2 --with-gmp-version=current --with-mpfr-version=current --with-mpc-version=current --with-gdb-version=current --with-ppl-version=1.1 --with-isl-version=0.14 --target=arm-linux-androideabi --enable-threads --enable-tls --enable-libgomp --disable-libitm --disable-libsanitizer --enable-libatomic --disable-libstdc__-v3 Thread model: posix gcc version 4.9.4 20150629 (prerelease) (Linaro GCC 4.9-2015.06)