public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "lasse-gccbug-2009 at mail dot plastictree dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/39641]  New: Compiling Linux 2.6.28.6 ends with a segfault
Date: Sat, 04 Apr 2009 22:23:00 -0000	[thread overview]
Message-ID: <bug-39641-17529@http.gcc.gnu.org/bugzilla/> (raw)

Compiling Linux 2.6.28.6 ends with a segfault.

I will attach preprocessed source files and kernel configuration file when I
find out how to do this with this interface. Here is some information for now:

Configure switches for gcc (besides prefix):
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu --enable-checking --disable-werror --enable-bootstrap
--enable-languages=c,c++

Thread model: posix

Command line:
gcc -Wp,-MD,net/core/.skbuff.o.d  -nostdinc -isystem
/package/host/localhost/sepbuilt/gcc41-4.1.2-01-03/prefix/lib/gcc/i686-pc-linux-gnu/4.1.2/include
-D__KERNEL__ -Iinclude  -I/fs/tmp/mount/tmp/linux-2.6.28.6/arch/x86/include
-include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -O2 -m32 -msoft-float -mregparm=3
-freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=i686
-Wa,-mtune=generic32 -ffreestanding -pipe -Wno-sign-compare
-fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
-Iarch/x86/include/asm/mach-default -fno-stack-protector -fomit-frame-pointer
-Wdeclaration-after-statement -Wno-pointer-sign  -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(skbuff)"  -D"KBUILD_MODNAME=KBUILD_STR(skbuff)" 
-c -o net/core/skbuff.o net/core/skbuff.c

Output:
net/core/skbuff.c:2673: internal compiler error: Segmentation fault


-- 
           Summary: Compiling Linux 2.6.28.6 ends with a segfault
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lasse-gccbug-2009 at mail dot plastictree dot net
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39641


             reply	other threads:[~2009-04-04 22:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-04 22:23 lasse-gccbug-2009 at mail dot plastictree dot net [this message]
2009-04-04 22:27 ` [Bug c/39641] " lasse-gccbug-2009 at mail dot plastictree dot net
2009-04-04 22:29 ` lasse-gccbug-2009 at mail dot plastictree dot net
2009-04-05 15:19 ` [Bug c/39641] Compiling Linux 2.6.28.6 ends with a segfault on net/core/skbuff.c lasse-gccbug-2009 at mail dot plastictree dot net
2009-04-22 23:39 ` [Bug middle-end/39641] " pinskia at gcc dot gnu dot org
2009-04-23  6:43 ` lasse-gccbug-2009 at mail dot plastictree dot net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-39641-17529@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).