public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/67118] New: gcc and gfortran started crashing recently
@ 2015-08-04 15:36 niksah at gmail dot com
  2015-08-08 19:43 ` [Bug middle-end/67118] " fxcoudert at gcc dot gnu.org
  2015-08-25  8:47 ` mpolacek at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: niksah at gmail dot com @ 2015-08-04 15:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67118

            Bug ID: 67118
           Summary: gcc and gfortran started crashing recently
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: niksah at gmail dot com
  Target Milestone: ---

Created attachment 36127
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36127&action=edit
preprocessed file generated with gfortran -save-temps -c drotmg.f

gcc, gfortran and g++ started crashing on my system recently.  Below, I show
the output while trying to compile one of the BLAS routines with gfortran.

gfortran  -c drotmg.f

f951: internal compiler error: Illegal instruction
0xa596bf crash_signal
        ../../gcc-5.2.0/gcc/toplev.c:383
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

I get similar errors with g++
0xaa39af crash_signal
        ../../gcc-5.2.0/gcc/toplev.c:383

and also with gcc:
0x9bd0af crash_signal
        ../../gcc-5.2.0/gcc/toplev.c:383

The compilers do not crash for all .f, .c, .cpp files.  gcc 4.8 worked fine on
my system until at least early June but started giving the same crashes shown
above.  Versions 4.8 and 5.2 of the compilers were configured/built with
default options, i.e., ../gcc.../configure, followed by make and, finally, make
install.

the exact version of GCC;
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.2.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-5.2.0/configure
Thread model: posix
gcc version 5.2.0 (GCC)

the system type;
$ uname -a
Linux localhost 3.10.0-229.7.2.el7.x86_64 #1 SMP Tue Jun 23 22:06:11 UTC 2015
x86_64 x86_64 x86_64 GNU/Linux

The compilers worked fine on a very similar system, which makes me suspect that
the issue is due to one of the gcc dependencies but I have been unable to
figure this out.  Thanks in advance for any guidance you can provide to resolve
this issue.


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

* [Bug middle-end/67118] gcc and gfortran started crashing recently
  2015-08-04 15:36 [Bug fortran/67118] New: gcc and gfortran started crashing recently niksah at gmail dot com
@ 2015-08-08 19:43 ` fxcoudert at gcc dot gnu.org
  2015-08-25  8:47 ` mpolacek at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2015-08-08 19:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67118

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|fortran                     |middle-end

--- Comment #1 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
This definitely seems to indicate something going very wrong with your
compilation or your system libraries. I'd recommend updating your GMP/MPFR/MPC
libraries to latest versions, and rebuilding with those. If it still fails,
debug the compiler (f951 or cc1 or cc1plus) and get a full backtrace from gdb.


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

* [Bug middle-end/67118] gcc and gfortran started crashing recently
  2015-08-04 15:36 [Bug fortran/67118] New: gcc and gfortran started crashing recently niksah at gmail dot com
  2015-08-08 19:43 ` [Bug middle-end/67118] " fxcoudert at gcc dot gnu.org
@ 2015-08-25  8:47 ` mpolacek at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-08-25  8:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67118

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-08-25
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1
           Severity|blocker                     |normal


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

end of thread, other threads:[~2015-08-25  8:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-04 15:36 [Bug fortran/67118] New: gcc and gfortran started crashing recently niksah at gmail dot com
2015-08-08 19:43 ` [Bug middle-end/67118] " fxcoudert at gcc dot gnu.org
2015-08-25  8:47 ` mpolacek at gcc dot gnu.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).