From: Dan K. <dk...@ix...> - 2003-06-12 00:57:44
|
kaz Kojima wrote: > Stuart Menefy <stu...@st...> wrote: > >>You need to build kernel modules with the -mno-implicit-fp compiler >>option. This is the same option used when building the kernel, and >>prevents the compiler making use of the floating point unit for integer >>divides. It also effects which intrinsic functions the compiler uses >>for integer divide, which is what you are seeing here. > > > BTW, we don't have even local patches for -mno-implicit-fp against > gcc-3.3 and gcc-3.4. I hear that the "stage1" of gcc-3.4 will end at > July 4 and it means that we can't add any new features to the official > gcc-3.4 after that day. I'm unsure that there are technical merits to > use them when compiling kernel, but some folks would like to use a > single (and new) SH gcc. I would very much like to use gcc-3.3 for compiling everything, including the sh-4 kernel. But I guess I will plan on using gcc-3.2.3 for that for now, after reading your message! As for gcc-3.4 ... since earlier compilers had -mno-implicit-fp, couldn't you consider this a bugfix rather than a feature? :-) - Dan |