Bug 275259 - security/weggli: Fix build with older clang
Summary: security/weggli: Fix build with older clang
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: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-22 10:18 UTC by Mikael Urankar
Modified: 2023-11-22 22:46 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (bofh)


Attachments
v0 (1.42 KB, patch)
2023-11-22 10:18 UTC, Mikael Urankar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer freebsd_triage 2023-11-22 10:18:26 UTC
Created attachment 246485 [details]
v0

It doesn't build with clang < 16 (13.2-RELEASE)

error: linking with `cc` failed: exit status: 1
= note: ld: error: version script assignment of 'global' to symbol '__muloti4' failed: symbol not defined
       cc: error: linker command failed with exit code 1 (use -v to see invocation)
Comment 1 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-11-22 11:04:26 UTC
Thanks for the notification. Will fix in the batch of commits.

By any chance do you have 13.2-STABLE running somewhere and can you confirm whether it builds there?
Comment 2 Mikael Urankar freebsd_committer freebsd_triage 2023-11-22 11:32:28 UTC
(In reply to Muhammad Moinur Rahman from comment #1)
Nope, sorry no -stable here.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-11-22 22:44:56 UTC
A commit in branch main references this bug:

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

commit aafbb97d30a8b3eb208f0ea10a126338a21cb9f0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-11-22 22:36:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-11-22 22:44:03 +0000

    security/weggli: Fix build for 12 and 13

    PR:             275259
    Reported by:    mikael

 security/weggli/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)