Re: Linux 2.5.60 Compile error

Muli Ben-Yehuda (mulix@mulix.org)
Tue, 11 Feb 2003 00:50:28 +0200


On Mon, Feb 10, 2003 at 03:38:40PM -0600, Kevin Corry wrote:
> On Monday 10 February 2003 15:06, James Lamanna wrote:
> > Another compiler error that's been around for a little while:
> > Looks like some weird gcc problem.
> > gcc version: 2.95.4 20011002 (Debian prerelease)
> >
> > make -f scripts/Makefile.build obj=scripts
> > make -f scripts/Makefile.build obj=drivers/md drivers/md/linear.o
> > gcc -Wp,-MD,drivers/md/.linear.o.d -D__KERNEL__ -Iinclude -Wall
> > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> > -pipe -mpreferred-stack-boundary=2 -march=i686
> > -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include
> > -DKBUILD_BASENAME=linear -DKBUILD_MODNAME=linear -c -o
> > drivers/md/linear.o drivers/md/linear.c
> > drivers/md/linear.c: In function `linear_run':
> > drivers/md/linear.c:159: Internal compiler error:
> > drivers/md/linear.c:159: internal error--unrecognizable insn:
> > (insn 316 315 673 (parallel[

[snipped]

> Anyone else seeing these errors? Any comments on the validity of
> the above patches?

This bug has been around for a while ... it's tracked in bugzilla in
bug http://bugme.osdl.org/show_bug.cgi?id=290. It needs someone who
will take it up with the gcc folks.

As for your patches, I don't think working around an obvious compiler
bug in the kernel source is a good idea, except as an interim
workaround.

-- 
Muli Ben-Yehuda
http://www.mulix.org
http://syscalltrack.sf.net

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