This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/49398] New: [4.7 ] bootstrap broken for arm-linux-gnueabi with thumb mode.


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

           Summary: [4.7 ] bootstrap broken for arm-linux-gnueabi with
                    thumb mode.
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ramana@gcc.gnu.org
                CC: rearnsha@arm.com, ramana@gcc.gnu.org,
                    carrot@gcc.gnu.org, michael.hope@linaro.org


Created attachment 24513
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24513
Original test case.

Originally found by Michael Hope's bootstrap builds . 

Rev 174940 appears to break bootstrap for --target=arm-linux-gnueabi
--with-cpu=cortex-a9 --with-fpu=neon --with-float=softfp --with-mode=thumb. 

Bootstrap fails during the build of libiberty - from Michaels' logs here. 

http://builds.linaro.org/toolchain/gcc-4.7~svn174981/logs/armv7l-maverick-cbuild130-ursa4-cortexa9r1/gcc-build.txt


Bisecting using a cross-compiler lead me to this revision.

The cross-compiler was configured as follows : 

/home/ramrad01/sources/fsf/trunk/configure --target=arm-linux-gnueabi
--with-cpu=cortex-a9 --with-fpu=neon --with-float=softfp --enable-languages=c



ramrad01@e102742:/work/cross-build/build-174940/gcc$ !./xgcc
./xgcc -B`pwd` -mthumb -g -O2  ~/Downloads/regex.i  -S
../../../gcc-4.7~/libiberty/regex.c: In function âxre_search_2â:
../../../gcc-4.7~/libiberty/regex.c:4961:1: internal compiler error: in
cselib_record_set, at cselib.c:2224
Please submit a full bug report,
with preprocessed source if appropriate.

ramrad01@e102742:/work/cross-build/build-174938/gcc$ !./xgcc
./xgcc -B`pwd` -mthumb -g -O2  ~/Downloads/regex.i  -S

ICE disappears without -g - (So not sure if 174940 is the cause or it just
appears to trigger it) . 


cheers
Ramana


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]