Re: RH7.3 Updates - Compile Issues

Alan Cox (alan@lxorguk.ukuu.org.uk)
02 Jan 2003 01:54:50 +0000


On Thu, 2003-01-02 at 01:09, Randy Broman wrote:
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-19.7.x/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
> -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -nostdinc -I
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/include -DKBUILD_BASENAME=serial
> -DEXPORT_SYMTAB -c serial.c
> serial.c: In function `rs_read_proc':
> serial.c:3361: Internal error: Segmentation fault.
> Please submit a full bug report.
> See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.

> I then did some further testing and found I was unable to compile some
> software that previously compiled successfully. Ideas appreciated ..

gcc tends to show up hardware problems, however if you could use the old
compiler reliably thats not neccessarily fitting the pattern well.

rpm --verify will let you check packages installed correctly

In general though
If the error is at the same spot each time - suspect software
If the error is in different spots when you rerun the same make -
suspect hardware

Also check you have swap space so are not running out of RAM

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