This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: diag serial port and debug serial port conflict?


"Charles F." wrote:
> 
> I am sure they are initialized to the same speed. Yesterday I tried to use
> non-optimization setting (delete the -O2 switch in general build settings)
> to compile ecos and it works! I guess there is something wrong with the
> optimized serial port intialization code. I have experience porting WinCE to
> 4373 board and once I met this kind of problem too. Am I right?

Quite possible. It would be useful if you could investigate this further
and determine whether it is a bug in our code (non-standard code that the
compiler is "allowed" to misoptimize), or a bug in the compiler itself. And
report it either to us, or the gcc folks at http://gcc.gnu.org/ with an
appropriate small test case :-).

Thanks,

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

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