Stefan van der Eijk <[EMAIL PROTECTED]> writes:

[...]

> Is this the same thing I'm seeing with Mesa (hasn't been
> rebuilding since gcc 3.3):
> 
> http://eijk.homelinux.org/build/cooker/i586/problem/Mesa-5.0.1-3mdk
> 
> gcc -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -g -march=pentium 
> -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -Wall -Wno-uninitialized -O3 
> -fexpensive-optimizations -fomit-frame-pointer -finline-functions -funroll-loops 
> -DNDEBUG -DHW_LOG_ENABLED -DGLX_LOG -DDYNAMIC_MODULE  -DSTDC_HEADERS=1 
> -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PERM_H=1 
> -DHAVE_ASM_SIGCONTEXT_H=1 -DHAVE_LINUX_NEWAGP=1 -DSIZEOF_LONG=4 -DRETSIGTYPE=void 
> -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -DHAVE_IOPL=1 
> -DHAVE_LIBDL=1    -DGLX_LOG  -DGLXEXT -DXDEBUG 
> -DGLX_SO_PATH='"/usr/X11R6/lib/modules/glx-3.so"' -DMESA31 -DBUILD_COLOR_TABLE_EXT=1 
> -DGLX_MODULE  -I/home/cooker/RPM/BUILD/Mesa-5.0.1/glx/Mesa-3.2.1/src 
> -I/home/cooker/RPM/BUILD/Mesa-5.0.1/glx/Mesa-3.2.1/include 
> -I/home/cooker/RPM/BUILD/Mesa-5.0.1/glx/Mesa-3.2.1/src/X 
> -I/home/cooker/RPM/BUILD/Mesa-5.0.1/glx/Mesa-3.2.1/src/X86 -fPIC -
 c 3dnow.c
> 3dnow.c:159:35: pasting "gl_3dnow_rescale_normals_raw" and "(" does not give a valid 
> preprocessing token
> 3dnow.c:159:35: pasting "gl_3dnow_normalize_normals_raw" and "(" does not give a 
> valid preprocessing token

[...]

BitchX was not rebuilding because of a similar problem. Please
check out:

http://gcc.gnu.org/onlinedocs/gcc-3.3/cpp/Concatenation.html#Concatenation

Quoting: "two tokens that don't together form a valid token
cannot be pasted together. For example, you cannot concatenate x
with + in either order. If you try, the preprocessor issues a
warning and emits the two tokens. Whether it puts white space
between the tokens is undefined. It is common to find unnecessary
uses of ## in complex macros. If you get this warning, it is
likely that you can simply remove the ##."

I'm rebuilding Mesa and will fix if this is really the same
problem, which is highly probable.

PS : please could you remove quoted text that is unneeded

-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/

Reply via email to