Ticket #1112 (closed task: fixed)

Opened 19 months ago

Last modified 8 months ago

Make 4.2.1

Reported by: chris@… Owned by: clfs-commits@…
Priority: major Milestone: CLFS Standard 3.1.0
Component: BOOK Version: CLFS Standard GIT
Keywords: Cc: berzerkula@…, jonathan@…, chris@…, cross-lfs@…


New version

A complete list of bugs fixed in this version is available here:


* New variable: $(.SHELLSTATUS) is set to the exit status of the last != or
  $(shell ...) function invoked in this instance of make.  This will be "0" if
  successful or not "0" if not successful.  The variable value is unset if no
  != or $(shell ...) function has been invoked.

* The $(file ...) function can now read from a file with $(file <FILE).
  The function is expanded to the contents of the file.  The contents are
  expanded verbatim except that the final newline, if any, is stripped.

* The makefile line numbers shown by GNU make now point directly to the
  specific line in the recipe where the failure or warning occurred.
  Sample changes suggested by Brian Vandenberg <phantall@gmail.com>

* The interface to GNU make's "jobserver" is stable as documented in the
  manual, for tools which may want to access it.

  WARNING: Backward-incompatibility! The internal-only command line option
  --jobserver-fds has been renamed for publishing, to --jobserver-auth.

* The amount of parallelism can be determined by querying MAKEFLAGS, even when
  the job server is enabled (previously MAKEFLAGS would always contain only
  "-j", with no number, when job server was enabled).

* VMS-specific changes:

  * Perl test harness now works.

  * Full support for converting Unix exit status codes to VMS exit status
    codes.  BACKWARD INCOMPATIBILITY Notice: On a child failure the VMS exit
    code is now the encoded Unix exit status that Make usually generates, not
    the VMS exit status of the child.

This version causes problems with parallel builds in some packages - ones that built fine with multiple make jobs now only work with -j1. I've uploaded a patch taken from LFS, which came from upstream, to fix this issue.


make-4.2-upstream_fixes-1.patch Download (6.7 KB) - added by chris@… 19 months ago.

Change History

Changed 19 months ago by chris@…

comment:1 Changed 18 months ago by chris@…

Make 4.2.1 is now released, and does not need the patch for parallel builds.

comment:2 Changed 18 months ago by chris@…

  • Summary changed from Make 4.2 to Make 4.2.1

comment:3 Changed 17 months ago by kb0iic

I've been using this with a recent CLFS ARM build without issues.

comment:4 Changed 8 months ago by kb0iic

  • Version set to CLFS Standard GIT
  • Milestone set to CLFS Standard 3.1.0

comment:5 Changed 8 months ago by kb0iic

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.