public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "shenders at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/48807] New: Segfault building newlib for bfin
Date: Thu, 28 Apr 2011 17:11:00 -0000	[thread overview]
Message-ID: <bug-48807-4@http.gcc.gnu.org/bugzilla/> (raw)

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

           Summary: Segfault building newlib for bfin
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: shenders@gcc.gnu.org


building bfin with newlib-1.18 appears to have been broken on trunk since
r172258.  We get a seg fault when building newlib:

/home/shender/upstream/toolchain/temp/./gcc/xgcc
-B/home/shender/upstream/toolchain/temp/./gcc/ -nostdinc
-B/home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/newlib/
-isystem
/home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/newlib/targ-include
-isystem /home/shender/upstream/toolchain/gcc-4.6/newlib/libc/include
-B/home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/libgloss/bfin
-L/home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/libgloss/libnosys
-L/home/shender/upstream/toolchain/gcc-4.6/libgloss/bfin
-B/home/shender/upstream/toolchain/bfin-elf/bfin-elf/bin/
-B/home/shender/upstream/toolchain/bfin-elf/bfin-elf/lib/ -isystem
/home/shender/upstream/toolchain/bfin-elf/bfin-elf/include -isystem
/home/shender/upstream/toolchain/bfin-elf/bfin-elf/sys-include 
-mid-shared-library -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
-DPACKAGE_VERSION=\"1.19.0\" -DPACKAGE_STRING=\"newlib\ 1.19.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I.
-I/home/shender/upstream/toolchain/gcc-4.6/newlib/libm/complex
-I/home/shender/upstream/toolchain/gcc-4.6/newlib/libm/complex/../common
-I/home/shender/upstream/toolchain/gcc-4.6/newlib/libm/complex/ -fno-builtin   
  -g -O2  -mid-shared-library -c -o lib_a-casinf.o `test -f 'casinf.c' || echo
'/home/shender/upstream/toolchain/gcc-4.6/newlib/libm/complex/'`casinf.c
/home/shender/upstream/toolchain/gcc-4.6/newlib/libm/complex/casinf.c: In
function ‘casinf’:
/home/shender/upstream/toolchain/gcc-4.6/newlib/libm/complex/casinf.c:120:4:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[8]: *** [lib_a-casinf.o] Error 1
make[8]: Leaving directory
`/home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/newlib/libm/complex'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory
`/home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/newlib/libm'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory
`/home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/newlib'
make[5]: *** [all] Error 2
make[5]: Leaving directory
`/home/shender/upstream/toolchain/temp/bfin-elf/mid-shared-library/newlib'
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory
`/home/shender/upstream/toolchain/temp/bfin-elf/newlib'
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory
`/home/shender/upstream/toolchain/temp/bfin-elf/newlib'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/shender/upstream/toolchain/temp/bfin-elf/newlib'
make[1]: *** [all-target-newlib] Error 2
make[1]: Leaving directory `/home/shender/upstream/toolchain/temp'
make: *** [all] Error 2


gcc configured with:
/home/shender/upstream/toolchain/gcc-4.6/configure
--build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu
--target=bfin-elf --prefix=/home/shender/upstream/toolchain/bfin-elf
--disable-libstdcxx-pch --enable-languages=c --with-newlib
--enable-clocale=generic --disable-symvers --disable-libssp --disable-libffi
--disable-libgcj --without-ppl


             reply	other threads:[~2011-04-28 17:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-28 17:11 shenders at gcc dot gnu.org [this message]
2011-06-02 16:17 ` [Bug target/48807] " shenders at gcc dot gnu.org
2011-06-02 16:45 ` shenders at gcc dot gnu.org

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-48807-4@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).