Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jun 2024 19:15:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 279576] WITHOUT_CLANG build option fails, possibly a race condition
Message-ID:  <bug-279576-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 279576
           Summary: WITHOUT_CLANG build option fails, possibly a race
                    condition
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: editor@callfortesting.org

Seen for months, specifically tested on:
FreeBSD freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n270474-d2f1f71ec=
8c6:
Thu May 30 03:12:57 UTC 2024=20=20=20=20
root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd6

The WITHOUT_CLANG build option enable these build options:

WITHOUT_CLANG_FULL=20=20=20=20
WITHOUT_LLVM_COV
WITHOUT_LLVM_TARGET_AARCH64
WITHOUT_LLVM_TARGET_ALL=20
WITHOUT_LLVM_TARGET_ARM
WITHOUT_LLVM_TARGET_POWERPC
WITHOUT_LLVM_TARGET_RISCV

On 16 thread and 48 thread builds on different systems, two cleanups (bw/iw=
 and
w/iw in build_option_survey terms)fail on their removals without an error
message:

rm -f
/usr/obj//usr/src/tools/tools/build_option_survey/_.mnt/usr/share/man/man3/=
cap_rights_contains.3
/usr/obj//usr/src/tools/tools/build_option_survey/_.mnt/usr/share/man/man3/=
cap_rights_contains.3.gz;
 install -l h -o root -g wheel -m 444=20
/usr/obj//usr/src/tools/tools/build_option_survey/_.mnt/usr/share/man/man3/=
cap_rights_init.3.gz
/usr/obj//usr/src/tools/tools/build_option_survey/_.mnt/usr/share/man/man3/=
cap_rights_contains.3.gz

make[4]: stopped in /usr/src/lib

In previous cases rm failures were caused by a different thread cleaning up=
 a
parent directory.

I will post the results of a single-threaded build as soon as it completes.=
 My
theory is that it will not exhibit the failure.

--=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-279576-227>