delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/02/26/12:52:13

X-pop3-spooler: POP3MAIL 2.1.0 b 3 961213 -bs-
Delivered-To: pcg AT goof DOT com
Message-ID: <34F57F3F.69CD2F5@varel.bg>
Date: Thu, 26 Feb 1998 14:42:07 +0000
From: Petko Manolov <petkan AT varel DOT bg>
Organization: Varel Ltd.
X-Mailer: Mozilla 3.0 (X11; I; Linux 2.1.88 i586)
MIME-Version: 1.0
To: beastium-list AT Desk DOT nl
Subject: PGCC bug or kernel bug?!?
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
X-Status: A
Lines: 31

Hello,

I tried to compile Linux kernel v2.1.86, v2.1.87 and v2.1.88 with this
options:

pgcc -D__KERNEL__ -O6 -fomit-frame-pointer -fno-exceptions
-fno-strength-reduce -I/usr/src/linux-2.1.XX -Wall -Wstrict-prototypes
-mpentium -malign-loops=2 -malign-jumps=2 -malign-functions=2 -pipe

It compiles OK, i copy it in "/vmlinuz" and type "lilo", then "reboot -t
5"
computer restarts, Linux goes up and stop on line:

Adding Swap: XXXXXk swap-space (priority -1)

and nothing happens for long time.
When i try Ctrl-C appears:

Starting kerneld, version 2.1.85 (pid XXXX)

And thats all. Only thing that helps is HW reset.
When i used -O3, -O4, -O5 but every time happens the same thing.
With -O2 all seems to be OK, just like when i compile with gcc (also OK
is -O6 with gcc). This is tested on 3 different machines(with
pgcc-2.90.23 980102 and pgcc-2.91.08 280214).
	
So i'm wonder if this is a bug in PGCC or in Linux kernel.
Any ideas.
Thanks.

Petkan

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019