This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Fwd: Recent newlib/cygwin change breaking cris targets
- From: Jeff Law <law at redhat dot com>
- To: newlib at sourceware dot org
- Date: Mon, 19 Aug 2019 09:08:58 -0600
- Subject: Fwd: Recent newlib/cygwin change breaking cris targets
- References: <20190817081837.GY11632@calimero.vinschen.de>
-------- 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