I know I posted the exact errmsg but esecaly it's missing a global .register deffinition and it's just the sam code (.S).
I build it in 64bit (not using sparc32 to fake a 32bit system). I needed this cause DRI is knowen to not work with mixed user/kernel bitdepths and I have a 64bit kernel. glibc is built for both 64bit and 32bit binarys. Normally the differance is... sparc32 make all; # vs just running "make all" and this is needed for many programs that don't take into account 64bit systems. --- Ian Romanick <[EMAIL PROTECTED]> wrote: > Mike Mestnik wrote: > > --- Ian Romanick <[EMAIL PROTECTED]> wrote: > > > >>Assembly dispatch stubs are only generated for x86 and SPARC. It > looks > >>like the #if test in dispatch.c is wrong, so that stubs don't even get > > >>used on SPARC. In any case, Jakub's patch did modify the x86 > assembly, > >>not the C version. I wasn't really clear about that before. My > >>proposal is to modify the C version, the x86 assembly version, and the > > >>SPARC assembly version. I've worked up a patch to gl_x86_asm.py that > I > >>can post on Monday. > > > > Just to get every one on the same page. The SPARC assembly version is > > only for solaris. It dose not, and can not, even build on linux! > Last > > time I checked DRI would not build on SPARC/Linux, crashing on the > Solaris > > ASM code. > > Does the code in src/mesa/glapi/glapi.c (generate_entrypoint > specifically) cause the crash or just the code in > src/mesa/sparc/glapi_sparc.S? My guess is that Linux uses 32-bit > user-mode, but the asm code in glapi_sparc.S defaults to 64-bit on v9. > Perhaps we could come up with a better define, such as > USE_SPARC_32BIT_USER to determine which stubs to build. > > __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel