From: Manuel L. <ma...@ro...> - 2007-07-07 05:17:27
|
Paul Mundt wrote: > On Mon, Mar 19, 2007 at 09:27:57AM +0100, Manuel Lauss wrote: >> Also, these exports need to be removed from sh_ksyms.c, they give >> "undefined reference" errors: >> __sdivsi3_i4i __udiv_qrnnd_16 __udivsi3_i4i >> > Ok, so removing these seems to be have created fallout all over the > place. Apparently it's just your GCC4 that seems to have problems with > these symbols, whereas the other ones really seem to want them. It looks Oh, sorry, that wasn't my intention at all. > like we're going to have to narrow it down to the exact release in which > they vanished (I would guess 4.1.2, since 4.1.1 still wants them). > > akpm also suggests he has a 3.4.5 toolchain that needs these, which is > also very unusual. Do you have a tarball of your compiler somewhere so > it's easier to debug? Prompted by your mail I reverted commit 9c5b406b9a857a67caf778f096bfc7f4e6b0401a and GCC builds the kernel just fine now; the only difference is that I've upgraded from 4.1.1 to 4.1.2 in the meantime. Compiler is made with Gentoo's "crossdev" tool, which AFAICT is vanilla 4.1.2 with a few bugfix patches applied (+ PR29599 fix for me) (see http://gentoo.inode.at/distfiles/gcc-4.1.2-patches-1.0.1.tar.bz2) I can rebuild gcc-4.1.1 which failed for me if you like. Thank you, Manuel Lauss |