This is the mail archive of the 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: GCC build failed for native with your patch on 2003-10-06T06:15:01Z.

Lets try this again (one more off by one error):
Index: config/darwin.c
RCS file: /cvs/gcc/gcc/gcc/config/darwin.c,v
retrieving revision 1.48
diff -u -p -r1.48 darwin.c
--- config/darwin.c     6 Oct 2003 06:11:14 -0000       1.48
+++ config/darwin.c     6 Oct 2003 06:35:10 -0000
@@ -391,12 +391,12 @@ machopic_stub_name (const char *name)

     if (needs_quotes)
-        memcpy (buffer + bufferlen +1, "$stub\"", strlen("$stub\""));
+        memcpy (buffer + bufferlen +1, "$stub\"", strlen("$stub\"")+1);
         bufferlen += strlen("$stub\"");
-        memcpy (buffer + bufferlen +1, "$stub", strlen("$stub"));
+        memcpy (buffer + bufferlen +1, "$stub", strlen("$stub")+1);
         bufferlen += strlen("$stub");
     ptr_name = get_identifier (buffer);

Andrew Pinski

On Oct 5, 2003, at 23:30, GCC regression checker wrote:

With your recent patch, GCC does not compile on:
Attached is build output for those targets.

The last time the regression tests were run, GCC did not compile either,
so the problem might not be caused by your patch.

For more information, see
Geoffrey Keating <>
(via an automated GCC regression-testing script.)

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