public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/51687] New: gcc is killed when compiling med-3.0.4
@ 2011-12-27 18:33 thierry at FreeBSD dot org
  2011-12-30 22:29 ` [Bug target/51687] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: thierry at FreeBSD dot org @ 2011-12-27 18:33 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/51687] gcc is killed when compiling med-3.0.4
  2011-12-27 18:33 [Bug c/51687] New: gcc is killed when compiling med-3.0.4 thierry at FreeBSD dot org
@ 2011-12-30 22:29 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-12-30 22:29 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |memory-hog
             Target|                            |i?86-*-freebsd*
          Component|c                           |target
           Severity|major                       |normal

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-30 22:26:50 UTC ---
Works for me on x86_64-linux-gnu with added option -m32


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/51687] gcc is killed when compiling med-3.0.4
  2011-12-27 18:33 [Bug c/51687] New: gcc is killed when compiling med-3.0.4 thierry at FreeBSD dot org
  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
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-02 10:31 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-01-02
     Ever Confirmed|0                           |1

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-02 10:30:51 UTC ---
Can't reproduce it either - the testcase uses a mere 40MB for 4.7 and 4.6.2
on x86_64-linux with -m32.

Please check why your OS kills the process (and which process is killed).


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/51687] gcc is killed when compiling med-3.0.4
  2011-12-27 18:33 [Bug c/51687] New: gcc is killed when compiling med-3.0.4 thierry at FreeBSD dot org
  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
  2 siblings, 0 replies; 4+ messages in thread
From: thierry at FreeBSD dot org @ 2012-01-27 17:36 UTC (permalink / raw)
  To: gcc-bugs

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

Thierry Thomas <thierry at FreeBSD dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Thierry Thomas <thierry at FreeBSD dot org> 2012-01-27 16:53:54 UTC ---
Please close this report: it was local to my machine (I cannot explain it, but
I cannot reproduce it either).


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-27 16:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-27 18:33 [Bug c/51687] New: gcc is killed when compiling med-3.0.4 thierry at FreeBSD dot org
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

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).