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 / 956
955  |  957
Subject: 
Re: memcpy patch for gcc 2.95.2 wanted
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 26 Mar 2000 02:29:31 GMT
Viewed: 
2129 times
  
On Sun, 26 Mar 2000, Ben Jackson wrote:
In lugnet.robotics.rcx.legos, Rossz Vámos-Wentworth writes:
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.

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 else would take it from there!


Sorry... I was going to recommend the same thing last night, but got
sidetracked (it has been a tough two days to be a Duke basketball fan.) I
have a question: from where in the code is the incorrect assembly
generated? i.e., could it be something that Markus is specifying
incorrectly or is it definitely a compiler problem? If it is definitely a
compiler problem, the egcs/gcc people should be told about it and a bug
filed (however they handle that.)
-Luis

#######################################################################

     Profanity is the one language that all programmers understand.
                  -Anonymous

#######################################################################



Message has 1 Reply:
  Re: memcpy patch for gcc 2.95.2 wanted
 
(...) I think the compiler was generating incorrect code. I'm no gcc expert, but the asm macros looked OK to me, and besides, why should the macro work in one compiler version & not the other? FYI, I fixed it by compiling the source to an assembler (...) (24 years ago, 26-Mar-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  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 (...) (24 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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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