Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512208 - media-libs/mesa: with the new mulitlib use we don't disable asm so we get textrel on amd64
Summary: media-libs/mesa: with the new mulitlib use we don't disable asm so we get tex...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-02 23:27 UTC by Magnus Granberg
Modified: 2014-07-08 22:26 UTC (History)
2 users (show)

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


Attachments
check if we have pic and x86 then disable asm (mesa_x86_pic_ebuild.patch,687 bytes, patch)
2014-06-02 23:32 UTC, Magnus Granberg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Granberg gentoo-dev 2014-06-02 23:27:07 UTC
With new multilib use to build the 32 bit libs we don't disable the asm code in
mesa so we get textrel. If we enable the pic use flag in the hardened amd64 profile we disable the asm even when we don't need it on the amd64 part of the build so we need to only disable the asm when we compile the x68 part.

Reproducible: Always
Comment 1 Magnus Granberg gentoo-dev 2014-06-02 23:32:45 UTC
Created attachment 378100 [details, diff]
check if we have pic and x86 then disable asm

Disable onlt asm when we have use pic and are building x86.
Comment 2 Nikoli 2014-06-14 06:28:06 UTC
Applied patch to mesa-9999.ebuild in x11 overlay. With 10.2.1 patch works fine too.
Comment 3 Magnus Granberg gentoo-dev 2014-07-08 22:26:52 UTC
Fixed in 9.2.5-r1, 10.1.6, 10.2.1 and 10.2.2 in CVS