www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/08/26/21:05:18

Sender: steve AT home DOT com
Message-Id: <37C5997C.13B30FAA@home.com>
Date: Thu, 26 Aug 1999 14:46:04 -0500
From: Steve Snyder <swsnyder AT home DOT com>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.12 i586)
X-Accept-Language: en
Mime-Version: 1.0
To: pgcc AT delorie DOT com
Subject: Re: Linux kernel compilation plobrem with pgcc-2.95.1
References: <19990826012504 DOT f5da3c AT mail DOT yk DOT rim DOT or DOT jp>
Reply-To: pgcc AT delorie DOT com

I get the same thing when building *anything* with an optimization level
greater than -O2.  This is a general problem with pgcc v2.951 and the
-mcpu=i586 switch, not kernel-specific.

"inukai AT yk DOT rim DOT or DOT jp" wrote:

> Hello,
>
> My name is Michihiko Iinukai, Linux user living in Japan.
>
> I try to compile the kernel which version is 2.2.11
> with the brand-new pgcc-2.95.1.
> Then Sig11 occured when compiling "sysctl.c" for
> everytime.
>
> When the optimization level is 2, I have no problem.
> But it becomes level 3, I have an error.
> But I append "-fno-software-pipe" with the CFLAGS,
> problem is solved.
>
> Is it BUG ?
>
> The error messages are written in following lines.
>
> ---------- start of the error messages -----------------
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O3
> -funroll-loops -march=pentium -mcpu=pentium -fomit-frame-pointer
> -fno-strict-aliasing -pipe -fno-strength-reduce -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=586   -c -o sysctl.o sysctl.c
> gcc: Internal compiler error: program cc1 got fatal signal 11
> make[2]: *** [sysctl.o] Error 1
> make[2]: Leaving directory `/usr/src/linux/kernel'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/linux/kernel'
> make: *** [_dir_kernel] Error 2
> {standard input}: Assembler messages:
> {standard input}:0: Warning: end of file not at end of a line; newline
> inserted
> {standard input}:908: Error: operands given don't match any known 386
> instruction
> cpp: output pipe has been closed
> ---------- end of the error messages --------------------
>
> I'm using "Vine Linux" what is Japanese localized
> version of "RedHat Linux 5.2."
>
>                                          Regards,

- Raw text -


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