Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Dec 2018 21:31:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 233735] Possible build race: genoffset.o /usr/src/sys/sys/types.h: error: machine/endian.h: No such file or directory
Message-ID:  <bug-233735-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233735

            Bug ID: 233735
           Summary: Possible build race: genoffset.o
                    /usr/src/sys/sys/types.h: error: machine/endian.h: No
                    such file or directory
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: lwhsu@FreeBSD.org

Failed runs:

https://ci.freebsd.org/job/FreeBSD-head-powerpc-build/8632/console
https://ci.freebsd.org/job/FreeBSD-stable-12-powerpc64-build/190/console
https://ci.freebsd.org/job/FreeBSD-head-riscv64-build/11547/console
https://ci.freebsd.org/job/FreeBSD-stable-12-aarch64-build/109/console
https://ci.freebsd.org/job/FreeBSD-head-armv6-build/2069/console
https://ci.freebsd.org/job/FreeBSD-head-armv7-build/1668/console

>From console output, it looks that machine/ is read before or very closed of
the time it is created:

00:07:35.870 --- genoffset.o ---
00:07:35.870 cc --sysroot=3D/usr/obj/usr/src/powerpc.powerpc/tmp
-B/usr/obj/usr/src/powerpc.powerpc/tmp/usr/bin -c -O -pipe -g -nostdinc -I.
-I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/lib=
fdt
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -msoft-float -=
fPIC
-fno-omit-frame-pointer -MD -MF.depend.genoffset.o -MTgenoffset.o -mno-alti=
vec
-msoft-float -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions
-Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-uninitialized -fms-extensions -finline-limit=3D15000 --param
inline-unit-growth=3D100 --param large-function-growth=3D1000 -fms-extensio=
ns
-Wa,-many -std=3Diso9899:1999 /usr/src/sys/kern/genoffset.c
00:07:35.870 In file included from /usr/src/sys/sys/param.h:97,
00:07:35.870                  from /usr/src/sys/kern/genoffset.c:35:
00:07:35.871 /usr/src/sys/sys/types.h:46:28: error: machine/endian.h: No su=
ch
file or directory
00:07:35.871 In file included from /usr/src/sys/sys/types.h:47,
00:07:35.871                  from /usr/src/sys/sys/param.h:97,
00:07:35.871                  from /usr/src/sys/kern/genoffset.c:35:
00:07:35.871 /usr/src/sys/sys/_types.h:35:28: error: machine/_types.h: No s=
uch
file or directory
00:07:35.871 In file included from /usr/src/sys/sys/types.h:47,
00:07:35.871                  from /usr/src/sys/sys/param.h:97,
00:07:35.871                  from /usr/src/sys/kern/genoffset.c:35:

...

00:07:35.871 --- machine ---
00:07:35.871 machine -> /usr/src/sys/powerpc/include

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233735-227>