Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Aug 2019 19:12:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 239567] multimedia/ffmpeg: build with FLITE=on fails
Message-ID:  <bug-239567-12827-KwphTywMFb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239567-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-239567-12827@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #5 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to VVD from comment #4)
> But it build fine on 12.0 amd64 (with flite) before this patch too.

12.0 amd64 defaults to WITH_LLD_IS_LD, see src.conf(5) or
/usr/src/share/mk/src.opts.mk. On non-Clang architectures lang/gcc* is used
which defaults to ld.bfd from devel/binutils, not affected by -Wl,--as-need=
ed
bug.

-Wl,--as-needed is used by upstream to avoid overlinking: -lflite* are pass=
ed
globally but only libavfilter actually needs those. -lflite* are underlinked
libraries, so interdependencies are left to deal with by consumers.
Unfortunately, without direct references by libavfilter base ld.bfd with
-Wl,--as-needed assumes -lflite_cmulex and -lflite_usenglish are not used.

--=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-239567-12827-KwphTywMFb>