------- Comment #1 from pinskia at physics dot uc dot edu  2006-07-24 18:07 
-------
Subject: Re:   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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28469

Reply via email to