public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcc/100289] New: libgcc/libgcov.h: bootstrap failure due to missing #include <sys/mman.h>
@ 2021-04-27 12:13 rudi at heitbaum dot com
  2021-04-27 12:17 ` [Bug gcov-profile/100289] [11/12 Regression] " rguenth at gcc dot gnu.org
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: rudi at heitbaum dot com @ 2021-04-27 12:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289

            Bug ID: 100289
           Summary: libgcc/libgcov.h: bootstrap failure due to missing
                    #include <sys/mman.h>
           Product: gcc
           Version: 11.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rudi at heitbaum dot com
  Target Milestone: ---

Performing a bootstrap on Ubuntu 18.04 for a LibreELEC10 build, with just an
update from gcc 10.3.0 to 11.1.0, the bootstrap fails. Configure incorrectly
defines HAVE_SYS_MMAN_H as 1. Removing sys/mmap.h allows the successful build
of gcc:bootstrap. 

Gcc:host subsequently fails build with - 

/storage/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-10.0-devel/build/gcc-11.1.0/libgcc/libgcov.h:426:10:
warning: implicit declaration of function 'mmap'
[-Wimplicit-function-declaration]

Failure log of bootstrap build - 
Failure logs of host build - http://paste.ubuntu.com/p/tCtc4nRfkV/

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2023-05-29 10:04 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-27 12:13 [Bug libgcc/100289] New: libgcc/libgcov.h: bootstrap failure due to missing #include <sys/mman.h> rudi at heitbaum dot com
2021-04-27 12:17 ` [Bug gcov-profile/100289] [11/12 Regression] " rguenth at gcc dot gnu.org
2021-04-27 12:18 ` rguenth at gcc dot gnu.org
2021-04-27 12:20 ` rudi at heitbaum dot com
2021-04-27 12:22 ` rudi at heitbaum dot com
2021-04-28  6:06 ` rguenth at gcc dot gnu.org
2021-04-28 10:21 ` jakub at gcc dot gnu.org
2021-04-28 11:23 ` rudi at heitbaum dot com
2021-04-28 11:28 ` rudi at heitbaum dot com
2021-04-28 12:06 ` rudi at heitbaum dot com
2021-04-28 12:06 ` rudi at heitbaum dot com
2021-04-28 12:16 ` rudi at heitbaum dot com
2021-04-28 12:16 ` rudi at heitbaum dot com
2021-04-30  7:11 ` rudi at heitbaum dot com
2021-07-28  7:06 ` rguenth at gcc dot gnu.org
2021-07-28 11:34 ` rudi at heitbaum dot com
2022-02-18 22:30 ` j at uriah dot heep.sax.de
2022-02-20 10:21 ` rudi at heitbaum dot com
2022-02-20 13:40 ` j at uriah dot heep.sax.de
2022-04-21  7:49 ` rguenth at gcc dot gnu.org
2023-03-31 18:43 ` [Bug gcov-profile/100289] [11/12/13 " jbglaw@lug-owl.de
2023-03-31 18:55 ` jbglaw@lug-owl.de
2023-05-29 10:04 ` [Bug gcov-profile/100289] [11/12/13/14 " jakub 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).