public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "euloanty at live dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/98300] New: GCC 11 failed to build on Windows 10. I guess the new module completely breaks this. Date: Tue, 15 Dec 2020 19:31:29 +0000 [thread overview] Message-ID: <bug-98300-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98300 Bug ID: 98300 Summary: GCC 11 failed to build on Windows 10. I guess the new module completely breaks this. Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: euloanty at live dot com Target Milestone: --- x86_64-w64-mingw32-g++ -fno-PIE -c -DIN_GCC_FRONTEND -march=x86-64 -mtune=generic -O2 -pipe -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Icp -I../../gcc-git/gcc -I../../gcc-git/gcc/cp -I../../gcc-git/gcc/../include -I../../gcc-git/gcc/../libcpp/include -I../../gcc-git/gcc/../libcody -I/mingw64/include -I/mingw64/include -I/mingw64/include -I../../gcc-git/gcc/../libdecnumber -I../../gcc-git/gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc-git/gcc/../libbacktrace -I/mingw64/include -D__USE_MINGW_ANSI_STDIO=1 -I/mingw64/include -o cp/name-lookup.o -MT cp/name-lookup.o -MMD -MP -MF cp/.deps/name-lookup.TPo ../../gcc-git/gcc/cp/name-lookup.c In file included from ../../gcc-git/gcc/cp/mapper-resolver.cc:27: ../../gcc-git/gcc/cp/../../c++tools/resolver.cc:31:10: fatal error: sys/mman.h: No such file or directory 31 | #include <sys/mman.h> | ^~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:1127: cp/mapper-resolver.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ../../gcc-git/gcc/cp/mapper-client.cc: In static member function 'static module_client* module_client::open_module_client(location_t, const char*, void (*)(const char*), const char*)': ../../gcc-git/gcc/cp/mapper-client.cc:171:42: error: 'O_CLOEXEC' was not declared in this scope 171 | ? O_RDWR | O_CLOEXEC : O_RDONLY | O_CLOEXEC; | ^~~~~~~~~ ../../gcc-git/gcc/cp/mapper-client.cc:188:42: error: 'O_CLOEXEC' was not declared in this scope 188 | ? O_RDWR | O_CLOEXEC : O_WRONLY | O_CLOEXEC; | ^~~~~~~~~ ../../gcc-git/gcc/cp/mapper-client.cc:260:50: error: 'O_CLOEXEC' was not declared in this scope 260 | int fd = open (name.c_str (), O_RDONLY | O_CLOEXEC); | ^~~~~~~~~ make[2]: *** [Makefile:1127: cp/mapper-client.o] Error 1 ../../gcc-git/gcc/cp/module.cc: In member function 'void bytes_out::printf(const char*, ...)': ../../gcc-git/gcc/cp/module.cc:1088:56: warning: function 'void bytes_out::printf(const char*, ...)' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 1088 | size_t actual = vsnprintf (ptr, len, format, args) + 1; | ^ ../../gcc-git/gcc/cp/module.cc: In member function 'const char* elf_in::read(data*, unsigned int, unsigned int)': ../../gcc-git/gcc/cp/module.cc:1659:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1659 | if (::read (fd, data->buffer, data->size) != length) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../gcc-git/gcc/cp/module.cc: In member function 'unsigned int elf_out::write(const data&)': ../../gcc-git/gcc/cp/module.cc:2051:47: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 2051 | if (::write (fd, buffer.buffer, buffer.pos) != buffer.pos) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../gcc-git/gcc/cp/module.cc:2066:40: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2066 | if (::write (fd, &zero, padding) != padding) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ rm gfdl.pod gcc.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod gpl.pod cpp.pod gcov.pod lto-dump.pod make[2]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/gcc' make[1]: *** [Makefile:4446: all-gcc] Error 2 make[1]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32' make: *** [Makefile:973: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
next reply other threads:[~2020-12-15 19:31 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-15 19:31 euloanty at live dot com [this message] 2020-12-15 19:37 ` [Bug bootstrap/98300] " euloanty at live dot com 2020-12-15 19:41 ` euloanty at live dot com 2020-12-15 19:42 ` nathan at gcc dot gnu.org 2020-12-15 19:43 ` euloanty at live dot com 2020-12-15 19:48 ` euloanty at live dot com 2020-12-15 20:14 ` nathan at gcc dot gnu.org 2020-12-15 20:17 ` euloanty at live dot com 2020-12-15 20:34 ` euloanty at live dot com 2020-12-15 23:02 ` euloanty at live dot com 2020-12-16 13:12 ` redi at gcc dot gnu.org 2020-12-16 21:50 ` nathan at gcc dot gnu.org 2020-12-17 14:01 ` cvs-commit at gcc dot gnu.org 2021-01-04 14:04 ` nathan at gcc dot gnu.org 2021-01-04 15:23 ` rguenth 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-98300-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).