From: Mike F. <va...@ge...> - 2007-07-07 07:00:06
|
On Saturday 07 July 2007, Manuel Lauss wrote: > 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. ruh roh ... someone said Gentoo ;) default gcc-4.x in Gentoo enables multilib for SuperH targets akin to gcc-3= =2Ex=20 (since vanilla gcc-4.x does not include nofpu support by default) to doubly verify, you can emerge gcc with USE=3Dvanilla ... that'll disable= the=20 Gentoo patchset ... =2Dmike |