public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Problem with kernel
       [not found] <01BD6143.EC8D0590.kaz@cafe.net>
@ 1998-04-08  2:13 ` Lengyel Sandor
  1998-04-08  9:27   ` H.J. Lu
  0 siblings, 1 reply; 5+ messages in thread
From: Lengyel Sandor @ 1998-04-08  2:13 UTC (permalink / raw)
  To: Kaz Kylheku, egcs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2590 bytes --]

Kaz Kylheku wrote:
> 
> On Thursday, April 02, 1998 9:57 PM, Lengyel Sandor [SMTP:hunnia@pacbell.net]
> wrote:
> > I have Debian (Hamm) disrtribution. (The one with glibc).
> > I had no problem compilingLinux 2.0.33.
> > However when i installed the new Kernel, and the kernel started to load, I
> > got
> > kernel panic. Root could not be mounted on 03:08 by the kernel, which I
> > assume
> > is  /dev/hda8.
> 
> So you suspect that EGCS is at fault?
> 
> I have compiled my 2.0.32 kernel with EGCS without problems.

I tried to compile 2.0.31 Kernel. There were no warning messages, and
the kernel worked.

I reinstalled the kernel 2.0.33 from screch. Still the same problem with
egcs, but not with gnu gcc.

I also got warning messages with almost every line, which were alway
almost the same as below:

gcc -D__KERNEL__ -I/usr/src/linux2033/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o
checksum.o checksum.c
/usr/src/linux2033/include/asm/string.h: In function
`__constant_memcpy':
In file included from /usr/src/linux2033/include/linux/string.h:39,
                 from /usr/src/linux2033/include/asm/termios.h:58,
                 from /usr/src/linux2033/include/linux/termios.h:5,
                 from /usr/src/linux2033/include/linux/tty.h:20,
                 from /usr/src/linux2033/include/linux/sched.h:26,
                 from /usr/src/linux2033/include/linux/mm.h:4,
                 from /usr/src/linux2033/include/linux/malloc.h:4,
                 from /usr/src/linux2033/include/linux/skbuff.h:135,
                 from /usr/src/linux2033/include/linux/netdevice.h:58,
                 from /usr/src/linux2033/include/net/ip.h:27,
                 from /usr/src/linux2033/include/net/checksum.h:22,
                 from checksum.c:20:
/usr/src/linux2033/include/asm/string.h:443: warning: control reaches
end of non-void function
/usr/src/linux2033/include/asm/string.h: In function
`__constant_c_and_count_memset':
/usr/src/linux2033/include/asm/string.h:594: warning: control reaches
end of non-void function
gcc -D__KERNEL__ -I/usr/src/linux2033/include -D__ASSEMBLY__
-traditional -c semaphore.S -o semaphore

I did a diff on string.h and string-486.h between 2.0.31 and 2.0.33 and
the were identical.

I do not say that egcs is at fault, only that it does not compile
2.0.33.

If somebody knows the reason for it, I would like to know.

Thanks.

Sandor

-- 
 Lengyel Sándor

Hass, alkoss, gyarapits,
S a haza fényre derül. (Kölcsey)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with kernel
  1998-04-08  2:13 ` Problem with kernel Lengyel Sandor
@ 1998-04-08  9:27   ` H.J. Lu
  1998-04-08 13:11     ` Joe Buck
  0 siblings, 1 reply; 5+ messages in thread
From: H.J. Lu @ 1998-04-08  9:27 UTC (permalink / raw)
  To: Lengyel Sandor; +Cc: kaz, egcs

> I tried to compile 2.0.31 Kernel. There were no warning messages, and
> the kernel worked.
> 
> I reinstalled the kernel 2.0.33 from screch. Still the same problem with
> egcs, but not with gnu gcc.
> 

I have no problem to compile linux kernel 2.0.33 with egcs 1.0.2.


H.J.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with kernel
  1998-04-08  9:27   ` H.J. Lu
@ 1998-04-08 13:11     ` Joe Buck
  1998-04-08 17:25       ` H.J. Lu
  0 siblings, 1 reply; 5+ messages in thread
From: Joe Buck @ 1998-04-08 13:11 UTC (permalink / raw)
  To: H.J. Lu; +Cc: hunnia, kaz, egcs

> > I reinstalled the kernel 2.0.33 from screch. Still the same problem with
> > egcs, but not with gnu gcc.

> I have no problem to compile linux kernel 2.0.33 with egcs 1.0.2.

The kernel has tons of configuration options -- perhaps one of you is
building some driver that the other is not using?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with kernel
  1998-04-08 13:11     ` Joe Buck
@ 1998-04-08 17:25       ` H.J. Lu
  0 siblings, 0 replies; 5+ messages in thread
From: H.J. Lu @ 1998-04-08 17:25 UTC (permalink / raw)
  To: Joe Buck; +Cc: hunnia, kaz, egcs

> 
> 
> > > I reinstalled the kernel 2.0.33 from screch. Still the same problem with
> > > egcs, but not with gnu gcc.
> 
> > I have no problem to compile linux kernel 2.0.33 with egcs 1.0.2.
> 
> The kernel has tons of configuration options -- perhaps one of you is
> building some driver that the other is not using?
> 
> 

Send me the .config. I will build one for that configuration.


-- 
H.J. Lu (hjl@gnu.org)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Problem with kernel
@ 1998-04-02 23:55 Lengyel Sandor
  0 siblings, 0 replies; 5+ messages in thread
From: Lengyel Sandor @ 1998-04-02 23:55 UTC (permalink / raw)
  To: egcs

I have Debian (Hamm) disrtribution. (The one with glibc).
I had no problem compilingLinux 2.0.33.
However when i installed the new Kernel, and the kernel started to load, I got
kernel panic. Root could not be mounted on 03:08 by the kernel, which I assume
is  /dev/hda8.

Sandor

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-04-08 17:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <01BD6143.EC8D0590.kaz@cafe.net>
1998-04-08  2:13 ` Problem with kernel Lengyel Sandor
1998-04-08  9:27   ` H.J. Lu
1998-04-08 13:11     ` Joe Buck
1998-04-08 17:25       ` H.J. Lu
1998-04-02 23:55 Lengyel Sandor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).