To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 950
949  |  951
Subject: 
memcpy patch for gcc 2.95.2 wanted
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 24 Mar 2000 19:37:26 GMT
Viewed: 
2424 times
  
In an attempt to track down my RCX lockup problems I've been rereading
the older messages and came across the discussion that sounded exactly
like my problem:  the RCX locks up when dll is executed.  The conclusion
was that bad code was generated for the memcpy function, but I didn't
see a solution posted.

Does anyone have a replacement for memcpy.c that I can plug in?  If you
can post it here or email it to rossw@jps.net I would appreciate it
greatly.

Rossz



Message has 2 Replies:
  Re: memcpy patch for gcc 2.95.2 wanted
 
I've been able to fix my code by hand modifying the assembler code that is produced and using that instead of the .c code. I'm concerned, however, that the bug in GCC might manifest itself in other ways. Is there a patch for GCC available somewhere? (...) (25 years ago, 25-Mar-00, to lugnet.robotics.rcx.legos)
  Re: memcpy patch for gcc 2.95.2 wanted
 
(...) That was probably me. I don't know anything about GCC asm macros so I wasn't sure if it was a bug in memcpy or a bug in GCC's code generation. I solved the problem by going to egcs-1.1.2 which generates correct code. I was hoping that someone (...) (25 years ago, 26-Mar-00, to lugnet.robotics.rcx.legos)

11 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR