public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "unlvsur at live dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/99984] New: bootstrap failure on uclibc for libgomp. error: 'local_thr' may be used uninitialized [-Werror=maybe-uninitialized] Date: Fri, 09 Apr 2021 05:53:43 +0000 [thread overview] Message-ID: <bug-99984-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99984 Bug ID: 99984 Summary: bootstrap failure on uclibc for libgomp. error: 'local_thr' may be used uninitialized [-Werror=maybe-uninitialized] Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: unlvsur at live dot com CC: jakub at gcc dot gnu.org Target Milestone: --- Makefile:873: warning: overriding recipe for target 'all-multi' Makefile:864: warning: ignoring old recipe for target 'all-multi' Makefile:873: warning: overriding recipe for target 'all-multi' Makefile:864: warning: ignoring old recipe for target 'all-multi' Makefile:873: warning: overriding recipe for target 'all-multi' Makefile:864: warning: ignoring old recipe for target 'all-multi' ../../../../gcc/libgomp/team.c: In function 'gomp_thread_start': ../../../../gcc/libgomp/team.c:81:3: error: 'local_thr' may be used uninitialized [-Werror=maybe-uninitialized] 81 | pthread_setspecific (gomp_tls_key, thr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../../gcc/libgomp/libgomp.h:50, from ../../../../gcc/libgomp/team.c:29: D:/msys64/x86_64-linux-uclibc/x86_64-linux-uclibc/include/pthread.h:595:12: note: by argument 2 of type 'const void *' to 'pthread_setspecific' declared here 595 | extern int pthread_setspecific (pthread_key_t __key, | ^~~~~~~~~~~~~~~~~~~ ../../../../gcc/libgomp/team.c:79:22: note: 'local_thr' declared here 79 | struct gomp_thread local_thr; | ^~~~~~~~~ cc1.exe: all warnings being treated as errors make[4]: *** [Makefile:798: team.lo] Error 1 make[3]: *** [Makefile:1021: all-recursive] Error 1 make[2]: *** [Makefile:622: all] Error 2 make[1]: *** [Makefile:16010: all-target-libgomp] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:976: all] Error 2
next reply other threads:[~2021-04-09 5:53 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-04-09 5:53 unlvsur at live dot com [this message] 2021-04-09 6:06 ` [Bug libgomp/99984] " unlvsur at live dot com 2021-04-09 8:23 ` cvs-commit at gcc dot gnu.org 2021-04-09 8:24 ` unlvsur at live dot com 2021-04-09 16:30 ` msebor at gcc dot gnu.org 2021-04-09 17:21 ` unlvsur at live dot com 2021-04-09 17:39 ` msebor at gcc dot gnu.org
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=bug-99984-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.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: linkBe 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).