Current-Users archive

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

Re: build-success/install-fault on i486 with xsrc



On Tue, Oct 27, 2020 at 10:26:43PM +0000, maya%NetBSD.org@localhost wrote:
> On Tue, Oct 27, 2020 at 11:13:48PM +0100, Tobias Nygren wrote:
> > On Tue, 27 Oct 2020 22:57:28 +0100
> > Miranda van den Breukelingen <lizbethmutterhunt%gmail.com@localhost> wrote:
> > 
> > > libGL.so.3 text relocations
> > > libGL.so3 cannot write enable text sements: permission deniend
> > 
> > Is base mesa not built with GLX_X86_READONLY_TEXT on i386? I suspect
> > i386 users are few and far apart these days. You may need to dig into
> > the source and patch things. Alternatively try pkgsrc's Xorg with
> > X11_TYPE=modular. I think we enable that option there for i386.
> > 
> > Kind regards,
> > -Tobias
> 
> I tested i386 (and armv7, another common victim) last time I touched mesa,
> but that was a while ago.

For the record, with -Wl,--warn-shared-textrel,

libGL_pic.a(entry.pico): warning: relocation against `_glapi_get_dispatch' in read-only section `.text'
warning: creating a DT_TEXTREL in a shared object

This seems to be in entry_x86_tsd.h:
https://github.com/NetBSD/xsrc/blob/33da210726adcd84897dd08f1e8cd650c90ed432/external/mit/MesaLib/dist/src/mapi/entry_x86_tsd.h


Home | Main Index | Thread Index | Old Index