pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53169: pkgsrc needs a better option to use base libelf



>Number:         53169
>Category:       pkg
>Synopsis:       pkgsrc needs a better option to use base libelf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 08 16:05:00 +0000 2018
>Originator:     David Shao
>Release:        pkgsrc current
>Organization:
>Environment:
NetBSD xxxxx.xxx 8.99.14 NetBSD 8.99.14 (GENERIC) #3: Tue Apr  3 11:21:57 PDT 2018  xxxxx%xxxxxx.xxx@localhost:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
I have found it essential to not use pkgsrc libelf, which is used by both devel/glib2 and graphics/MesaLib, on both FreeBSD 12-current and NetBSD 8.99.14 amd64 using more recent versions of mesa3d.

For example, on NetBSD 8.99.14 amd64 with a graphics card using radeonsi, using pkgsrc libelf results in errors using

LD_PRELOAD=/usr/pkg/lib/libGL.so mpv ...

similar to those described in

https://bugs.freedesktop.org/show_bug.cgi?id=101977

UE4 4.17 causes Assertion `G_0286CC_LINEAR_CENTER_ENA(shader->config.spi_ps_input_addr)' failed

or

.AMDGPU.config is empty LLVM failed to compute shader

Whereas cutting out pkgsrc libelf from ever being installed and apparently relying on the base libelf results in Firefox 52 being able to run WebGL demos such as:

http://madebyevan.com/webgl-water/

On FreeBSD 12-current, using pkgsrc libelf results in the x server segfaulting before even starting on a AMD Caicos type graphics card system.

This patch also seems relevant to the problem:

https://patchwork.freedesktop.org/patch/171151/

 
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index