Re: kernel compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arnold,
Thanks for your reply. 

How can I check the compiler proble. Will the
installing new gcc from gnu.org solve the problem.
I think this nay be reason ..my current installation
shows my machine as i586.. but I know it is K6-2.

For memory I have never faced problem with any other
program.. yeah mu x systems get killed couple of times
and my linux works very slow.

Thanks,
Nitin
--- Seth Arnold <sarnold@wirex.com> wrote:
> On Mon, Oct 21, 2002 at 10:18:17PM -0700, nitin
> panjwani wrote:
> > I am attaching to samples of my compilation, can
> you
> > please check it and tell me what can be the
> problem.
> 
> 
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.19/include
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2
> -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -pipe
> -mpreferred-stack-boundary=2 -march=i386   -nostdinc
> -I /usr/lib/gcc-lib/i386-linux/2.95.4/include
> -DKBUILD_BASENAME=vt  -c -o vt.o vt.c
> gcc: Internal compiler error: program cc1 got fatal
> signal 4
> [...]
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.19/include
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2
> -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -pipe
> -mpreferred-stack-boundary=2 -march=i386   -nostdinc
> -I /usr/lib/gcc-lib/i386-linux/2.95.4/include
> -DKBUILD_BASENAME=ide_cd  -c -o ide-cd.o ide-cd.c
> gcc: Internal compiler error: program cc1 got fatal
> signal 4
> 
> You can look up signal 4 with "kill -l":
> 
>  1) SIGHUP	 2) SIGINT	 3) SIGQUIT	 4) SIGILL
> [...]
> 
> SIGILL is Illegal Instruction. I can think of two
> reasons for this:
> (a) you've installed a 586 or 686 or athlon or other
> processor-specific
> optimized compiler or libraries -- when that
> instruction gets executed
> on a processor that doesn't support the instruction,
> the kernel sends
> the process SIGILL.
> (b) you've got bad memory. The cpu tries to execute
> some instructions
> stored in memory that has become corrupted. This one
> can be discovered
> by using a tool such as memtest86 to test your
> memory.
> 
> -- 
> Nothing says, "Superpower" like bombing a country
> that is poor and
> hungry. -- Ken Brush
> 
> 

> ATTACHMENT part 2 application/pgp-signature 



__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux