This is the mail archive of the gcc@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]

Re: arm/thumb broken on head


On Tue, Nov 11, 2014 at 3:16 PM, Joel Sherrill
<joel.sherrill@oarcorp.com> wrote:
>
>> Fix is committed to trunk at
>> https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=217341.
>>
>> BR,
>> Terry
>>
> That got past libgcc2 but now it fails building newlib for arm-eabi.
> This is just a build of gcc with newlib and libgloss symlinked into
> the source. You should be able to duplicate this. But if you need a
> preprocessed file, I will send one.
>
> /users/joel/test-gcc/b-arm-eabi-gcc/./gcc/xgcc
> -B/users/joel/test-gcc/b-arm-eabi-gcc/./gcc/ -nostdinc
> -B/users/joel/test-gcc/b-arm-eabi-gcc/arm-eabi/thumb/newlib/ -isystem
> /users/joel/test-gcc/b-arm-eabi-gcc/arm-eabi/thumb/newlib/targ-include
> -isystem /users/joel/test-gcc/gcc/newlib/libc/include
> -B/users/joel/test-gcc/b-arm-eabi-gcc/arm-eabi/thumb/libgloss/arm
> -L/users/joel/test-gcc/b-arm-eabi-gcc/arm-eabi/thumb/libgloss/libnosys
> -L/users/joel/test-gcc/gcc/libgloss/arm
> -B/users/joel/test-gcc/install-head/arm-eabi/bin/
> -B/users/joel/test-gcc/install-head/arm-eabi/lib/ -isystem
> /users/joel/test-gcc/install-head/arm-eabi/include -isystem
> /users/joel/test-gcc/install-head/arm-eabi/sys-include  -mthumb
> -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
> -DPACKAGE_VERSION=\"2.1.0\" -DPACKAGE_STRING=\"newlib\ 2.1.0\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I.
> -I../../../../../../gcc/newlib/libc/stdlib -DARM_RDI_MONITOR
> -fno-builtin      -g -O2  -mthumb -c -o lib_a-ecvtbuf.o `test -f
> 'ecvtbuf.c' || echo '../../../../../../gcc/newlib/libc/stdlib/'`ecvtbuf.c
> In file included from
> ../../../../../../gcc/newlib/libc/stdlib/ecvtbuf.c:70:0:
> /users/joel/test-gcc/gcc/newlib/libc/include/stdlib.h: In function
> 'fcvtbuf':
> /users/joel/test-gcc/gcc/newlib/libc/include/stdlib.h:175:8: error:
> non-trivial conversion at assignment
>  char * _EXFUN(fcvtbuf,(double, int, int*, int*, char *));
>         ^
> sizetype
> int
> _64 = _37;
> /users/joel/test-gcc/gcc/newlib/libc/include/stdlib.h:175:8: internal
> compiler error: verify_gimple failed
> 0x9602d1 verify_gimple_in_cfg(function*, bool)
>     ../../gcc/gcc/tree-cfg.c:5039
> 0x86fd06 execute_function_todo
>     ../../gcc/gcc/passes.c:1868
> 0x870733 execute_todo
>     ../../gcc/gcc/passes.c:1925
> Please submit a full bug report,
> with preprocessed source if appropriate.

That certainly looks like a different issue to the one with Terry's
patch. It does look like something else is broken in one of the tree
passes, maybe worth a bugzilla with pre-processed source and configury
options.


Ramana

>
> --
> Joel Sherrill, Ph.D.             Director of Research & Development
> joel.sherrill@OARcorp.com        On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
> Support Available                (256) 722-9985
>


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