Bug 279617 - devel/mold: Update to 2.32.0
Summary: devel/mold: Update to 2.32.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ashish SHUKLA
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-09 23:10 UTC by Daniel Engberg
Modified: 2024-07-16 08:48 UTC (History)
0 users

See Also:
ashish: maintainer-feedback+


Attachments
Patch for mold (3.54 KB, patch)
2024-06-09 23:10 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2024-06-09 23:10:14 UTC
Created attachment 251333 [details]
Patch for mold

Add "make test" (see below)

Poudriere testport OK (13.2-RELEASE) (amd64)
Poudriere testport OK (14.0-RELEASE) (amd64)

Most of the tests now pass on my 14.0 (amd64) testbox, there are a few that don't.

I can't get shebangfix to apply only when executing tests so it's always applied for now.

Three fails because they seem to fail to compile?
x86_64-many-sections2
x86_64-mold-wrapper
x86_64-range-extension-thunk3

x86_64-section-order complains about a corrupted binary

x86_64-lto-nostdlib - "mold: fatal: -m option is missing"

Not sure what's the issue with these (haven't look to much at it)
x86_64-x86_64_warn-execstack
x86_64-dynamic
x86_64-thin-archive
x86_64-warn-once
Comment 1 Ashish SHUKLA freebsd_committer freebsd_triage 2024-06-30 21:45:55 UTC
Sorry for the delay. I'll review this patch this week, along with updating it to 2.32.1 (which was out few days ago).

Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-07-16 06:08:18 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=630b03a1d314008abd2c7b9e4c2f4195eb3e3a77

commit 630b03a1d314008abd2c7b9e4c2f4195eb3e3a77
Author:     Daniel Engberg <dizzy@FreeBSD.org>
AuthorDate: 2024-07-14 15:31:12 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2024-07-16 06:07:01 +0000

    devel/mold: Update to 2.32.0

    - Add test target
    - Add option for LTO

    PR:             279617
    Approved by:    maintainer

 devel/mold/Makefile | 67 ++++++++++++++++++++++++++++++++++++++++++-----------
 devel/mold/distinfo |  6 ++---
 2 files changed, 56 insertions(+), 17 deletions(-)
Comment 3 Ashish SHUKLA freebsd_committer freebsd_triage 2024-07-16 08:48:23 UTC
Committed, thanks!

Sorry for the delay.