Fwd: Xenocara/radeonsi_dri.so build failed on -current

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Fwd: Xenocara/radeonsi_dri.so build failed on -current

413x
Hi Everybody,

I still have this issue today after rebuilding my kernel and userland
then xenocara as usual.

Does anybody have this problem too?

Thanks,


-------- Forwarded Message --------
Subject: Xenocara/radeonsi_dri.so build failed on -current
Date: Sat, 13 Jun 2015 14:59:39 +0200
From: Alexis de BRUYN <[hidden email]>
To: [hidden email]

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


--
Alexis de BRUYN


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: Xenocara/radeonsi_dri.so build failed on -current

Jeremie Courreges-Anglas-2
Alexis de BRUYN <[hidden email]> writes:

> Hi Everybody,
>
> I still have this issue today after rebuilding my kernel and userland
> then xenocara as usual.
>
> Does anybody have this problem too?

I built base and xenocara yesterday without errors on amd64.  Looks like
you missed something in the binutils-2.17 switch.  Just upgrade from
snapshots and retry with empty obj dirs.

--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: Xenocara/radeonsi_dri.so build failed on -current

413x
On 06/22/15 17:27, Jérémie Courrèges-Anglas wrote:

> Alexis de BRUYN <[hidden email]> writes:
>
>> Hi Everybody,
>>
>> I still have this issue today after rebuilding my kernel and userland
>> then xenocara as usual.
>>
>> Does anybody have this problem too?
>
> I built base and xenocara yesterday without errors on amd64.  Looks like
> you missed something in the binutils-2.17 switch.  Just upgrade from
> snapshots and retry with empty obj dirs.
I upgraded today from snapshots (via bsd.rd), updated the sources and
rebuilt base+xenocara. I still have the same issue.

--
Alexis de BRUYN

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: Xenocara/radeonsi_dri.so build failed on -current

Stuart Henderson-6
On 2015/07/01 20:39, Alexis de BRUYN wrote:

> On 06/22/15 17:27, Jérémie Courrèges-Anglas wrote:
> >Alexis de BRUYN <[hidden email]> writes:
> >
> >>Hi Everybody,
> >>
> >>I still have this issue today after rebuilding my kernel and userland
> >>then xenocara as usual.
> >>
> >>Does anybody have this problem too?
> >
> >I built base and xenocara yesterday without errors on amd64.  Looks like
> >you missed something in the binutils-2.17 switch.  Just upgrade from
> >snapshots and retry with empty obj dirs.
> I upgraded today from snapshots (via bsd.rd), updated the sources and
> rebuilt base+xenocara. I still have the same issue.

If you already tried with clean obj directories and that didn't help,
you could try the methods suggested in "Cleaning in packages managed
by autotools" in /usr/xenocara/README..


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fwd: Xenocara/radeonsi_dri.so build failed on -current

413x
On 07/01/15 23:15, Stuart Henderson wrote:

> On 2015/07/01 20:39, Alexis de BRUYN wrote:
>> On 06/22/15 17:27, Jérémie Courrèges-Anglas wrote:
>>> Alexis de BRUYN <[hidden email]> writes:
>>>
>>>> Hi Everybody,
>>>>
>>>> I still have this issue today after rebuilding my kernel and userland
>>>> then xenocara as usual.
>>>>
>>>> Does anybody have this problem too?
>>>
>>> I built base and xenocara yesterday without errors on amd64.  Looks like
>>> you missed something in the binutils-2.17 switch.  Just upgrade from
>>> snapshots and retry with empty obj dirs.
>> I upgraded today from snapshots (via bsd.rd), updated the sources and
>> rebuilt base+xenocara. I still have the same issue.
>
> If you already tried with clean obj directories and that didn't help,
> you could try the methods suggested in "Cleaning in packages managed
> by autotools" in /usr/xenocara/README..

This is not directly solved my issue, but after reading the
/usr/xenocara/README entirely and look at my /etc/mk.conf, I can build
xenocara, if I comment:
XENOCARA_BUILD_GALLIUM=llvm

If I remember well, I add this while I was testing some radeon stuff
with jsg@.

Thanks sthen@ and jca@ for your help!

--
Alexis de BRUYN

Loading...