← Back to team overview

linaro-release team mailing list archive

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

 

You have been subscribed to a public bug by Alexander Sack (asac):

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).

** Affects: gcc-linaro
     Importance: Undecided
     Assignee: Richard Sandiford (rsandifo)
         Status: In Progress

-- 
Linaro GCC 4.6-2011.06-0 gets ICE when compiling bionic's libm
https://bugs.launchpad.net/bugs/809768
You received this bug notification because you are a member of Linaro Release Team, which is subscribed to the bug report.