Red Hat Bugzilla – Bug 464988
Last modified: 2008-10-03 03:00:12 EDT
arm-gp2x-linux-gcc-4.1.2-8.fc9.src.rpm Failed To Build From Source against the rawhide tree. See http://fedoraproject.org/wiki/FTBFS for more information.
Created attachment 318425 [details]
root.log for i386
Created attachment 318426 [details]
build.log for i386
Created attachment 318427 [details]
mock.log for i386
Created attachment 318428 [details]
root.log for x86_64
Created attachment 318429 [details]
build.log for x86_64
Created attachment 318430 [details]
mock.log for x86_64
../../gcc-4.1.2/gcc/toplev.c:524: error: redefinition of 'floor_log2'
../../gcc-4.1.2/gcc/toplev.h:176: error: previous definition of 'floor_log2' was here
../../gcc-4.1.2/gcc/toplev.c:559: error: redefinition of 'exact_log2'
../../gcc-4.1.2/gcc/toplev.h:182: error: previous definition of 'exact_log2' was here
This is due to the new "extern inline" semantics in -std=gnu99. Is that flag coming from RPM_OPT_FLAGS? It can probably be sedded out or sedded to -std=gnu90. That, or the code could be fixed.
I fixed the code, closing.