Changes between Initial Version and Version 1 of Ticket #47049


Ignore:
Timestamp:
Mar 5, 2015, 10:06:57 PM (10 years ago)
Author:
larryv (Lawrence Velázquez)
Comment:

Could you attach the btest.f90 file?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47049

    • Property Cc larryv@… added
    • Property Keywords gfortran backtrace removed
    • Property Port gcc49 added; gfortran removed
    • Property Owner changed from macports-tickets@… to mww@…
  • Ticket #47049 – Description

    initial v1  
    77Compare this with the Linux backtrace lower down.
    88
    9 The key difference for this very short demo program is that the Linux backtrace shows the source label, source file name, and source line number in the backtrace.  "MAIN__ at btest.f90:12".  This is the symbol information from a non-stripped object file, a.out in this case.
     9The key difference for this very short demo program is that the Linux backtrace shows the source label, source file name, and source line number in the backtrace.  "`MAIN__ at btest.f90:12`".  This is the symbol information from a non-stripped object file, a.out in this case.
    1010
    1111The backtrace on Mac is missing all of this.
     
    1414
    1515This is not a new problem.  Backtrace symbols were missing in the last several versions of gfortran, Mac OS, and Xcode on PSD Macs.
    16 
     16{{{
    1717mac56:/home/dallured/btest 7> gfortran --version | grep gcc
    1818GNU Fortran (MacPorts gcc49 4.9.2_1) 4.9.2
     
    3333#4  0x10b155e4e
    3434Floating exception
    35 
     35}}}
    3636==================================================
    37 
     37{{{
    3838linux64:~/btest 1025> /usr/locale/bin/gfortran --version | grep GCC
    3939GNU Fortran (GCC) 4.9.2
     
    5353#3  0x400978 in MAIN__ at btest.f90:12
    5454Floating exception (core dumped)
    55 
     55}}}