← Back to team overview

linaro-release team mailing list archive

[Bug 809768] Re: Linaro GCC 4.6-2011.06-0 gets ICE when compiling bionic's libm

 

** Changed in: gcc-linaro
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Linaro
Release Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/809768

Title:
  Linaro GCC 4.6-2011.06-0 gets ICE when compiling bionic's libm

Status in Linaro GCC:
  In Progress

Bug description:
  Attached is the .i file that causes the ICE. It occurs when using a Linaro GCC 4.6-2011.06-0 based Android toolchain to compile the bionic libm. A prebuilt toolchain can be found at:
    https://android-build.linaro.org/builds/~linaro-android/toolchain-4.6-2011.06-0/ 

  I think it has been built like this (at least I was able to reproduce the ICE using the following steps):
    mkdir linaro-4.6-toolchain && cd linaro-4.6-toolchain
    mkdir bin
    wget -O bin/repo http://android.git.kernel.org/repo
    chmod a+x bin/repo
    export PATH="`pwd`/bin:$PATH"
    repo init -u git://git.linaro.org/android/toolchain/manifest.git
    repo sync
    LINARO_BUILD_EXTRA_CONFIGURE_FLAGS=--disable-libquadmath build/linaro-build.sh --with-gcc="http://launchpad.net/gcc-linaro/4.6/4.6-2011.06-0/+download/gcc-linaro-4.6-2011.06-0.tar.bz2"; --prefix=`readlink -f $(pwd)/../linaro-4.6-toolchain-install` &> build_$(date +%Y-%m-%d_%H-%M).log & 

  These are the flags to get the ICE:
     ../linaro-4.6-toolchain-install/bin/arm-eabi-gcc -c -march=armv7-a -mfloat-abi=softfp -mfpu=neon -g -O1 e_cosh.i

  You get something like this:
    bionic/libm/src/e_cosh.c: In function 'cosh':
    bionic/libm/src/e_cosh.c:86:1: internal compiler error: Segmentation fault

  One interesting detail is that it works when using the Linaro GCC
  4.6-2011.05-0 (http://launchpad.net/gcc-
  linaro/4.6/4.6-2011.05-0/+download/gcc-linaro-4.6-2011.05-0.tar.bz2).

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc-linaro/+bug/809768/+subscriptions