Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2018 21:37:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 214864] [exp-run] test build with lld as /usr/bin/ld
Message-ID:  <bug-214864-7788-nWp30pfYTo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214864-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214864-7788@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=3D214864

--- Comment #187 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Ed Maste from comment #185)
> audio/mplayer doesn't look like a typical lld failure:
>> Error: The GUI requires either FreeType or bitmap font support.

Try looking inside config.log. FreeType is disabled because iconv() detecti=
on
fails which itself fails due to auto-enabled -pie. On amd64 configure appen=
ds
-fpie, assuming shared libraries are built with -fPIC, but on i386 this is =
not
required.

$ cat >a.c
#include <stdio.h>

int main()
{
  printf("Hello World\n");
  return 0;
}

$ 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
>>>               /tmp/a-5c8390.o:(main)
cc: error: linker command failed with exit code 1 (use -v to see invocation)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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