[exim-dev] [Bug 1446] New: "make -j" doesn't produce a worki…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Heiko Schlittermann
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] [Bug 1446] New: "make -j" doesn't produce a working binary
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1446
           Summary: "make -j" doesn't produce a working binary
           Product: Exim
           Version: 4.82
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: low
         Component: Release process
        AssignedTo: nigel@???
        ReportedBy: hs+exim@???
                CC: exim-dev@???



'make -j' (maximum parallelization) does not produce a reliable result.
Sometimes it works, sometimes it breaks.

The output of make indicates, that some targets are built twice in
parallel. This happens because of the "multi target rules" in the base
Makefile. (it's entering the routers, transports, ... directories twice,
producing a race condition on building the .a files)

The attached patch fixes the problem.

(To reproduce the problem run "make -j" in an endless loop, depending on your
ressources it will brake somewhen. With my patch it just burns your CPU...)


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email