Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716860 - x11-libs/libX11 is compiled without the suport for shared mem extension module
Summary: x11-libs/libX11 is compiled without the suport for shared mem extension module
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-04-10 04:37 UTC by brankob
Modified: 2020-06-15 00:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
tweaked ebuild- added libXext dependency and shm flag (libX11-1.6.9-r4.ebuild,833 bytes, text/plain)
2020-04-10 04:39 UTC, brankob
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brankob 2020-04-10 04:37:59 UTC
Mesa performance tips ( https://www.mesa3d.org/perf.html ) recommends compiling libX11 with MIT shared memory support for best openGL performance, yet this seems to be missing in ebuild. Is there some kind of securtiy problem with this ?

I've modified exisitng ebuild. I've adde shm USE flag and conditinal dependency to libXext. PAckage seesm to build fine and uses added define and libXext library during make.

I'll attach the ebuild...


 

Reproducible: Always
Comment 1 brankob 2020-04-10 04:39:58 UTC
Created attachment 631690 [details]
tweaked ebuild- added libXext dependency and shm flag
Comment 2 Matt Turner gentoo-dev 2020-06-15 00:30:08 UTC
Thanks for the report.

That documentation is very out of date. SHM support is enabled automatically by configure.ac:

AC_CHECK_FUNC([shmat], AC_DEFINE(HAS_SHM,1,[Has shm*() functions]))

which detects it on my system:

> checking for shmat... yes

So, nothing to do here. :)