When cross-compiling GCC into stage3, set gcc_cv_as_leb128=no
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 12 Aug 2016 08:04:30 +0000 (09:04 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 12 Aug 2016 08:06:24 +0000 (09:06 +0100)
commit62495c8b131c67880142b22334456ccbd338fb70
tree3adda43e4428d132f2925d16b5117cca5588c27f
parent67023d0cf86b17c5e6dff8fad65f223a04ec1b25
When cross-compiling GCC into stage3, set gcc_cv_as_leb128=no

The GCC configure script checks for .sleb128 and .uleb128 assembler
directives.  These are disabled on RISC-V binutils.  However GCC
checks /usr/bin/as, not the real assembler, so the check fails.

See also the sw-dev thread
".uleb128 directives in GCC 6.1.0 output not understood by binutils 2.27"

This should fix the stage3 RPM build of glibc.
Makefile