http://bugs.freedesktop.org/show_bug.cgi?id=25663





--- Comment #16 from Ben Matthews <mbe...@gmail.com>  2010-01-05 18:32:49 PST 
---
Sorry about disappearing, I've been having some trouble getting autoconf to do
what I want and been distracted by the holidays.  

First off I had to tweak bin/config.sub to accept the bluegene/l 's host
string. For now I used my usual lazy hack:
echo "echo \"powerpc-bgl-blrts-gnu\"" > bin/config.sub

I then tried building with this:
/configure --host=powerpc-bgl-blrts-gnu --target=powerpc-bgl-blrts-gnu
--disable-glut --disable-shared --enable-static --disable-driglx-direct
--with-driver=osmesa --without-x

Unfortunately the configure script seems to to turn on a lot more code than the
old makefile. The first failure is in finding thread support (no threads on
BG/L)

powerpc-bgl-blrts-gnu-gcc -c -I../../include -I../../src/mesa
-I../../src/gallium/include -I../../src/gallium/auxiliary -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing    
-D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN main/api_arrayelt.c -o
main/api_arrayelt.o
In file included from ../../src/mesa/glapi/glapi.h:51,
                 from main/mtypes.h:41,
                 from main/api_arrayelt.h:30,
                 from main/api_arrayelt.c:30:
../../src/mesa/glapi/glthread.h:93:49: pthread.h: No such file or directory
In file included from ../../src/mesa/glapi/glapi.h:51,
                 from main/mtypes.h:41,
                 from main/api_arrayelt.h:30,
                 from main/api_arrayelt.c:30:
../../src/mesa/glapi/glthread.h:96: error: parse error before "pthread_key_t"
../../src/mesa/glapi/glthread.h:96: warning: no semicolon at end of struct or
union
../../src/mesa/glapi/glthread.h:98: error: parse error before '}' token
../../src/mesa/glapi/glthread.h:98: warning: type defaults to `int' in
declarati
(and so on..)

I did include the patch from comment 13, but I don't think it got far enough
for that to matter. 

On a side note, it seems to build fine on BG/P as well (using the makefile). I
did have to change the compiler paths but that's no big deal. 


-- 
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
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to