public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug go/106266] New: Libgo fails with recent glibc @ 2022-07-12 7:21 marxin at gcc dot gnu.org 2022-07-12 7:22 ` [Bug go/106266] " marxin at gcc dot gnu.org ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: marxin at gcc dot gnu.org @ 2022-07-12 7:21 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106266 Bug ID: 106266 Summary: Libgo fails with recent glibc Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: marxin at gcc dot gnu.org Target Milestone: --- Fails with: [ 4342s] /home/abuild/rpmbuild/BUILD/gcc-13.0.0+git194331/obj-x86_64-suse-linux/./gcc/xgcc -B/home/abuild/rpmbuild/BUILD/gcc-13.0.0+git194331/obj-x86_64-suse-linux/./gcc/ -B/usr/x86_64-suse-linux/bin/ -B/usr/x86_64-suse-linux/lib/ -isystem /usr/x86_64-suse-linux/include -isystem /usr/x86_64-suse-linux/sys-include -DHAVE_CONFIG_H -I. -I../../../libgo -I ../../../libgo/runtime -I../../../libgo/../libffi/include -I../libffi/include -pthread -L../libatomic/.libs -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -fdump-go-spec=tmp-gen-sysinfo.go -std=gnu99 -S -o sysinfo.s ../../../libgo/sysinfo.c [ 4342s] In file included from /usr/include/linux/fs.h:19, [ 4342s] from ../../../libgo/sysinfo.c:162: [ 4342s] /usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command' [ 4342s] 95 | enum fsconfig_command { [ 4342s] | ^~~~~~~~~~~~~~~~ [ 4342s] In file included from ../../../libgo/sysinfo.c:141: [ 4342s] /usr/include/sys/mount.h:189:6: note: originally defined here [ 4342s] 189 | enum fsconfig_command [ 4342s] | ^~~~~~~~~~~~~~~~ It's very similar to the following libsanitizer issue: https://github.com/llvm/llvm-project/issues/56421 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug go/106266] Libgo fails with recent glibc 2022-07-12 7:21 [Bug go/106266] New: Libgo fails with recent glibc marxin at gcc dot gnu.org @ 2022-07-12 7:22 ` marxin at gcc dot gnu.org 2022-07-13 16:02 ` cvs-commit at gcc dot gnu.org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: marxin at gcc dot gnu.org @ 2022-07-12 7:22 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106266 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-07-12 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Target Milestone|--- |13.0 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug go/106266] Libgo fails with recent glibc 2022-07-12 7:21 [Bug go/106266] New: Libgo fails with recent glibc marxin at gcc dot gnu.org 2022-07-12 7:22 ` [Bug go/106266] " marxin at gcc dot gnu.org @ 2022-07-13 16:02 ` cvs-commit at gcc dot gnu.org 2022-07-13 16:03 ` ian at airs dot com ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2022-07-13 16:02 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106266 --- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>: https://gcc.gnu.org/g:f35d65517a59565758107c5b1a51a5fa382f8d1a commit r13-1686-gf35d65517a59565758107c5b1a51a5fa382f8d1a Author: Ian Lance Taylor <iant@golang.org> Date: Tue Jul 12 19:42:43 2022 -0700 libgo: don't include <linux/fs.h> when building gen-sysinfo.go Removing this doesn't change anything at least with glibc 2.33. The include was added in https://go.dev/cl/6100049 but it's not clear why. Fixes PR go/106266 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/417294 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug go/106266] Libgo fails with recent glibc 2022-07-12 7:21 [Bug go/106266] New: Libgo fails with recent glibc marxin at gcc dot gnu.org 2022-07-12 7:22 ` [Bug go/106266] " marxin at gcc dot gnu.org 2022-07-13 16:02 ` cvs-commit at gcc dot gnu.org @ 2022-07-13 16:03 ` ian at airs dot com 2022-07-21 11:53 ` cvs-commit at gcc dot gnu.org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: ian at airs dot com @ 2022-07-13 16:03 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106266 Ian Lance Taylor <ian at airs dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Ian Lance Taylor <ian at airs dot com> --- Should be fixed. Thanks. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug go/106266] Libgo fails with recent glibc 2022-07-12 7:21 [Bug go/106266] New: Libgo fails with recent glibc marxin at gcc dot gnu.org ` (2 preceding siblings ...) 2022-07-13 16:03 ` ian at airs dot com @ 2022-07-21 11:53 ` cvs-commit at gcc dot gnu.org 2022-07-21 11:59 ` cvs-commit at gcc dot gnu.org 2022-07-21 12:09 ` cvs-commit at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2022-07-21 11:53 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106266 --- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Martin Liska <marxin@gcc.gnu.org>: https://gcc.gnu.org/g:4f15d2234608e82159d030dadb17af678cfad626 commit r12-8599-g4f15d2234608e82159d030dadb17af678cfad626 Author: Ian Lance Taylor <iant@golang.org> Date: Tue Jul 12 19:42:43 2022 -0700 libgo: don't include <linux/fs.h> when building gen-sysinfo.go Removing this doesn't change anything at least with glibc 2.33. The include was added in https://go.dev/cl/6100049 but it's not clear why. Fixes PR go/106266 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/417294 (cherry picked from commit f35d65517a59565758107c5b1a51a5fa382f8d1a) ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug go/106266] Libgo fails with recent glibc 2022-07-12 7:21 [Bug go/106266] New: Libgo fails with recent glibc marxin at gcc dot gnu.org ` (3 preceding siblings ...) 2022-07-21 11:53 ` cvs-commit at gcc dot gnu.org @ 2022-07-21 11:59 ` cvs-commit at gcc dot gnu.org 2022-07-21 12:09 ` cvs-commit at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2022-07-21 11:59 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106266 --- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Martin Liska <marxin@gcc.gnu.org>: https://gcc.gnu.org/g:a55184ada8e2887ca94c0ab07027617885beafc9 commit r11-10158-ga55184ada8e2887ca94c0ab07027617885beafc9 Author: Ian Lance Taylor <iant@golang.org> Date: Tue Jul 12 19:42:43 2022 -0700 libgo: don't include <linux/fs.h> when building gen-sysinfo.go Removing this doesn't change anything at least with glibc 2.33. The include was added in https://go.dev/cl/6100049 but it's not clear why. Fixes PR go/106266 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/417294 (cherry picked from commit f35d65517a59565758107c5b1a51a5fa382f8d1a) ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug go/106266] Libgo fails with recent glibc 2022-07-12 7:21 [Bug go/106266] New: Libgo fails with recent glibc marxin at gcc dot gnu.org ` (4 preceding siblings ...) 2022-07-21 11:59 ` cvs-commit at gcc dot gnu.org @ 2022-07-21 12:09 ` cvs-commit at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2022-07-21 12:09 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106266 --- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Martin Liska <marxin@gcc.gnu.org>: https://gcc.gnu.org/g:8c3238510ce63c75024c0288eade5c933f6d322e commit r10-10905-g8c3238510ce63c75024c0288eade5c933f6d322e Author: Ian Lance Taylor <iant@golang.org> Date: Tue Jul 12 19:42:43 2022 -0700 libgo: don't include <linux/fs.h> when building gen-sysinfo.go Removing this doesn't change anything at least with glibc 2.33. The include was added in https://go.dev/cl/6100049 but it's not clear why. Fixes PR go/106266 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/417294 (cherry picked from commit f35d65517a59565758107c5b1a51a5fa382f8d1a) ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-07-21 12:09 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-07-12 7:21 [Bug go/106266] New: Libgo fails with recent glibc marxin at gcc dot gnu.org 2022-07-12 7:22 ` [Bug go/106266] " marxin at gcc dot gnu.org 2022-07-13 16:02 ` cvs-commit at gcc dot gnu.org 2022-07-13 16:03 ` ian at airs dot com 2022-07-21 11:53 ` cvs-commit at gcc dot gnu.org 2022-07-21 11:59 ` cvs-commit at gcc dot gnu.org 2022-07-21 12:09 ` cvs-commit at gcc dot gnu.org
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).