[MacPorts] #40621: Octave fails to upgrade with fortran compiler error (illegal instruction)

MacPorts noreply at macports.org
Sat Nov 16 22:04:20 PST 2013


#40621: Octave fails to upgrade with fortran compiler error (illegal instruction)
-------------------------+--------------------------------
  Reporter:  urilabob@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.2.0
Resolution:              |   Keywords:
      Port:  octave      |
-------------------------+--------------------------------

Comment (by urilabob@…):

 Further info: I have reduced the problem. Under the command:
 {{{
 /opt/local/bin/gfortran-mp-4.8 genbet.f -o genbet.o
 }}}

 This program generates a compiler crash:

 {{{
       REAL FUNCTION genbet()
       PARAMETER (expmx=87.1)
       WRITE (*,*) 'Hello World'
       RETURN
       END
 }}}

 This program compiles and (correctly) gives an error about a missing main
 program:
 {{{
       REAL FUNCTION genbet()
       PARAMETER (expmx=87.0)
       WRITE (*,*) 'Hello World'
       RETURN
       END
 }}}

 The problem doesn't seem to be related to whether expmx is explicitly
 declared as REAL, nor does it seem to depend on the value of the
 parameter, except for one aspect. It occurs whenever, in the PARAMETER
 statement
 {{{
       PARAMETER (x=nn.dddd)
 }}}
 dddd is nonzero.

 Please could someone who is not seeing this octave problem test whether
 this program compiles correctly on their system.

-- 
Ticket URL: <https://trac.macports.org/ticket/40621#comment:16>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list