Hi, Are there some versions of gcc that are recommended for building the kernel and Lustre, and others that should be avoided? Thanks. -Roger Roger Spellman Staff Engineer Terascala, Inc. 508-588-1501 www.terascala.com <http://www.terascala.com/> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20080721/b2d58fcd/attachment.html
On Jul 21, 2008 13:30 -0400, Roger Spellman wrote:> Are there some versions of gcc that are recommended for building the > kernel and Lustre, and others that should be avoided?We generally use the GCC shipped with each distro. This ensures minimal differences between the kernels we build and the vendor kernels, as well as limiting "spurious" warning messages from newer GCCs running on older kernels. Using the same version of GCC is mandatory for building patchless clients (the modules will refuse to load otherwise). Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc.
> We generally use the GCC shipped with each distro. This ensures minimal > differences between the kernels we build and the vendor kernels, as > well as limiting "spurious" warning messages from newer GCCs running on > older kernels. Using the same version of GCC is mandatory for building > patchless clients (the modules will refuse to load otherwise).Yeah the correct versions of gcc can be tricky, just some example distro''s and default gcc versions they use to build the kernel: debian sid: gcc-4.1 (even though gcc-4.3 is default) debian lenny: gcc-4.1 rhel5/centos5: gcc-4.1.2 rhel4/centos4: gcc-3.4.6 Basically good bet is anything gcc 4.1 or gcc 3.4. Thanks, - David Brown> Cheers, Andreas > -- > Andreas Dilger > Sr. Staff Engineer, Lustre Group > Sun Microsystems of Canada, Inc. > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss >