Date: Fri, 10 Mar 2017 17:46:22 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 217688] mail/libsrs2 linkfail: needs -fPIC Message-ID: <bug-217688-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217688 Bug ID: 217688 Summary: mail/libsrs2 linkfail: needs -fPIC Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pi@FreeBSD.org Reporter: ler@FreeBSD.org Flags: maintainer-feedback?(pi@FreeBSD.org) Assignee: pi@FreeBSD.org cc -shared srs2.lo sha1.lo -Wl,-soname -Wl,libsrs2.so.0 -o .libs/libsrs2.so.0.0.0 /usr/bin/ld: sha1.lo: relocation R_X86_64_PC32 against `__stack_chk_guard@@FBSD_1.0' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) http://home.lerctr.org:8888/data/p110amd64-host-ports/2017-03-08_21h18m13s/= logs/errors/libsrs2-1.0.18_3.log I made a local mod just bumping PORTREVISION and adding CFLAGS+=3D -fPIC and it compiles fine. I'm not sure if that's 100% correct. --=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-217688-13>