https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85450

--- Comment #6 from rguenther at suse dot de <rguenther at suse dot de> ---
On Thu, 26 Apr 2018, clyon at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85450
> 
> Christophe Lyon <clyon at gcc dot gnu.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |clyon at gcc dot gnu.org
> 
> --- Comment #5 from Christophe Lyon <clyon at gcc dot gnu.org> ---
> Hi Richard,
> 
> This patch (r259667) makes the newlib build fail on aarch64_be-none-elf.
> 
> I'm seeing this in my build log:
> aarch64_be-none-elf-gcc
> -B/tmp/7730760_9.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/newlib/aarch64_be-none-elf/ilp32/newlib/
> -isystem
> /tmp/7730760_9.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/newlib/aarch64_be-none-elf/ilp32/newlib/targ-include
> -isystem /tmp/7730760_9.tmpdir/aci-gcc-fsf/sources/newlib/newlib/libc/include
> -B/tmp/7730760_9.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/newlib/aarch64_be-none-elf/ilp32/libgloss/aarch64
> -L/tmp/7730760_9.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/newlib/aarch64_be-none-elf/ilp32/libgloss/libnosys
> -L/tmp/7730760_9.tmpdir/aci-gcc-fsf/sources/newlib/libgloss/aarch64 
> -mabi=ilp32 -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
> -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"newlib\ 2.0.0\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I.
> -I/tmp/7730760_9.tmpdir/aci-gcc-fsf/sources/newlib/newlib/libc/stdio
> -fno-builtin      -g -O2  -mabi=ilp32 -fshort-enums -DINTEGER_ONLY -c
> /tmp/7730760_9.tmpdir/aci-gcc-fsf/sources/newlib/newlib/libc/stdio/vfprintf.c
> -o lib_a-vfiprintf.o
> In file included from
> /tmp/7730760_9.tmpdir/aci-gcc-fsf/sources/newlib/newlib/libc/stdio/vfwscanf.c:109:
> /tmp/7730760_9.tmpdir/aci-gcc-fsf/sources/newlib/newlib/libc/stdio/vfwscanf.c:
> In function '__svfwscanf_r':
> /tmp/7730760_9.tmpdir/aci-gcc-fsf/sources/newlib/newlib/libc/stdio/vfwscanf.c:140:25:
> error: invalid types in nop conversion
>  #  define __SVFWSCANF_R __svfwscanf_r
>                          ^~~~~~~~~~~~~
> /tmp/7730760_9.tmpdir/aci-gcc-fsf/sources/newlib/newlib/libc/stdio/vfwscanf.c:371:8:
> note: in expansion of macro '__SVFWSCANF_R'
>  _DEFUN(__SVFWSCANF_R, (rptr, fp, fmt0, ap),
>         ^~~~~~~~~~~~~
> long long int
> void *
> _360 = (long long int) _368;
> [...]
> 
> 
> 
> 
> 
> and also:
> 0xc40fa3 verify_gimple_in_cfg(function*, bool)
>        
> /tmp/7730760_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/tree-cfg.c:5585
> 0xae70ec execute_function_todo
>        
> /tmp/7730760_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/passes.c:1994
> 0xae6e85 execute_todo
>        
> /tmp/7730760_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/passes.c:2048
> 
> I'd have to reproduce the problem manually in order to share a preprocessed
> file.

Can't investigate w/o that though.  Please also say how to configure
a cross to aarch64_be-none-elf (big-endian aarch64?  please not...)

Reply via email to