NetBSD Problem Report #56231
From www@netbsd.org Thu Jun 3 19:26:42 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 186681A921F
for <gnats-bugs@gnats.NetBSD.org>; Thu, 3 Jun 2021 19:26:42 +0000 (UTC)
Message-Id: <20210603192640.43C9E1A9239@mollari.NetBSD.org>
Date: Thu, 3 Jun 2021 19:26:40 +0000 (UTC)
From: jbglaw@lug-owl.de
Reply-To: jbglaw@lug-owl.de
To: gnats-bugs@NetBSD.org
Subject: Several ARM-Variants seem to miss gcov-iov.h
X-Send-Pr-Version: www-1.0
>Number: 56231
>Category: port-evbarm
>Synopsis: Several ARM-Variants seem to miss gcov-iov.h
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-evbarm-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 03 19:30:00 +0000 2021
>Last-Modified: Wed Jan 31 17:25:01 +0000 2024
>Originator: Jan-Benedict Glaw
>Release:
>Organization:
>Environment:
Linux spock 5.10.0-3-amd64 #1 SMP Debian 5.10.13-1 (2021-02-06) x86_64 GNU/Linux
>Description:
Hi!
I've seen, for several variants, eg. at least evbarm/earmv5 and evbarm/earmv5eb, more are still building, a missing gcov header:
/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-eabi-c++ -O2 -fdebug-prefix-map=\$DESTDIR= -fdebug-prefix-map=\$NETBSDSRCDIR=/usr/src -fdebug-prefix-map=\$X11SRCDIR=/usr/xsrc -fdebug-regex-map='/usr/src/(.*)/obj$=/usr/obj/\1' -fdebug-regex-map='/usr/src/(.*)/obj/(.*)=/usr/obj/\1/\2' -fdebug-regex-map='/usr/src/(.*)/obj\..*=/usr/obj/\1' -fdebug-regex-map='/usr/src/(.*)/obj\..*/(.*)=/usr/obj/\1/\2' -Wall -Wpointer-arith -Wno-sign-compare -Wa,--fatal-warnings -Werror -fPIE -Wno-narrowing -Wno-unused -msoft-float -std=gnu++98 -fdebug-prefix-map=\$DESTDIR= -fdebug-prefix-map=\$NETBSDSRCDIR=/usr/src -fdebug-prefix-map=\$X11SRCDIR=/usr/xsrc -fdebug-regex-map='/usr/src/(.*)/obj$=/usr/obj/\1' -fdebug-regex-map='/usr/src/(.*)/obj/(.*)=/usr/obj/\1/\2' -fdebug-regex-map='/usr/src/(.*)/obj\..*=/usr/obj/\1' -fdebug-regex-map='/usr/src/(.*)/obj\..*/(.*)=/usr/obj/\1/\2' -Wno-stack-protector -fno-exceptions -fno-rtti -fasynchronous-u
nwind-tables -I. -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/usr.bin/backend/../gcc/arch/earm -DIN_GCC -DHAVE_CONFIG_H -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/. -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/../include -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/../libcpp/include -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/../libdecnumber -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/../libdecnumber/dpd -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/../libbacktrace -DTARGET_NAME=\"arm--netbsdelf-eabi\" -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/libgcc -I/var/lib/la
minar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/usr.bin/backend/../../lib/libgcc/libgcov/arch/earmv5 --sysroot=/var/lib/laminar/run/netbsd-evbarm-earmv5/4/dest-evbarm-earmv5 -DLOCALEDIR=\"/usr/share/locale\" -DNETBSD_NATIVE -I. -DENABLE_SHARED_LIBGCC -Wp,-iremap,/var/lib/laminar/run/netbsd-evbarm-earmv5/4/dest-evbarm-earmv5: -Wp,-fno-canonical-system-headers -Wp,-iremap,/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src:/usr/src -Wp,-iremap,/usr/xsrc:/usr/xsrc -c /var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/auto-profile.c -o auto-profile.o
In file included from /var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/auto-profile.c:34:
/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/gcov-io.h:215:10: fatal error: gcov-iov.h: No such file or directory
215 | #include "gcov-iov.h"
| ^~~~~~~~~~~~
compilation terminated.
*** Failed target: auto-profile.o
*** Failed command: /var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/obj/tooldir.Linux-5.10.0-3-amd64-x86_64/bin/arm--netbsdelf-eabi-c++ -O2 -fdebug-prefix-map=\$DESTDIR= -fdebug-prefix-map=\$NETBSDSRCDIR=/usr/src -fdebug-prefix-map=\$X11SRCDIR=/usr/xsrc -fdebug-regex-map='/usr/src/(.*)/obj$=/usr/obj/\1' -fdebug-regex-map='/usr/src/(.*)/obj/(.*)=/usr/obj/\1/\2' -fdebug-regex-map='/usr/src/(.*)/obj\..*=/usr/obj/\1' -fdebug-regex-map='/usr/src/(.*)/obj\..*/(.*)=/usr/obj/\1/\2' -Wall -Wpointer-arith -Wno-sign-compare -Wa,--fatal-warnings -Werror -fPIE -Wno-narrowing -Wno-unused -msoft-float -std=gnu++98 -fdebug-prefix-map=\$DESTDIR= -fdebug-prefix-map=\$NETBSDSRCDIR=/usr/src -fdebug-prefix-map=\$X11SRCDIR=/usr/xsrc -fdebug-regex-map='/usr/src/(.*)/obj$=/usr/obj/\1' -fdebug-regex-map='/usr/src/(.*)/obj/(.*)=/usr/obj/\1/\2' -fdebug-regex-map='/usr/src/(.*)/obj\..*=/usr/obj/\1' -fdebug-regex-map='/usr/src/(.*)/obj\..*/(.*)=/usr/obj/\1/\2' -Wno-stack-protector -fno-exceptions -fno-rtt
i -fasynchronous-unwind-tables -I. -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/usr.bin/backend/../gcc/arch/earm -DIN_GCC -DHAVE_CONFIG_H -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/. -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/../include -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/../libcpp/include -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/../libdecnumber -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/../libdecnumber/dpd -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/../libbacktrace -DTARGET_NAME=\"arm--netbsdelf-eabi\" -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/libg
cc -I/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/usr.bin/backend/../../lib/libgcc/libgcov/arch/earmv5 --sysroot=/var/lib/laminar/run/netbsd-evbarm-earmv5/4/dest-evbarm-earmv5 -DLOCALEDIR=\"/usr/share/locale\" -DNETBSD_NATIVE -I. -DENABLE_SHARED_LIBGCC -Wp,-iremap,/var/lib/laminar/run/netbsd-evbarm-earmv5/4/dest-evbarm-earmv5: -Wp,-fno-canonical-system-headers -Wp,-iremap,/var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src:/usr/src -Wp,-iremap,/usr/xsrc:/usr/xsrc -c /var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/dist/gcc/auto-profile.c -o auto-profile.o
*** Error code 1
Stop.
nbmake[9]: stopped in /var/lib/laminar/run/netbsd-evbarm-earmv5/4/NetBSD-src/external/gpl3/gcc.old/usr.bin/backend
*** Failed target: dependall-backend
Thanks,
Jan-Benedict
>How-To-Repeat:
>Fix:
>Audit-Trail:
From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: port-evbarm/56231: Several ARM-Variants seem to miss gcov-iov.h
Date: Wed, 31 Jan 2024 18:20:43 +0100
--u3/rZRmxL6MmkK24
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi!
I tried to track down this issue with gcov-iov.h missing. First
iteration: it only affects the evbarm ports using earmv5, earmv5eb,
earmv5hf or earmv5hfeb as the CPU architecture.
While doing an initial manual test build with `-j 10`, the issue
vanished. (My CI stuff builds several jobs in parallel, but I keep
each individual job unparalleled to have compareable log output.) So
this is just a dependency problem. I haven't formally tracked this
down, but a first guess is here:
jbglaw@lili:/var/cache/git/NetBSD-src/external/gpl3/gcc.old/usr.bin/gcc/arc=
h$ ls -l
total 168
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 aarch64
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 aarch64eb
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 alpha
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 arm
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 armeb
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 coldfire
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 earm
drwxr-xr-x 2 laminar laminar 4096 Jan 31 08:37 earmeb
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 earmhf
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 earmhfeb
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 earmv4
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 earmv4eb
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 earmv6
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 earmv6eb
drwxr-xr-x 2 laminar laminar 4096 Jan 31 14:06 earmv6hf
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 earmv6hfeb
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 earmv7
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 earmv7eb
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 earmv7hf
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 earmv7hfeb
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 hppa
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 i386
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 ia64
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 m68000
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 m68k
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 mips64eb
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 mips64el
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 mipseb
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 mipsel
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 mipsn64eb
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 mipsn64el
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 or1k
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 powerpc
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 powerpc64
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 riscv32
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 riscv64
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 sh3eb
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 sh3el
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 sparc
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 sparc64
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 vax
drwxr-xr-x 2 laminar laminar 4096 Jan 30 09:39 x86_64
jbglaw@lili:/var/cache/git/NetBSD-src/external/gpl3/gcc.old/usr.bin/gcc/arc=
h$ grep GCOV earmv6/*
earmv6/defs.mk:G_GCOV_OBJS=3Dgcov.o json.o
earmv6/defs.mk:G_GCOV_DUMP_OBJS=3Dgcov-dump.o
So no specific subdir here for earmv5, earmv5eb, earmv5hf or
earmv5hfeb and literally everybody has their defines, except the earm5
variants:
jbglaw@lili:/var/cache/git/NetBSD-src/external/gpl3/gcc.old/usr.bin/gcc/arc=
h$ for i in *; do echo $i: $(grep G_GCOV_OBJS $i/*|wc -l); done|column -s '=
' -t
aarch64: 1
aarch64eb: 1
alpha: 1
arm: 1
armeb: 1
coldfire: 1
earm: 1
earmeb: 1
earmhf: 1
earmhfeb: 1
earmv4: 1
earmv4eb: 1
earmv6: 1
earmv6eb: 1
earmv6hf: 1
earmv6hfeb: 1
earmv7: 1
earmv7eb: 1
earmv7hf: 1
earmv7hfeb: 1
hppa: 1
i386: 1
ia64: 1
m68000: 1
m68k: 1
mips64eb: 1
mips64el: 1
mipseb: 1
mipsel: 1
mipsn64eb: 1
mipsn64el: 1
or1k: 1
powerpc: 1
powerpc64: 1
riscv32: 1
riscv64: 1
sh3eb: 1
sh3el: 1
sparc: 1
sparc64: 1
vax: 1
x86_64: 1
As the RelEng builds are done as parallel builds, the issue doesn't
show up there. But I guess the files for earmv5* are just missing?
Thanks,
Jan-Benedict
--=20
--u3/rZRmxL6MmkK24
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQQlDTvPcScNjKREqWEdvV51g5nhuwUCZbqBZgAKCRAdvV51g5nh
u9NPAJ9VIVe6Fxn0bAcTeW7ChuKsCwyfdACfWMrLWKvwRQYWhn50kwyQvE9M9eQ=
=qZ2X
-----END PGP SIGNATURE-----
--u3/rZRmxL6MmkK24--
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.