I am trying to cross-compile flac 1.2.1 (from
http://downloads.sourceforge.net/flac/) for an ARM processor. The toolchain I
am using is based on a pretty recent buildroot snapshot (20090130).


Here's the output of gcc -v:

Using built-in specs.
Target: arm-linux-uclibcgnueabi
Configured with: /home/sven/buildroot/toolchain_build_arm/gcc-4.3.2/configure
--prefix=/usr --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu
--target=arm-linux-uclibcgnueabi --enable-languages=c,c++
--with-sysroot=/home/sven/buildroot/build_arm/staging_dir
--with-build-time-tools=/home/sven/buildroot/build_arm/staging_dir/usr/arm-linux-uclibcgnueabi/bin
--disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --enable-shared
--with-gmp=/home/sven/buildroot/toolchain_build_arm/gmp
--with-mpfr=/home/sven/buildroot/toolchain_build_arm/mpfr --disable-nls
--enable-threads --disable-multilib --disable-decimal-float --with-float=soft
--with-abi=aapcs --with-arch=iwmmxt --with-tune=iwmmxt
Thread model: posix
gcc version 4.3.2 (GCC) 


Here's the command that breaks and the output from the compiler:

/home/sven/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-gcc
-Os -I/home/sven/buildroot/build_arm/staging_dir/usr/include
-I/home/sven/buildroot/build_arm/staging_dir/include
--sysroot=/home/sven/buildroot/build_arm/staging_dir/ -isysroot
/home/sven/buildroot/build_arm/staging_dir -mabi=aapcs -msoft-float
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-DARM_UNROLL_FIX -DHAVE_CONFIG_H -I. -I. -I../.. -DFLaC__INLINE=__inline__
-DNDEBUG -I../.. -I./include -I../../include
-I/home/sven/buildroot/build_arm/staging_dir/usr/include -I/usr/include -O3
-funroll-loops -finline-functions -Wall -W -Winline -Os
-I/home/sven/buildroot/build_arm/staging_dir/usr/include
-I/home/sven/buildroot/build_arm/staging_dir/include
--sysroot=/home/sven/buildroot/build_arm/staging_dir/ -isysroot
/home/sven/buildroot/build_arm/staging_dir -mabi=aapcs -msoft-float
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-DARM_UNROLL_FIX -MT bitreader.lo -MD -MP -MF .deps/bitreader.Tpo -c
bitreader.c  -fPIC -DPIC -o .libs/bitreader.o
bitreader.c: In function 'bitreader_read_from_client_':
bitreader.c:288: internal compiler error: Segmentation fault


-- 
           Summary: internal compiler error when cross-compiling flac
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: s dot neumann at phase-zero dot de
  GCC host triplet: i486-linux-gnu
GCC target triplet: arm-linux-uclibcgnueabi


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39076

Reply via email to