This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]