Skip to content

CC/370 v1.6.1

Choose a tag to compare

@github-actions github-actions released this 11 Oct 20:06
· 15 commits to main since this release
469e6f7

CC/370 (cc370) 1.6.1 is a patch release of the host-native MVS 3.8j toolchain. It fixes install.sh for an upgrade to LIBC/370 (libc370) 2.8. The compiler, the assembler, the linkage editor and the tools are unchanged from 1.6.0 apart from the version they report. It is a drop-in for 1.6.0; the requirements are unchanged (LIBC/370 >= 2.3.0, maclib370 >= 1.0.0), and install.sh picks LIBC/370 2.8.1 today.

Read this first: what a caller can see

  • Who needs it: anyone who installs or upgrades with install.sh, or by unpacking the tarballs by hand. LIBC/370 2.8 no longer carries its own copies of 118 system macros; maclib370 provides them. install.sh 1.6.0 copied the new LIBC/370 over the old one and removed nothing, so the old copies stayed in cc370/macros and were found before maclib370's members of the same name, without a message.
  • What 1.6.1 does: before it copies LIBC/370 in, install.sh deletes the files the new LIBC/370 lists as no longer shipped (share/libc370/sysmac-removed.txt, from LIBC/370 2.8.1) and says how many. Only names on that list are touched; files of your own stay.
  • Not affected: Homebrew and the .deb/.rpm packages; their package managers remove an old version's files.
  • Already upgraded with 1.6.0's install.sh? Run the 1.6.1 installer once more, or delete from cc370/macros the files named in share/libc370/sysmac-removed.txt.

Fixed: before and now

1.6.0 1.6.1
install.sh over a LIBC/370 2.7 install 118 old system macros stay in cc370/macros and shadow maclib370 removed before the copy, "removed N macro files ..."
unpacking the LIBC/370 tarball by hand not documented README and User's Guide: delete the listed files first

Install

curl -fsSL https://github.com/mvslovers/cc370/releases/latest/download/install.sh | sh

With Homebrew (macOS, Linux):

brew trust mvslovers/tap            # once
brew install mvslovers/tap/cc370    # cc370 and, as its dependencies, libc370 and maclib370
brew upgrade mvslovers/tap/cc370    # an existing install

Or the pieces, all listed in SHA256SUMS:

file what
cc370-1.6.1-{darwin,linux}-{amd64,arm64}.tar.gz the toolchain for one host
cc370_1.6.1_{amd64,arm64}.deb Debian/Ubuntu; depends on libc370-dev (>= 2.3.0) and maclib370 (>= 1.0.0)
cc370-1.6.1.{x86_64,aarch64}.rpm Fedora/RHEL; requires libc370-devel and maclib370 the same way
install.sh the installer above
ml01-0001-0.pdf, ml01-0002-0.pdf CC/370 User's Guide and Command Reference, Draft edition, for 1.6.1

Full changelog

Fixed

  • install.sh removes the macro files a newer LIBC/370 no longer ships
    (#933). It copied the new sysroot over the old one and removed nothing,
    so after an upgrade to LIBC/370 2.8 the 118 system macros it used to
    carry stayed in cc370/macros and were found before maclib370's members
    of the same name, without a message. From LIBC/370 2.8.1 the release
    lists them (share/libc370/sysmac-removed.txt), and install.sh deletes
    those files before it copies the new sysroot in, naming how many. Only
    names on the list are touched. Homebrew and the .deb/.rpm packages
    were not affected.