https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121690

--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> This sounds like some kernel buffering issue dealing with expect. 
> 
> What exactly version of the xnu kernel are you seeing this with?
> 
> I remember hearing about some issue in this area before too.


I have encountered this (in the JIT testsuite, and actually added a work-around
to the JIT test harness for Darwin).  Don't recall whether I got to the bottom
of where the extra \r was coming from.

expect is one of my least favourite codes to work on - it's such a maze of
conditional code - however I do publish a version with some Darwin fixes
(although TBH I believe most of those have been pulled into the Apple version -
so it might not be so relevant on newer OS versions).

https://github.com/iains/darwin-expect

Reply via email to