Hi,

I am trying to follow instructions to setup a cross build environment
and running into a problem at step 7 "configure, compile and install glibc".

My current system is RH kernel 2.4.9.  I downloaded binutils 2.12.90,
gcc 3.3, glibc 2.2.5 and kernel level 2.4.19.

All goes well until the 'make' step for building glibc.  I receive an error
regarding 'va_start'.  I have included the last lines of the output below.

Has anyone run into this before?

Thanks in advance.


_itoa.h:74: warning: called from here
s390-ibm-linux-gcc _itowa.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-s
s390-ibm-linux-gcc itoa-digits.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwr
s390-ibm-linux-gcc itoa-udigits.c -c -O2 -Wall -Winline -Wstrict-prototypes -Ww
s390-ibm-linux-gcc itowa-digits.c -c -O2 -Wall -Winline -Wstrict-prototypes -Ww
s390-ibm-linux-gcc vfprintf.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite
vfprintf.c: In function `_IO_vfprintf':
_i18n_number.h:25: warning: inlining failed in call to `_i18n_number_rewrite'
vfprintf.c:1523: warning: called from here
_i18n_number.h:25: warning: inlining failed in call to `_i18n_number_rewrite'
vfprintf.c:1523: warning: called from here
printf-parse.h:137: warning: inlining failed in call to `parse_one_spec'
vfprintf.c:1627: warning: called from here
_i18n_number.h:25: warning: inlining failed in call to `_i18n_number_rewrite'
vfprintf.c:1785: warning: called from here
_i18n_number.h:25: warning: inlining failed in call to `_i18n_number_rewrite'
vfprintf.c:1785: warning: called from here
vfprintf.c: In function `buffered_vfprintf':
vfprintf.c:231: warning: inlining failed in call to `_IO_vfprintf'
vfprintf.c:2086: warning: called from here
s390-ibm-linux-gcc vprintf.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-
s390-ibm-linux-gcc printf_fp.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrit
printf_fp.c: In function `__printf_fp':
printf_fp.c:206: warning: inlining failed in call to `hack_digit'
printf_fp.c:888: warning: called from here
printf_fp.c:206: warning: inlining failed in call to `hack_digit'
printf_fp.c:910: warning: called from here
printf_fp.c:206: warning: inlining failed in call to `hack_digit'
printf_fp.c:923: warning: called from here
s390-ibm-linux-gcc reg-printf.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwri
s390-ibm-linux-gcc printf-prs.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwri
printf-prs.c: In function `parse_printf_format':
printf-parse.h:137: warning: inlining failed in call to `parse_one_spec'
printf-prs.c:92: warning: called from here
s390-ibm-linux-gcc ../sysdeps/generic/printf_fphex.c -c -O2 -Wall -Winline -Wst
s390-ibm-linux-gcc printf_size.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwr
s390-ibm-linux-gcc fprintf.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-
s390-ibm-linux-gcc printf.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-s
s390-ibm-linux-gcc snprintf.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite
s390-ibm-linux-gcc sprintf.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-
sprintf.c:31: warning: conflicting types for built-in function `sprintf'
sprintf.c: In function `sprintf':
sprintf.c:37: error: `va_start' used in function with fixed args
make 2Y: ***  /samba/glibc-build/stdio-common/sprintf.oY Error 1
make 2Y: Leaving directory `/samba/glibc-2.2.5/stdio-common'
make 1Y: ***  stdio-common/subdir_libY Error 2
make 1Y: Leaving directory `/samba/glibc-2.2.5'
make: ***  allY Error 2
 [EMAIL PROTECTED] glibc-buildY#

Reply via email to