public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "toolybird at tuta dot io" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug go/101407] New: non-determinism in -fdump-go-spec Date: Sat, 10 Jul 2021 21:34:29 +0000 [thread overview] Message-ID: <bug-101407-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101407 Bug ID: 101407 Summary: non-determinism in -fdump-go-spec Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: toolybird at tuta dot io CC: cmang at google dot com Target Milestone: --- I'm seeing a reproducibility issue when building gcc-go in GCC 11. Every build run produces a different binary. I've narrowed down the test case to essentially this: $ gcc -fdump-go-spec=tmp-1.go -S -o sysinfo.s sysinfo.c $ gcc -fdump-go-spec=tmp-2.go -S -o sysinfo.s sysinfo.c $ diff -u tmp-1.go tmp-2.go --- tmp-1.go 2021-07-11 07:26:58.512916883 +1000 +++ tmp-2.go 2021-07-11 07:27:07.976340655 +1000 @@ -8519,10 +8519,10 @@ const _PRIxFAST8 = "x" const ___POSIX_FADV_DONTNEED = 4 const _IPPROTO_MTP = 92 -type ___dirstream struct {} -type ___va_list_tag struct {} type _iface struct {} type ___locale_data struct {} type __IO_marker struct {} type __IO_codecvt struct {} type __IO_wide_data struct {} +type ___dirstream struct {} +type ___va_list_tag struct {} The file in question is libgo/sysinfo.c The output seems to differ each time. Occasionally it is the same. This didn't happen with GCC 10. I suppose I should try the trunk but haven't done so yet. Any thoughts? Thanks.
next reply other threads:[~2021-07-10 21:34 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-10 21:34 toolybird at tuta dot io [this message] 2021-07-10 23:45 ` [Bug go/101407] " toolybird at tuta dot io 2021-07-11 4:49 ` toolybird at tuta dot io 2021-07-12 13:09 ` jakub at gcc dot gnu.org 2021-07-13 0:49 ` toolybird at tuta dot io 2021-07-14 8:23 ` cvs-commit at gcc dot gnu.org 2021-07-18 23:29 ` cvs-commit at gcc dot gnu.org 2022-05-10 8:19 ` cvs-commit at gcc dot gnu.org 2022-05-11 6:21 ` cvs-commit at gcc dot gnu.org 2022-05-11 6:36 ` jakub 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-101407-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).