Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425042 - media-libs/mesa-8.0.3: fails to compile against uclibc
Summary: media-libs/mesa-8.0.3: fails to compile against uclibc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-06 11:20 UTC by Anthony Basile
Modified: 2012-07-24 22:26 UTC (History)
0 users

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


Attachments
Fix compile time errors against uclibc (mesa-8.0-uclibc.patch,1.85 KB, patch)
2012-07-06 11:25 UTC, Anthony Basile
Details | Diff
Fix compile time errors against uclibc (mesa-8.0-uclibc.patch,1.83 KB, patch)
2012-07-24 19:25 UTC, Anthony Basile
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Basile gentoo-dev 2012-07-06 11:20:26 UTC
mesa is mostly okay with uclibc instead of glibc, but 8.0.3 does miss a few checks that fall back on glibc-ism and cause compile time failures.  The following patch fixes this issue.

This is an upstream bug and I will submit the patch there.

Reproducible: Always
Comment 1 Anthony Basile gentoo-dev 2012-07-06 11:25:33 UTC
Created attachment 317412 [details, diff]
Fix compile time errors against uclibc

This patch has been in use for a while on my amd64 uclibc desktop.  See:

http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=tree;f=media-libs/mesa;h=1103d0aca0d32febab59e506fe120f9f2e8bac0f;hb=a6d73d2394456081bb60c1a3cf7008f44f5cd0b2
Comment 2 Anthony Basile gentoo-dev 2012-07-06 11:37:17 UTC
Upstream bug submitted: https://bugs.freedesktop.org/show_bug.cgi?id=51782
Comment 3 Anthony Basile gentoo-dev 2012-07-24 19:25:43 UTC
Created attachment 319108 [details, diff]
Fix compile time errors against uclibc

mattst88 noticed a problem with the prevous patch.  This one is fixed.  It applies against mesa-8.0.4
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-07-24 22:26:18 UTC
Fixed in mesa-8.1_rc1_pre20120724 (still p.masked until bug 427952 and bug 427956 are resolved).