Re: 2.1.126 hangs at boot

Zlatko Calusic (Zlatko.Calusic@CARNet.hr)
26 Oct 1998 22:28:17 +0100


Petko Manolov <petkan@varel.bg> writes:

> I think i'd found the "bug" ;-).
> .../linux/arch/i386/kernel/time.c is largely rewriten.
> So when i compiled it with pgcc-2.91.57(egcs-1.1b) with -O6
> the kernel froze after "OK booting the kernel"
> But when time.c compiled with -O6 -fno-inline-functions all
> seems to be OK. The same is when time.c is compiled with
> -O6 but with gcc-2.7.2.3. I sill look for the exact asm
> line causing the hang. Just curious.
>
> Yes, it could be said that this is a compiler error.
>

I also had problems with -O6.

I'm using:

% egcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)

When I compiled 2.1.126 with -O6, kernel froze at "OK now booting..."
message. Using -O2 there is no freeze at the boot time. Older kernels
boot OK even with -O6.

Just for information.

-- 
Posted by Zlatko Calusic           E-mail: <Zlatko.Calusic@CARNet.hr>
---------------------------------------------------------------------
	   WOMAN.ZIP... Great program but no documentation.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/