This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Recent newlib/cygwin change breaking cris targets
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: Newlib <newlib at sourceware dot org>
- Date: Mon, 19 Aug 2019 18:05:20 -0400
- Subject: Re: Recent newlib/cygwin change breaking cris targets
- References: <20190817081837.GY11632@calimero.vinschen.de> <0bdf5c38-fe3b-b657-df45-8f0b73e901c7@redhat.com>
I have posted a fix that should solve the problem. I don't have a cris-elf
toolchain to test so if there are any issues,
please let me know.
-- Jeff J.
On Mon, Aug 19, 2019 at 11:09 AM Jeff Law <law@redhat.com> wrote:
>
>
>
> -------- Forwarded Message --------
> Subject: Re: Recent newlib/cygwin change breaking cris targets
> Date: Sat, 17 Aug 2019 10:18:37 +0200
> From: Corinna Vinschen <vinschen@redhat.com>
> To: Jeff Law <law@redhat.com>
>
> On Aug 16 12:35, Jeff Law wrote:
> > Your most recent change to newlib-cygwin is breaking the cris-elf and
> > crisv32-elf targets:
> >
> >
> >
> > In file included from fstat.c:7:
> > fstat.c: In function ‘_fstat’:
> > fstat.c:29:22: error: ‘struct new_stat’ has no member named ‘st_atim’;
> > did you mean ‘st_atime’?
> > 29 | buf->st_atime = ks.st_atime;
> > | ^~~~~~~~
> > fstat.c:30:22: error: ‘struct new_stat’ has no member named ‘st_mtim’;
> > did you mean ‘st_mtime’?
> > 30 | buf->st_mtime = ks.st_mtime;
> > | ^~~~~~~~
> > fstat.c:31:22: error: ‘struct new_stat’ has no member named ‘st_ctim’;
> > did you mean ‘st_ctime’?
> > 31 | buf->st_ctime = ks.st_ctime;
> > | ^~~~~~~~
> >
> > I think you need to update libgloss/cris/gensyscalls.
>
> Can you please send this to the newlib ML, ideally with patch?
> My patch was the result of a discussion starting at
>
> https://sourceware.org/ml/newlib/2019/msg00479.html
>
>
> Thanks,
> Corinna
>