public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "thierry at FreeBSD dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/51687] New: gcc is killed when compiling med-3.0.4
Date: Tue, 27 Dec 2011 18:33:00 -0000	[thread overview]
Message-ID: <bug-51687-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             Bug #: 51687
           Summary: gcc is killed when compiling med-3.0.4
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: thierry@FreeBSD.org


Created attachment 26189
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26189
Preprocessed file of med-3.0.4/src/ci/MEDmeshGridStructRd.c

When compiling the latest version of MED (3.0.4), a tool of Code_Aster (
http://www.code-aster.org/V2/spip.php?article275 ), it fails:

/bin/sh ../../libtool --tag=CC   --mode=compile gcc47 -std=gnu99
-DHAVE_CONFIG_H -I. -I.  -I../../include -I../../include -DH5_USE_16_API
-I/usr/local/include   -save-temps  -O2 -pipe -march=pentiumpro
-Wl,-rpath=/usr/local/lib/gcc47 -fno-strict-aliasing -MT MEDmeshGridStructRd.lo
-MD -MP -MF .deps/MEDmeshGridStructRd.Tpo -c -o MEDmeshGridStructRd.lo
MEDmeshGridStructRd.c
libtool: compile:  gcc47 -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../include
-I../../include -DH5_USE_16_API -I/usr/local/include -save-temps -O2 -pipe
-march=pentiumpro -Wl,-rpath=/usr/local/lib/gcc47 -fno-strict-aliasing -MT
MEDmeshGridStructRd.lo -MD -MP -MF .deps/MEDmeshGridStructRd.Tpo -c
MEDmeshGridStructRd.c  -fPIC -DPIC -o .libs/MEDmeshGridStructRd.o
gcc47: warning: -pipe ignored because -save-temps specified
Killed
gmake[2]: *** [MEDmeshGridStructRd.lo] Erreur 1
gmake[2] : on quitte le répertoire «
/usr/ports/french/med/work/med-3.0.4/src/ci »
gmake[1]: *** [all-recursive] Erreur 1

Tested with:
gcc47 (FreeBSD Ports Collection) 4.7.0 20111210 (experimental)

but the same error occurs with previous version gcc 4.6 and gcc 4.4.

Attached is the pre-processed file MEDmeshGridStructRd.i.


             reply	other threads:[~2011-12-27 18:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-27 18:33 thierry at FreeBSD dot org [this message]
2011-12-30 22:29 ` [Bug target/51687] " pinskia at gcc dot gnu.org
2012-01-02 10:31 ` rguenth at gcc dot gnu.org
2012-01-27 17:36 ` thierry at FreeBSD dot 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-51687-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).