From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1B13C38515DC; Fri, 30 Apr 2021 07:11:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B13C38515DC From: "rudi at heitbaum dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/100289] [11/12 Regression] libgcc/libgcov.h: bootstrap failure due to missing #include Date: Fri, 30 Apr 2021 07:11:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 11.1.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: rudi at heitbaum dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2021 07:11:32 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100289 --- Comment #13 from rudi at heitbaum dot com --- I have looked further into this; and here are the locations of sys/mman.h, = this include comes from the glibc package. gcc builds in package #80, whilst gli= bc builds in package #82. The dependancies - given the way the gcc11 configure script works (and must be pulling from /usr/include/x86_64-linux-gnu/sys/mman.h) is a recursive dependency. Here are the packages in question. gcc:bootstrap does not have a glibc dependency. =3D=3D gcc package =3D=3D PKG_NAME=3D"gcc" PKG_DEPENDS_BOOTSTRAP=3D"ccache:host autoconf:host binutils:host gmp:host mpfr:host mpc:host zstd:host" PKG_DEPENDS_TARGET=3D"toolchain" PKG_DEPENDS_HOST=3D"ccache:host autoconf:host binutils:host gmp:host mpfr:h= ost mpc:host zstd:host glibc" PKG_DEPENDS_INIT=3D"toolchain" =3D=3D glibc package =3D=3D PKG_NAME=3D"glibc" PKG_DEPENDS_TARGET=3D"ccache:host autotools:host linux:host gcc:bootstrap pigz:host Python3:host" PKG_DEPENDS_INIT=3D"glibc" =3D=3D here is the actual creation of mman.h (using gcc10.3.0) =3D=3D grep sys/mman.h 82.log /usr/bin/install -c -m 644 sys/mman.h /storage/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-10.0-devel/.= sysroot/glibc.target/usr/include/sys/mman.h /usr/bin/install -c -m 644 sys/mman.h /storage/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-10.0-devel/i= nstall_pkg/glibc-2.33/usr/include/sys/mman.h =3D=3D the find after a full build =3D=3D find . -name mman.h | grey sys/ ./build.LibreELEC-Generic.x86_64-10.0-devel/install_pkg/glibc-2.33/usr/incl= ude/sys/mman.h ./build.LibreELEC-Generic.x86_64-10.0-devel/toolchain/x86_64-libreelec-linu= x-gnu/sysroot/usr/include/sys/mman.h ./build.LibreELEC-Generic.x86_64-10.0-devel/build/glibc-2.33/misc/sys/mman.h ./build.LibreELEC-Generic.x86_64-10.0-devel/build/glibc-2.33/include/sys/mm= an.h ./build.LibreELEC-Generic.x86_64-10.0-devel/build/gcc-10.3.0/fixincludes/te= sts/base/sys/mman.h ./build.LibreELEC-Generic.x86_64-10.0-devel/build/xorg-intel-gpu-tools-1.26= /lib/stubs/syscalls/sys/mman.h=