[Bug 239567] multimedia/ffmpeg: build with FLITE=on fails
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Aug 1 19:12:06 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239567
--- Comment #5 from Jan Beich <jbeich at 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-needed
bug.
-Wl,--as-needed is used by upstream to avoid overlinking: -lflite* are passed
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-multimedia
mailing list