http://bugs.freedesktop.org/show_bug.cgi?id=25663
Summary: Compile Failures on Bluegene/L
Product: Mesa
Version: 7.6
Platform: PowerPC
OS/Version: other
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
AssignedTo: [email protected]
ReportedBy: [email protected]
The bluegene osmesa targets don't compile on recent versions of Mesa (the last
version that "just works" was 7.0.4). The bluegene-xlc-osmesa target fails in
src/mesa/main/compiler.h because sys/endian.h isn't present on the BG/L. The
gcc version (bluegene-osmesa) also fails in numerous other files because of the
use of "//" instead of "/* */" The GCC build also trips up in
src/mesa/main/dlopen.c because dlopen() doesn't exist on bluegene (only static
binaries are supported). The IBM compiler doesn't fail here because it doesn't
define _GNU_SOURCE.
I've attached a patch against MesaLib-7.6.1-rc3 which allows both targets to
build on a Bluegene/L machine using both xlc and gcc; However in does need some
cleanup (in particular, i'm having trouble using the __blrts constant to detect
the bluegene and turn off dlopen). I don't really have the time and/or energy
to really fix this, but hopefully the patch is enough to show the issues
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev