Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Apr 2022 19:47:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 263071] audio/mumble: fix build with lld 14
Message-ID:  <bug-263071-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 263071
           Summary: audio/mumble: fix build with lld 14
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: feld@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(feld@FreeBSD.org)
          Assignee: feld@FreeBSD.org

During an exp-run for llvm 14 (see bug 261742), it turned out that audio/mu=
mble
fails to build with lld 14:

c++ -fstack-protector-strong -pie -Wl,--no-add-needed -Wl,-z,relro -Wl,-z,n=
ow
-shared -Wl,-soname,libcelt0.so.0 -o libcelt0.so.0.7.0
../../debug/.obj/celt-0.7.0-build/bands.o
../../debug/.obj/celt-0.7.0-build/celt.o
../../debug/.obj/celt-0.7.0-build/cwrs.o
../../debug/.obj/celt-0.7.0-build/entcode.o
../../debug/.obj/celt-0.7.0-build/entdec.o
../../debug/.obj/celt-0.7.0-build/entenc.o
../../debug/.obj/celt-0.7.0-build/header.o
../../debug/.obj/celt-0.7.0-build/kiss_fft.o
../../debug/.obj/celt-0.7.0-build/kiss_fftr.o
../../debug/.obj/celt-0.7.0-build/laplace.o
../../debug/.obj/celt-0.7.0-build/mdct.o
../../debug/.obj/celt-0.7.0-build/modes.o
../../debug/.obj/celt-0.7.0-build/pitch.o
../../debug/.obj/celt-0.7.0-build/psy.o
../../debug/.obj/celt-0.7.0-build/quant_bands.o
../../debug/.obj/celt-0.7.0-build/rangedec.o
../../debug/.obj/celt-0.7.0-build/rangeenc.o
../../debug/.obj/celt-0.7.0-build/rate.o ../../debug/.obj/celt-0.7.0-build/=
vq.o
 -L/usr/lib/x86_64-unknown-freebsd14.0/c++11 -L/usr/lib -L/usr/local/lib
c++: warning: argument unused during compilation: '-pie'
[-Wunused-command-line-argument]
ld: error: unknown argument '--no-add-needed'
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)

This is because lld upstream removed the deprecated --no-add-needed option,
which should be replaced with --no-copy-dt-needed-entries instead.

(Note that BFD ld still accepts the --no-add-needed option, but is also
deprecated there, so it might go away.)

--=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-263071-7788>