setup-gcc.sh fails to patch tree-sra.c

Carlos Santander csantander619 at gmail.com
Mon Aug 13 11:10:09 PDT 2007


Jason House escribió:
 > Carlos Santander Wrote:
 >
 >> Jason House escribió:
 >>> I have tried to build gdc, but no matter what version of gcc I use, the 
patch to tree-sra.c always fails.  I have tried with 4.0.4 and 4.1.2
 >>>
 >>> With 4.0.4, here's what I get:
 >>>
 >>> gcc-4.0.4$ gcc/d/setup-gcc.sh
 >>> patching file Makefile.def
 >>> patching file Makefile.in
 >>> patching file configure
 >>> Hunk #4 succeeded at 5152 (offset 6 lines).
 >>> patching file configure.in
 >>> Hunk #4 succeeded at 2181 (offset 6 lines).
 >>> patching file cgraph.c
 >>> patching file config/i386/i386.c
 >>> Hunk #2 succeeded at 16034 (offset 59 lines).
 >>> patching file config/rs6000/rs6000.c
 >>> Hunk #1 succeeded at 15326 (offset 43 lines).
 >>> patching file dwarf2.h
 >>> patching file dwarf2out.c
 >>> Hunk #1 succeeded at 5165 (offset -1 lines).
 >>> Hunk #2 succeeded at 11890 (offset 9 lines).
 >>> patching file expr.c
 >>> Hunk #1 succeeded at 8221 (offset 4 lines).
 >>> patching file function.c
 >>> patching file function.h
 >>> patching file gcc.c
 >>> patching file gcc.h
 >>> patching file gimplify.c
 >>> Hunk #1 succeeded at 3861 (offset 17 lines).
 >>> patching file tree-dump.c
 >>> patching file tree-gimple.c
 >>> Hunk #1 succeeded at 71 (offset -2 lines).
 >>> Hunk #2 succeeded at 144 (offset -2 lines).
 >>> patching file tree-inline.c
 >>> patching file tree-nested.c
 >>> patching file tree-pretty-print.c
 >>> patching file tree-sra.c
 >>> Hunk #1 FAILED at 196.
 >>> Hunk #2 FAILED at 207.
 >>> 2 out of 2 hunks FAILED -- saving rejects to file tree-sra.c.rej
 >>> patching file tree.def
 >>> Hunk #1 succeeded at 529 (offset 1 line).
 >>> patching file real.c
 >>>
 >>> PS: What's the best way for me to report issues like this?
 >> Can you try building GDC, anyway? Maybe it works.
 >> I think I also got that message, but I'm not 100% sure. GDC works just fine 
for me.
 >>
 >> --
 >> Carlos Santander Bernal
 >
 >
 > Doesn't look like it... Or maybe I should say that I get another error...
 > gcc/configure: line 15228: gcc/c-config-lang.in: No such file or directory
 >
 > Here's the full output of configure:
 >
 > $ gcc/configure

I can't help with that error, but I'm wondering about that command line. Are you 
running something like gcc-4.1.2/gcc/configure ? Shouldn't you be running 
gcc-4.1.2/configure ?

-- 
Carlos Santander Bernal



More information about the D.gnu mailing list