This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: seg fault compiling linux-2.4.0-test7
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: seg fault compiling linux-2.4.0-test7
- From: "Chris Robinson" <chris at chrisandmarie dot com>
- Date: Fri, 08 Sep 2000 14:36:21 -0700
- Cc: gcc-bugs at gcc dot gnu dot org
Which files would you like? The whole kernel source? Makefile? You
could have simply asked for the appropriate file as I was only trying to
help out by reporting a problem.
----- Original Message -----
From: Alexandre Oliva <aoliva@redhat.com>
Date: Thursday, September 7, 2000 11:23 pm
Subject: Re: seg fault compiling linux-2.4.0-test7
> On Sep 7, 2000, root <chris@chrisandmarie.com> wrote:
>
> > The source is too large to send.
>
> Do you mean the preprocessed file is larger than 200Kb after being
> compressed? Wow!
>
> Anyway, without it, there's very little we can do about the bug
> report, since the failure may depend on your configuration choices.
> So, if you really care about getting it fixed, please try to make the
> preprocessed file available to us.
>
> --
> Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist *Please* write to mailing lists, not to me
>
>
Here's what I did with linux-2.4.0-test7:
[root@sloth linux-2.4]# make install
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6
-fno-strict-aliasing -c -o init/main.o init/main.c
In file included from /usr/src/linux-2.4/include/linux/raid/md.h:52,
from init/main.c:25:
/usr/src/linux-2.4/include/linux/raid/md_k.h: In function
`pers_to_level':
/usr/src/linux-2.4/include/linux/raid/md_k.h:39: warning: control
reaches end of non-void function
gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6
-fno-strict-aliasing -DUTS_MACHINE='"i386"' -c -o init/version.o
init/version.c
make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=k6 -fno-strict-aliasing " -C kernel
make[1]: Entering directory `/usr/src/linux-2.4/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.4/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6
-fno-strict-aliasing -DEXPORT_SYMTAB -c signal.c
gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [signal.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4/kernel'
make: *** [_dir_kernel] Error 2