[Bug 242835] concurrency issue when building kernel with 'make -j8': make[5]: make[5]: don't know how to make opt_global.h. Stop

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 23 15:56:16 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242835

            Bug ID: 242835
           Summary: concurrency issue when building kernel with 'make
                    -j8': make[5]: make[5]: don't know how to make
                    opt_global.h. Stop
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: d8zNeCFG at aon.at

Scenario:
- System running FreeBSD 13.0-CURRENT #0 r355526M: Sun Dec  8 16:30:56 CET 2019
- /usr/src updated to r356034 (head)
- Executing 'make -j8 buildworld buildkernel KERNCONF=...'

Result:
- In most cases, the make fails with
    >>> stage 3.1: building everything
    ...
    make[4]: make[4]: don't know how to make opt_global.h. Stop

Notes:
- Omitting -j8 gets the build to succeed

It seems that the parallel makes repeatedly recreate opt_global.h, thereby
thrashing each other's copies.

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


More information about the freebsd-bugs mailing list