Felix Kühling wrote:
Hi,

in the DRI build system t_vtx_x86_gcc.S ends up being compiled this
command:

gcc -c -o t_vtx_x86_gcc.o t_vtx_x86_gcc.S

The defined like -DUSE_X86_ASM are not there because they are defined as
CFLAGS which are not used for compiling assembler sources files. Because
of the conditional statement at the top of t_vtx_x86_gcc.S several
symbols are undefined in the resulting 3D drivers:

#if defined(USE_X86_ASM) && !defined(HAVE_NONSTANDARD_GLAPIENTRY)

Is this conditional really needed?

I guess it's not needed for compilation, but this code definitely won't work on those systems with a non-standard calling convention. So, the test could be moved elsewhere if that helps.


Keith



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to