Gcc 3.3 and Glibc 2.3.2

Florian Fernandez florian.fernandez2 at wanadoo.fr
Sun Jun 1 22:37:39 PDT 2003


Florian Fernandez wrote:

> Hi,
> 
> I tried to compile glibc 2.3.2 with gcc 3.3 and I got this:
> 
> ...
> sscanf.c:31: warning: conflicting types for built-in function `sscanf'
> sscanf.c: In function `sscanf':
> sscanf.c:37: error: `va_start' used in function with fixed args
> make[2]: *** [/root/glibc-build/stdio-common/sscanf.o] Error 1
> make[2]: Leaving directory `/root/glibc-2.3.2/stdio-common'
> make[1]: *** [stdio-common/subdir_lib] Error 2
> make[1]: Leaving directory `/root/glibc-2.3.2'
> make: *** [all] Error 2
> 
> When I compile with gcc 3.2.3 all is ok.
> 
> Anyone can help me ?
> 


The only workaround I found is:
in file usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/include/stdarg.h
add commentary at line 50:

//#define va_start(v,l) __builtin_va_start(v,l)

anyone has an other idea ?


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list