Xenocara/radeonsi_dri.so build failed on -current

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Xenocara/radeonsi_dri.so build failed on -current

413x
Hi misc@,

For a couple of weeks, I am not able to build Xenocara on -current
(even after a fresh cvs update or checkout, and manually install the
sets) anymore.

OpenBSD 5.7 GENERIC.MP#44 amd64

I have got the following errors:

cc -shared -fpic -o radeonsi_dri.so `lorder dri_context.so
dri_drawable.so dri_query_renderer.so dri_screen.so dri2.so utils.so
dri_util.so xmlconfig.so drm_target.so dri_context.so dri_drawable.so
dri_query_renderer.so dri_screen.so dri2.so utils.so dri_util.so
xmlconfig.so drm_target.so|tsort -q`
../../mesa/libmesagallium/libmesagallium_pic.a
../../glsl/libglsl/libglsl_pic.a
../../gallium/drivers/trace/libtrace_pic.a
../../gallium/drivers/rbug/librbug_pic.a
../../gallium/drivers/radeonsi/libradeonsi_pic.a
../../gallium/drivers/radeon/libradeon_pic.a
../../gallium/winsys/radeon/drm/libradeonwinsys_pic.a
../../gallium/libgallium/libgallium_pic.a  -L/usr/X11R6/lib -lexpat -lm
-lstdc++ -lc -ldrm_radeon -lxcb-dri2 -L/usr/local/lib -lLLVMAsmParser
-lLLVMipo -lLLVMVectorize -lLLVMR600CodeGen -lLLVMR600Desc
-lLLVMR600Info -lLLVMR600AsmPrinter -lLLVMMCJIT -lLLVMRuntimeDyld
-lLLVMBitWriter -lLLVMX86Disassembler -lLLVMX86AsmParser
-lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMMCParser
-lLLVMX86Desc -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMJIT
-lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine
-lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC
-lLLVMObject -lLLVMBitReader -lLLVMCore -lLLVMSupport
/usr/local/lib/libelf.a
/usr/bin/ld: /usr/local/lib/libelf.a(end.o): relocation R_X86_64_PC32
against `elf_end' can not be used when making a shared object; recompile
with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
*** Error 1 in lib/libGL/dri/radeonsi (../Makefile.inc:86 'radeonsi_dri.so')
*** Error 2 in lib/libGL/dri (<bsd.subdir.mk>:48 'all')
*** Error 2 in lib/libGL (<bsd.subdir.mk>:48 'all')
*** Error 2 in lib/libGL (/usr/X11R6/share/mk/bsd.xorg.mk:211 'build')
*** Error 2 in lib (<bsd.subdir.mk>:48 'build')
*** Error 2 in . (<bsd.subdir.mk>:48 'realbuild')
*** Error 2 in /usr/xenocara (Makefile:36 'build')

Thanks for your help,

--
Alexis de BRUYN