Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2022 08:17:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264225] security/keepassxc: Fix build on recent head (after lld 14 import)
Message-ID:  <bug-264225-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264225

            Bug ID: 264225
           Summary: security/keepassxc: Fix build on recent head (after
                    lld 14 import)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: lwhsu@FreeBSD.org
          Reporter: madpilot@FreeBSD.org
             Flags: maintainer-feedback?(lwhsu@FreeBSD.org)
          Assignee: lwhsu@FreeBSD.org

Created attachment 234197
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D234197&action=
=3Dedit
patch v1

Hi,

I upgraded to latest head and keepassxc now fails to build.

Attached patch addresses the issue. I did not make it conditional on the OS
version because it seems to make no difference.

The problem is lld refusing an option which it was accepting but I could not
find any documentation for, so I guess it was a compatibility nop before.

on 13.1:

> ld --no-add-needed
ld: error: no input files

on head after 1400059:

> ld --no-add-needed
ld: error: unknown argument '--no-add-needed'


so my patch simply removes that option from the command line.

If required I can make it depend on __FreeBSD_version, by moving from a pat=
ch
to a reinplace command in the Makefile, but as I said it looks like this li=
nker
option is actually a nop.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264225-7788>