pkgsrc-Users archive

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

Re: Newly updated modular Xorg won't start



On Wed, 05 Jul 2017 08:27:10 +0000, "Thomas Mueller" <mueller6725%twc.com@localhost>
wrote:

> On a recently updated NetBSD-current i386, after updating all packages,
> X refuses to start.

[...]
> [ 15521.352] (II) LoadModule: "glx"
> [ 15521.353] (II) Loading /usr/pkg/lib/xorg/modules/extensions/libglx.so

> Does this suggest that something is nonworking in module "glx"?  Or
> maybe xauth?

See PR pkg/52452.  The problem is that /usr/pkg/lib/libGL.so.1.2.0 (part
of "graphics/MesaLib") runs afoul of PAX MPROTECT since it was enabled
by default on i386.  It causes the run-time linker ('ld.so_elf') to
attempt a RWX mapping of the library, which is forbidden (must not have
both W and X).

The problem has been fixed in pkgsrc-HEAD with MesaLib-11.2.2nb6.
If you update "graphics/MesaLib" to HEAD, rebuild and re-install
(or replace) it, Xorg will start.

(Or at least get further, depending on your video card and its
DRM driver status.)

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index