In PR comment 187 jbeich@ writes:
FreeType is disabled because iconv() detection fails which itself fails due to auto-enabled -pie. On amd64 configure appends -fpie, assuming shared libraries are built with -fPIC, but on i386 this is not required.
$ cat >a.c
$ cc a.c -pie
/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: .L.str in readonly segment; recompile object files with -fPIC
>>> defined in /tmp/a-5c8390.o
>>> referenced by a.c
cc: error: linker command failed with exit code 1 (use -v to see invocation)
> Checking for GUI ... yes
> Error: The GUI requires either FreeType or bitmap font support.
> Check "config.log" if you do not understand why it failed.
> ===> Script "configure" failed unexpectedly.
fixes the build with lld and produces a (on my test setup) working binary of mplayer and mencoder.
Ed: From previous discussions around the lld topic I understood that this is the preferred solution. Could you quickly confirm, then I'll commit this.
(In reply to Thomas Zander from comment #2)
Yes, this is the most straightforward option and configures lld to act as ld.bfd did, so is a minimal change.
Committed in r489814, see bug #214864