Changes between Initial Version and Version 1 of Ticket #52891


Ignore:
Timestamp:
Nov 16, 2016, 3:04:04 AM (7 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

I don't know anything about Fortran so I probably can't help you debug this further, but it might be useful to know if you see the same problem with gcc6 or gcc7.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52891

    • Property Status changed from new to assigned
    • Property Summary changed from gfortran-mp-5 fails to compile a simple code to gcc5 @5.3.0_1: gfortran-mp-5 fails to compile a simple code
    • Property Keywords gfortran gfortran-mp-5 removed
    • Property Owner changed from macports-tickets@… to mww@…
    • Property Port 5.3.0_1 removed
  • Ticket #52891 – Description

    initial v1  
    33I am a beginner in fortran but I suspect a problem while compiling a very simple code.
    44
    5 1/ The code I try to  compile, written in hello.f90
     51. The code I try to  compile, written in hello.f90
    66
     7{{{
    78program hello
    89  print *, "Hello World!"
    910end program hello
     11}}}
    1012
    11 2/ Compilation
     132. Compilation
    1214
    13 I use the command:
     15 I use the command:
     16{{{
    1417gfortran-mp-5 -o hello hello.f90
     18}}}
    1519
    16 3/ Error printed in the terminal
     203. Error printed in the terminal
    1721
     22{{{
    1823<built-in>: internal compiler error: Illegal instruction: 4
    1924
     
    2328with preprocessed source if appropriate.
    2429See <https://trac.macports.org/newticket> for instructions.
     30}}}
    2531
    26 4/ Comments
     324. Comments
    2733
    28 The command to compile the code works on my personal computer with a version of gfortran 5.1.0. I need to compile this code on my professionnal computer (Mac OS 10.11.6) without the admin rigths.
     34 The command to compile the code works on my personal computer with a version of gfortran 5.1.0. I need to compile this code on my professionnal computer (Mac OS 10.11.6) without the admin rigths.
    2935
    30 The command gfortran-mp-5 --version returns:
     36 The command `gfortran-mp-5 --version` returns:
    3137
     38{{{
    3239GNU Fortran (MacPorts gcc5 5.3.0_1) 5.3.0
    3340Copyright (C) 2015 Free Software Foundation, Inc.
     
    3744under the terms of the GNU General Public License.
    3845For more information about these matters, see the file named COPYING
     46}}}
    3947
    4048Thank you for your help