This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug bootstrap/28469] New: stage2 error: toplev.c redefines floor_log2
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Jul 2006 14:07:25 -0400 (EDT)
- Subject: Re: [Bug bootstrap/28469] New: stage2 error: toplev.c redefines floor_log2
>
>
>
> When executing `make bootstrap', the following error occurs.
>
> stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -O2 -g
> -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros
> -Wold-style-definition -DHAVE_CONFIG_H -I. -I.
> -I../../share/src/gcc-4.0.3/gcc -I../../share/src/gcc-4.0.3/gcc/.
> -I../../share/src/gcc-4.0.3/gcc/../include
> -I../../share/src/gcc-4.0.3/gcc/../libcpp/include \
> -DTARGET_NAME=\"i686-pc-linux-gnu\" \
> -c ../../share/src/gcc-4.0.3/gcc/toplev.c -o toplev.o
> ../../share/src/gcc-4.0.3/gcc/toplev.c: In function 'toplev_main':
> ../../share/src/gcc-4.0.3/gcc/toplev.c:548: sorry, unimplemented: inlining
> failed in call to 'floor_log2': redefined extern inline functions are not
> considered for inlining
> ../../share/src/gcc-4.0.3/gcc/toplev.c:1713: sorry, unimplemented: called from
> here
> ../../share/src/gcc-4.0.3/gcc/toplev.c:548: sorry, unimplemented: inlining
> failed in call to 'floor_log2': redefined extern inline functions are not
> considered for inlining
> ../../share/src/gcc-4.0.3/gcc/toplev.c:1717: sorry, unimplemented: called from
> here
> ../../share/src/gcc-4.0.3/gcc/toplev.c:548: sorry, unimplemented: inlining
> failed in call to 'floor_log2': redefined extern inline functions are not
> considered for inlining
> ../../share/src/gcc-4.0.3/gcc/toplev.c:1719: sorry, unimplemented: called from
> here
> ../../share/src/gcc-4.0.3/gcc/toplev.c:548: sorry, unimplemented: inlining
> failed in call to 'floor_log2': redefined extern inline functions are not
> considered for inlining
> ../../share/src/gcc-4.0.3/gcc/toplev.c:1723: sorry, unimplemented: called from
> here
> make[2]: *** [toplev.o] Error 1
This is a bug in the kernel headers which have been fixed in a newer kernel already.
-- Pinski