From: Stafford Horne <shorne@gmail.com>
To: Joseph Myers <joseph@codesourcery.com>
Cc: GLIBC patches <libc-alpha@sourceware.org>
Subject: Re: Upstreaming OpenRISC with GCC mainline
Date: Fri, 29 Oct 2021 18:05:08 +0900 [thread overview]
Message-ID: <YXu5RKq2yU33Swwd@antec> (raw)
In-Reply-To: <YXshxWPDrODV76Wv@antec>
On Fri, Oct 29, 2021 at 07:18:45AM +0900, Stafford Horne wrote:
> On Thu, Oct 28, 2021 at 09:45:51PM +0000, Joseph Myers wrote:
> > On Fri, 29 Oct 2021, Stafford Horne via Libc-alpha wrote:
> >
> > > On Thu, Oct 28, 2021 at 05:15:00PM +0000, Joseph Myers wrote:
> > > > On Thu, 28 Oct 2021, Stafford Horne via Libc-alpha wrote:
> > > >
> > > > > I was seeing failures there and thought the warnings I was seeing were
> > > > > affecting all architectures. But now I see the builds are mostly clean.
> > > > > So it's something I'll have to track down.
> > > >
> > > > The only issue I know of at present with GCC mainline is the testsuite
> > > > build failures for 32-bit platforms that are addressed by my patch
> > > > <https://sourceware.org/pipermail/libc-alpha/2021-October/132348.html>.
> > >
> > > Thanks, yes I saw that patch.
> > >
> > > I am trying to compare builds of multiple architectures. I do see similar
> > > errors on riscv32. I am continuing to try looking at other architectures, but
> > > just wanted to note this:
> > >
> > > FAIL: compilers-riscv32-linux-gnu-rv32imac-ilp32 glibc riscv32-linux-gnu-rv32imac-ilp32 build
> >
> > Since I don't see this, do you have environment variables set (e.g.
> > CFLAGS) that might perturb the build? You're not meant to have such
> > variables set when running build-many-glibcs.py, and can definitely expect
> > additional warnings with -O1 or -O3, for example. (We *should* fix things
> > to build cleanly with -O1 and -O3 and -Os and -Og, and even -O0, but
> > that's a separate issue.)
>
> Thats it, I have -Og setup in my build environment.
>
> I must have missed where that was mentioned.
>
Hi Joseph,
Do you store your full output results anywhere for build-many, i.e.
GCC mainline glibcs 2021-10-28 16:33:56 build results
- https://sourceware.org/pipermail/libc-testresults/2021q4/008777.html
I am getting these failures now, and am wondering if you see them too:
$ or1k-glibc-linux-gnu-gcc tst-mqueue5.c -c -std=gnu11 -fgnu89-inline -g -O -Wall -Wwrite-strings -Wundef -Werror -fmerge-all-constants -frounding-math -fno-stack-protector -fno-c....
tst-mqueue5.c: In function ‘mqsend’:
tst-mqueue5.c:61:7: error: ‘c’ may be used uninitialized [-Werror=maybe-uninitialized]
61 | if (mq_send (q, &c, 1, 1) != 0)
| ^~~~~~~~~~~~~~~~~~~~~
In file included from ../include/mqueue.h:1,
from tst-mqueue5.c:21:
../rt/mqueue.h:70:12: note: by argument 2 of type ‘const char *’ to ‘mq_send’ declared here
70 | extern int mq_send (mqd_t __mqdes, const char *__msg_ptr, size_t __msg_len,
| ^~~~~~~
tst-mqueue5.c:60:8: note: ‘c’ declared here
60 | char c;
| ^
-Stafford
next prev parent reply other threads:[~2021-10-29 9:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-27 20:49 Stafford Horne
2021-10-27 22:13 ` Joseph Myers
2021-10-27 23:19 ` Stafford Horne
2021-10-28 17:15 ` Joseph Myers
2021-10-28 21:17 ` Stafford Horne
2021-10-28 21:45 ` Joseph Myers
2021-10-28 22:18 ` Stafford Horne
2021-10-29 9:05 ` Stafford Horne [this message]
2021-10-29 14:43 ` Joseph Myers
2021-10-29 15:08 ` Stafford Horne
2021-10-30 8:56 ` Stafford Horne
2021-11-01 20:47 ` Joseph Myers
2021-11-02 4:18 ` Stafford Horne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YXu5RKq2yU33Swwd@antec \
--to=shorne@gmail.com \
--cc=joseph@codesourcery.com \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).