-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Piet Delaney wrote: > On Mon, 2007-05-07 at 09:06 -0700, Tom Rini wrote: >> On Sun, May 06, 2007 at 11:51:24PM -0700, Piet Delaney wrote: >>> On Sat, 2007-05-05 at 10:59 -0700, Tom Rini wrote: >>>> On Fri, May 04, 2007 at 07:36:17PM -0700, Pete/Piet Delaney wrote: >>>> >>>>> Last evening I asked Andrew about it and his option is that the kernel >>>>> supports being compiled with gcc 4.1.1. So that means it likely doesn't >>>>> currently have the weak decl problem. The kernel has only a couple dozen >>>>> (weak) declarations and interesting has a __weak decl in >>>>> include/linux/compiler-gcc.h and a note about avoiding a gcc bug for >>>>> ppc64. Looks like __weak isn't used. >>>> IOW, the kernel is fine with a non-buggy compiler. >>> No, IOW the kerenl is fine with buggy compilers. >> But gcc-4.1.1 is the fixed one, yes? > > Yep. > > >> Or did Jason not hit the magic >> combination that would show the issue? > > Jason's using the non-buggy gcc-4.1.1 so the weak bug won't occur. > > gcc-4.1.0 seems to be supported but isn't RECOMENDED it's: > > "known to miscompile the kernel" > > --------------------------------------------------------------------- > init/main.c > --------------------------------------------------------------------- > #if (__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 2) > #error Sorry, your GCC is too old. It builds incorrect kernels. > #endif > > #if __GNUC__ == 4 && __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ == 0 > #warning gcc-4.1.0 is known to miscompile the kernel. A different > compiler version is recommended. > #endif > ------------------------------------------------------------------------ > > Since other bugs exist perhaps your right that it isn't a big deal. >
Adrian Bunk also thinks we likely don't need to worry about the weak bug in gcc-4.1; looks like your likely right that it's not worth messing with. Anyone compiling with gcc-4.1 is going to get a wanning message that the compile has a bug and isn't recommended. - -piet -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGQAkpJICwm/rv3hoRAuXrAJsE9iI93rDx7qNdk/UdfIAorxvLJwCfVfda Xi1CIpqrUojY32OfJsPU7cc= =fe4T -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Kgdb-bugreport mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
