This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: perror() changes the orientation of stderr to byte-oriented mode if stderr is not oriented yet.


On Jul  5 09:31, Andre Vieira (lists) wrote:
> On 04/07/18 13:20, Corinna Vinschen wrote:
> > On Jul  3 19:19, Takashi Yano wrote:
> >> On Tue, 3 Jul 2018 18:22:30 +0900
> >> Takashi Yano wrote:
> >>>> I guess the simplest solution is to use the FreeBSD/OpenBSD method
> >>>> all the time.
> >>>
> >>> How about the patch attached?
> >>
> >> Fix typo in commit message.
> >>
> >> -- 
> >> Takashi Yano <takashi.yano@nifty.ne.jp>
> > 
> > Pushed.
> > 
> > 
> > Thanks,
> > Corinna
> > 
> Hi Takashi, Corinna,
> 
> This patch is breaking our arm and aarch64 bare-metal builds.  It seems
> it can't find sys/uio.h.
> 
> It seems newlib provides a couple of them:
> ./newlib/libc/machine/spu/sys/uio.h
> ./newlib/libc/sys/phoenix/sys/uio.h
> ./newlib/libc/sys/rtems/include/sys/uio.h
> ./winsup/cygwin/include/sys/uio.h
> 
> 
> Do I need to add one for arm and aarch64?  Should there be a default
> one? Suggestions?

Ouch!  I didn't realize that writev is not a required function on
bare metal, sorry.

Takashi, we need a patch to implement perror/psignal without writev, for
instance by calling write twice.  Care to send a followup patch?


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: signature.asc
Description: PGP signature


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