Date: Fri, 24 May 2013 08:29:39 GMT From: Oliver Hartmann <ohartman@zedat.fu-berlin.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/178910: devel/llvm: relocation R_X86_64_PC32 against `X86CompilationCallback2' can not be used when making a shared object; recompile with -fPIC Message-ID: <201305240829.r4O8TdWt027081@oldred.FreeBSD.org> Resent-Message-ID: <201305240830.r4O8U0Q0097706@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 178910 >Category: ports >Synopsis: devel/llvm: relocation R_X86_64_PC32 against `X86CompilationCallback2' can not be used when making a shared object; recompile with -fPIC >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 24 08:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Oliver Hartmann >Release: FreeBSD 10.0-CURRENT/amd64 >Organization: FU Berlin >Environment: FreeBSD 10.0-CURRENT #1 r250742: Fri May 17 17:49:25 CEST 2013 amd64 >Description: Port devel/llvm fails to buil;d due to the follwoing error: gmake[2]: Leaving directory `/usr/ports/devel/llvm/work/llvm-3.2.src/lib/Object' gmake[2]: Entering directory `/usr/ports/devel/llvm/work/llvm-3.2.src/lib/DebugInfo' llvm[2]: Compiling DIContext.cpp for Release build llvm[2]: Compiling DWARFAbbreviationDeclaration.cpp for Release build llvm[2]: Compiling DWARFCompileUnit.cpp for Release build llvm[2]: Compiling DWARFContext.cpp for Release build llvm[2]: Compiling DWARFDebugAbbrev.cpp for Release build llvm[2]: Compiling DWARFDebugArangeSet.cpp for Release build llvm[2]: Compiling DWARFDebugAranges.cpp for Release build llvm[2]: Compiling DWARFDebugInfoEntry.cpp for Release build llvm[2]: Compiling DWARFDebugLine.cpp for Release build llvm[2]: Compiling DWARFDebugRangeList.cpp for Release build llvm[2]: Compiling DWARFFormValue.cpp for Release build llvm[2]: Building Release Archive Library libLLVMDebugInfo.a gmake[2]: Leaving directory `/usr/ports/devel/llvm/work/llvm-3.2.src/lib/DebugInfo' gmake[1]: Leaving directory `/usr/ports/devel/llvm/work/llvm-3.2.src/lib' gmake[1]: Entering directory `/usr/ports/devel/llvm/work/llvm-3.2.src/tools/llvm-shlib' llvm[1]: Linking Release Shared Library libLLVM-3.2.so /usr/bin/ld: /usr/ports/devel/llvm/work/llvm-3.2.src/Release/lib/libLLVMX86CodeGen.a(X86JITInfo.o): relocation R_X86_64_PC32 against `X86CompilationCallback2' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value c++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [/usr/ports/devel/llvm/work/llvm-3.2.src/Release/lib/libLLVM-3.2.so] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/llvm/work/llvm-3.2.src/tools/llvm-shlib' gmake: *** [all] Error 1 *** Error code 1 Stop. make: stopped in /usr/ports/devel/llvm *** Error code 1 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305240829.r4O8TdWt027081>