lkml.org 
[lkml]   [1997]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectAMD K5/gcc core dumps [Re: (no subject)]
> > >and then i got a segmentation fault and it dumped core.  keep in mind
> > >that i had just compiled 2.0.27.
> i've received several responses on this and it seems as if the problem
> is my AMDK5 P75 CPU. i did a search of the back redhat-list archives
Yes, I have the same problem. You can avoid this by deleteting "-pipe" in
arch/i386/Makefile.
This cause segfault:
gcc -S -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer \
-fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 \
-malign-functions=2 -pipe -c m.c
m.c can be "void f() { }" or something else.
At this time, I don't know what is bad, but you can:
1. Use kernel compiled for 386
2. Comment that "-pipe"
3. Get another gcc, not from RH 4.1 but 4.0 (I'm not sure about this, but
I also have no problems before installing 4.1)

Jaromir Koutek



\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.022 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site