CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

Port details

devel/llvm-morello17.0.d20261007

LLVM and Clang with support the Arm Morello architecture

Maintainer
brooks@FreeBSD.org
Packages
llvm-morello 17.0.d20261007
Upstream
up to date
CPE
llvm:llvm from the port
WWW
https://git.morello-project.org/morello/llvm-project
Links
cgit · VuXML

Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE

None. There is no CVE without a VuXML entry for this version.

VuXML only (0) · listed, port not fixed yet

None. pkg audit reports nothing for this version.

Fixed (0)

No VuXML entries for this package.

Commits (46)

Brooks Davis (brooks) · 17.0.d20261007
devel/llvm-{cheri,morello}: new snapshots
9f3c49ad55
Brooks Davis (brooks)
devel/llvm-{cheri,morello}: new snapshots

Update CHERI and Morello LLVM compilers to new snapshots.

Attempt to fix builds with LLVM 21 by conditionally applying the patch
used with devel/llvm17.  I'm not applying it universally as llvm-morello
fails to compile with it on my 14.4-RELEASE test system.

Sponsored by:	DARPA, AFRL
8247b52ba4
Jessica Clarke (jrtc27)
devel/llvm-{cheri,morello}: new snapshots

Includes some initial sub-library compartmentalisation changes.
167617b6a4
Brooks Davis (brooks)
devel/llvm-morello: new snapshot

Includes a fix for a bug (padding of globals in hybrid mode) that
prevented compiling a working FreeBSD aarch64 system.

Sponsored by:	DARPA, AFRL
75ec43cc2c
Brooks Davis (brooks)
devel/llvm-{cheri,morello}: new snapshots

Sponsored by:	DARPA, AFRL
83c3eed85f
Jessica Clarke (jrtc27)
devel/llvm-{cheri,morello}: Update distinfo for new snapshots

Missed in earlier commit.

Fixes:	0f4057007926 ("devel/llvm-{cheri,morello}: new snapshots")
2e1bb1c912
Jessica Clarke (jrtc27)
devel/llvm-{cheri,morello}: new snapshots

Various bug fixes, including for building V8 and Chromium.
0f40570079
Jessica Clarke (jrtc27)
devel/llvm-morello: Add script to automate Makefile.snapshot generation

Based on devel/llvm-cheri's, adapted for the GitLab API.
970800c38d
Brooks Davis (brooks)
devel/llvm-{cheri,morello}: new snapshots

Morello LLVM is now based on LLVM 17.

Clean up a remnant of the llvm-cheriot split (a19a05201688).
2362e49892
Brooks Davis (brooks)
devel/llvm-{cheri,morello}: new snapshots, enable STATIC_LIBS

We've now got some reserarch partners who want to build compiler passes
so enable static libraries in the packages.

Sponsored by:	DARPA, AFRL
c1059c94e1
Brooks Davis (brooks)
devel/llvm-morello: new snapshot

This corresponds to the latest fast forward of the morello/master branch
upstream.

Sponsored by:	DARPA, AFRL
408f11de02
Brooks Davis (brooks)
devel/llvm-morello: new snapshot

Sponsored by:	DARPA, AFRL
3a3f702fad
Brooks Davis (brooks)
devel/llvm-{cheri*,morello}: new snapshots

Update llvm-cheri to a new LLVM 17 based snapshot, llvm-cheriot to an
LLVM 18 based snapshot, and llvm-morello to a snapshot with new function
pointer semantics to better support compartmentalization.

Update the wrapper script to enable the new function pointer semantics
on sufficently new CheriBSD system.

Sponsored by:	DARPA, AFRL
de86be4582
Brooks Davis (brooks)
devel/llvm-{cheri,morello}: add clang-tools-extras

This adds clangd among other things.

(Due to the port structure, this includes a graturious PORTREVISION bump
in llvm-cheriot.  It doesn't seem worth the effort to avoid at this
point.)
f7f5f916e6
Brooks Davis (brooks)
devel/llvm-morello: New LLVM 15 based snapshot

Arm has merged LLVM 15 changes into Morello LLVM.

Sponsored by:	DARPA, AFRL
958435241f
Brooks Davis (brooks)
devel/llvm-{cheri,cheriot,morello}: update

Update to the latest snapshots.

We've done OK so far with installing standard headers as part of
devel/llvm## ports so extend that to these ports.  This is certainly
correct for llvm-cheriot.  Practical testing is likely required for the
others.
ffb78cd004
Brooks Davis (brooks)
devel/llvm-morello: new snapshot

Includes:

[Morello] Disable tail call stack arg area reuse for bounded memargs
d23a391162
Brooks Davis (brooks)
devel/llvm-{cheri,cheriot,morello}: link llvm-cxx{dump,filt}

These commands were some how not linked into bin long ago.  Correct
this error.

(Some other commands are also missing, but were specifically missing
llvm-cxxfilt).

Reported by:	jrtc27
Sponsoredy by:	AFRL, DARPA
06b0508fd4
Brooks Davis (brooks)
devel/llvm-{cheri,cheriot,morello}: new snapshots

Sponsored by:	AFRL, DARPA
0bd18d4aea
Brooks Davis (brooks)
devel/llvm-{cheri,cheriot,morello}: assorted fixups

Allow override of GH_PROJECT and GH_ACCOUNT[0] and fix GH_PROJECT in
llvm-cheriot.  No change in the source, but the filename is now
corrected.

Centralize include of Makefile.snapshot.

Reported by:	Irina Dudina <irina.dudina@ed.ac.uk>
0d92ee1e3b
Brooks Davis (brooks)
devel/llvm-{cheri,cheriot,morello}: new snapshots

Major changes:
    llvm-cheri: merge LLVM 15
    llvm-cheriot: switch the fork at github.com/CHERIoT-Platform
    llvm-morello: merge LLVM 14

Rework patching and filtering of commands and man pages to better
accomdate version skew between the different ports now that all three
have different bases.

Centralize the addition of ${.CURDIR}/files to EXTRA_PATCHS.
72ae5276b7
Brooks Davis (brooks)
devel/llvm-morello: Update to 1.7 release

Update to an October 17th snapshot corresponding to Arm's 1.7 release.

Sponsored by:	DARPA
73540e281d
Brooks Davis (brooks)
devel/llvm-{cheri,morello}: update to new snapshots

llvm-cheri: a few months of updates and fixes
llvm-morello: support for Morello benchmarking ABI

Sponsored by:	DARPA
6e5a148457
Felix Palmen (zirias)
bsd.sites.mk: Update all ports using USE_GITLAB

Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.

Approved by:		portmgr (tcberner, mentor)
Differential Revision:	https://reviews.freebsd.org/D37077
7d1faa7179
Brooks Davis (brooks)
devel/llvm-{cheri,morello}: new snapshots

Update CHERI and Morello LLVM to the latest snapshots.

Sponsored by:	DARPA
f070ee1c5b
Brooks Davis (brooks)
devel/llvm-morello: new snapshot

Includes a change to improve both performance and readability of default
-O0 code on CHERI where the prior code resulated in far too many
pointer bounds and stack spills where they were unneeded.

Sponsored by:	DARPA
65a846e0a2
Brooks Davis (brooks)
devel/llvm-{cheri,morello}: new snapshots, lit fixes

Fix the the python module name to use an '_' in place of '-' in the
port-specific module name.

PR:		270670, 269931
Sponsored by:	DARPA
Co-Authored-by:	Pawel Biernacki <kaktus@freebsd.org>
cd4074145d
Brooks Davis (brooks)
devel/llvm-{cheri,morello}: add a STATIC_LIBS option

When enabled assorted LLVM componant static libraries are included in
the package.  Unlike mainstream LLVM ports I've disabled this by
default as the libraries are of limited use here.

Sponsored by:	DARPA
9e513a7c81
Brooks Davis (brooks)
devel/llvm-morello: update to a new snapshot

Includes a fix for assertions compiling exiv2.

Sponsored by:	DARPA
8b210dabf4
Brooks Davis (brooks)
devel/llvm-morello: update to a new snapshot
bb64a4175e
Brooks Davis (brooks)
devel/llvm-{cheri,morello}: Update to new snapshots

llvm-cheri:
 - This updates from an LLVM 13 base to an LLVM 14 base.
 - Save a little compile time by dropping MIPS support.  The CHERI
   MIPS target still exists, but CheriBSD no longer supports it and the
   places that use it (e.g., https://cheri-compiler-explorer.cl.cam.ac.uk)
   use a Linux build.

llvm-morello:
 - Minor optimization improvements
3c1b4ff321
Brooks Davis (brooks)
devel/llvm-morello: chase latest snapshot

This fixes on of the comiler crashes encoutered while compiled Chromium.

Sponsored by:	DARPA, AFRL
8dc6f0cbc2
Brooks Davis (brooks)
llvm-{cheri,morello}: don't install std*.h

As with regular llvm ports, don't install std*.h as they conflict with
FreeBSD versions.

While here, update llvm-cheri to the latest snapshot.
bae4ebdcf9
Brooks Davis (brooks)
devel/llvm-morello: Update to a new snapshot

Sponsored by:	DARPA, AFRL
d13060b384
Brooks Davis (brooks)
devel/llvm-morello: 2022-10-03 snapshot

Among other things, this works around precision issues in the
RRLEN/RRMASK instructions.

Sponsored by:	DARPA, AFRL
8116e50f1d
Stefan Eßer (se)
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se)
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Brooks Davis (brooks)
llvm-{cheri,morello}: Update to new shapshots

Update llvm-cheri to the latest commit on the dev branch and
llvm-morello to the latest on morello/main.

For llvm-morello this update includes a change to the default varargs
ABI (all major consumers have already switched to using this ABI).

Sponsored by:	DARPA, AFRL
a42c3d274d
Brooks Davis (brooks)
devel/llvm-morello: Update to a new snapshot

This snapshot includes the final version of the patch applied in
93a0c2d46a28d0929d75182583ca2fc63bf8898b.

Sponsored by:	DARPA, AFRL
3a3db649d8
Brooks Davis (brooks)
devel/llvm-morello: Fix stack register selection

Apply a patch to fix a bug where the varargs register was improperly
reused as a scratch register.

Merge Request:	https://git.morello-project.org/morello/llvm-project/-/merge_requests/185
93a0c2d46a
Brooks Davis (brooks)
devel/llvm-morello: Update to a new snapshot

Of particular intrest in this update, instruction encoding is now
implied by -march and -mabi when targeting Morello.
7af7946fa2
Brooks Davis (brooks)
devel/llvm-{cheri,morello}: Fix plist without LLD

The ld -> ld.lld symlink is enabled by the LLD option.

Sponsored by:	DARPA, AFRL
f141ed66e3
Brooks Davis (brooks)
devel/llvm*: (NFC) extract MAN1SRCS list

Move the lists of manpages into Makefile.MAN1SRCS as with COMMANDS.

Sponsored by:	DARPA, AFRL
3a570865ce
Brooks Davis (brooks)
devel/llvm-{cheri,morello}: Add ld symlink

Add an ld -> ld.lld symlink in ${PREFIX}/llvm-{cheri,morello}/bin so
that clang finds the linker without adding -fuse-ld=ld.lld.
056b4e7ee1
Brooks Davis (brooks)
devel/llvm-{cheri,morello}: new snapshots

Update both llvm-cheri and llvm-morello to new snapshots as we head for
a CheriBSD release with package support.

Switch llvm-morello to use a Makefile.snapshot for more consistancy
with other LLVM snapshot ports.
9512a95c4c
Brooks Davis (brooks)
devel/llvm-morello: Add a port of Morello LLVM

This port of LLVM to the Arm Morello prototype architecture is based
on the University of Cambridge's CHERI LLVM.
c297fd5b8c