This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 3.1 succeeds in building Linux 2.4.18


On Mon, Mar 18, 2002 at 02:39:38PM -0800, Janis Johnson wrote:
> On Sun, Mar 17, 2002 at 02:24:56PM -0500, Craig Rodrigues wrote:
> > Hi,
> > 
> > I followed Bill Beebe's advice and tried compiling Linux kernel 2.4.18
> > with gcc version 3.1 20020308 (prerelease).
> [snip]
> > I was successfully able to build the Linux kernel, although I did not try
> > running it:
> > % strings vmlinux | grep gcc
> > 
> > Linux version 2.4.18-0.4 (root@loquat) (gcc version 3.1 20020308 (prerelease)) #1 Sun Mar 17 12:14:11 EST 2002
> 
> Gary Hade has succeeded in building a 2.4.18 kernel on ia64 using a
> recent version of GCC 3.1, but his kernel doesn't boot.  Booting and
> running a kernel is every bit as important as building it, so I
> strongly encourage you and others who are testing kernel builds to
> try using the new kernel.
> 
> Janis

Successful builds of the 2.4.17 and 2.4.18 ia64 kernels required 
a GCC which includes the recent fix for PR 5892 (ICE in gen_nop_type 
during 2.4.17 ia64 kernel build) and addition of -finline-limit=2000
to force inlining of functions which were previously inlined by default 
with pre-3.1 versions of GCC.

Neither of these kernels boot successfully.  They both hang too early
to examine with KDB.

Gary

-- 
Gary Hade
IBM Linux Technology Center
503-578-4503  IBM T/L: 775-4503
garyhade@us.ibm.com
http://www.ibm.com/linux/ltc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]