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

Downs default_357-line at yahoo.de
Tue Aug 14 11:22:21 PDT 2007


Jason House wrote:
> 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

I've encountered the same problem. The solution is to patch the file
manually (apply the edits in tree-sra.c.rej to tree-sra.c, it's only two
blocks); it seems some line number offsets in the patch are screwed up.
If you patch it manually, it seems to work.

Definitely a gdc problem, though.
 --downs


More information about the D.gnu mailing list