Re: Linux kernel 2.3.26 build fails with internal compiler error.

Marc Lehmann (pcg@goof.com)
Thu, 11 Nov 1999 03:44:26 +0100


On Wed, Nov 10, 1999 at 05:03:38PM +0000, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> > open.c:129: internal error--insn does not satisfy its constraints:

An internal compiler error is _always_ a bug in the compiler. You do not
really need to know this, but if that happens again you now know whom to
blame ;)

> This is a pgcc error. pgcc is an offshoot of the "official" gnu compilers and
> definitely has some problems with the kernel.

If only the kernel would be written in GNU-C ;-> In any case, pgcc-1.1.2
is waay old, and, naturally, many bugs have been fixed in pgcc-2.95.2
(gove it a try ;).

I also do not really recommend compiling the kernel with pgcc. It makes
your kernel bigger but not necessarily faster. The kernel is such a good
case of software engineering that compiler code quality does not have a
large effect on speed.

I'd guess upgrading compiler/binutils and removing the then bogus
alignment switches would be more useful.

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg@opengroup.org |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |

- 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/