Date: Tue, 08 Jan 2019 13:57:36 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 234745] audio/mplayer: fails to build on i386 with lld as system linker Message-ID: <bug-234745-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234745 Bug ID: 234745 Summary: audio/mplayer: fails to build on i386 with lld as system linker Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: emaste@freebsd.org Blocks: 214864 In PR comment 187 jbeich@ writes: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214864#c187 FreeType is disabled because iconv() detection fails which itself fails due= to auto-enabled -pie. On amd64 configure appends -fpie, assuming shared librar= ies 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) Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214864 [Bug 214864] [exp-run] test build with lld as /usr/bin/ld --=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-234745-7788>