<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MacOS X: old DWARF debug info in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751605#M7860</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Hmm, Xcode 3.1.2 - interesting. Yes, I see it was released Nov 24th. I'll go get that and see what happens.&lt;/P&gt;
&lt;P&gt;Xcode includes the linker, ld, and header files. Maybe something broke with 3.1.2.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I'll check to see if anyone else is seeing issues.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;As for the gccs via Fink - possible problem, but I'm more suspicious of the ld version in xcode 3.1.2. We only test against official Apple Xcode tools - released versions of Xcode that is. If you start loading up non-Apple supported gccs, we have no way to validate against that.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Let's see what happens when I update to 3.1.2. I should have an answer this afternoon.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ron&lt;/P&gt;</description>
    <pubDate>Tue, 02 Dec 2008 21:24:49 GMT</pubDate>
    <dc:creator>Ron_Green</dc:creator>
    <dc:date>2008-12-02T21:24:49Z</dc:date>
    <item>
      <title>MacOS X: old DWARF debug info</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751601#M7856</link>
      <description>&lt;P&gt;Hello, I'm trying to build application with debug options using Fortran Complier under Mac OS X.&lt;/P&gt;
&lt;P&gt;When I'm compiling with "-debug"  option and trying to link object,  ld linker throws this an error:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ld: in constants.o, in section __DATA,__debug_frame reloc 0: length &amp;lt; 3 and X86_64_RELOC_UNSIGNED not supporte&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;constants.f90&lt;/STRONG&gt; is my module file&lt;/P&gt;
&lt;P&gt;After removing this file I'm still getting anoter message:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ld: in test.o, object file contains old DWARF debug info - rebuild with newer compiler&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;My computer configuration:&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;MacBook 2.2 GHz&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;2 GB RAM&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;Mac OS X 10.5.5&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;Intel Fortan Compiler version 11.0.056&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Please let me know if I need to set up some options for compiler and linker.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Nov 2008 22:00:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751601#M7856</guid>
      <dc:creator>andrewkononov</dc:creator>
      <dc:date>2008-11-29T22:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: MacOS X: old DWARF debug info</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751602#M7857</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
&lt;P&gt;My files:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;Makefile:&lt;/P&gt;
&lt;P style="padding-left: 60px;"&gt;FF = ifort&lt;BR /&gt; CFLAG = -c -O0 -debug&lt;BR /&gt; LFLAG = &lt;BR /&gt;&lt;BR /&gt; all: test Makefile&lt;BR /&gt;&lt;BR /&gt; test: objs Makefile&lt;BR /&gt; $(FF) $(LFLAG) -o test *.o $(LIBS)&lt;BR /&gt;&lt;BR /&gt; objs: *.f90 Makefile&lt;BR /&gt; $(FF) $(CFLAG) *.f90&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; .PHONY: clean&lt;BR /&gt; clean:&lt;BR /&gt; rm -f *.o&lt;BR /&gt; rm -f *.mod&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;constants.f90:&lt;/P&gt;
&lt;P style="padding-left: 90px;"&gt;&lt;BR /&gt; module constants&lt;BR /&gt; implicit none&lt;BR /&gt; integer TEST     &lt;BR /&gt; parameter (TEST = 160)&lt;BR /&gt; end module constants&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;test.f90:&lt;/P&gt;
&lt;P style="padding-left: 90px;"&gt;&lt;BR /&gt; program test&lt;BR /&gt; !use constants&lt;BR /&gt; write (*,*) "Hello World",SOME_CONSTANT&lt;BR /&gt; end program&lt;/P&gt;</description>
      <pubDate>Sat, 29 Nov 2008 22:07:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751602#M7857</guid>
      <dc:creator>andrewkononov</dc:creator>
      <dc:date>2008-11-29T22:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: MacOS X: old DWARF debug info</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751603#M7858</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Andrew,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This is interesting. I have a MacBook Pro, Core 2 Duo, 10.5.5, ifort 11.0.054. I copied your files and makefiles. I am able to build and link in both 32 and 64 bit modes.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Is your MacBook using a Core Duo or Core Solo processor? that is, do you have a 32bit only system? (Apple menu, 'About this Mac').  The symbol error seems to indicate that the 64bit symbols are not found on your system.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Finally, what version of Xcode do you have installed? I'm at Xcode 3.1.1&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;What happens if you add -m32 to your CFLAG var options?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ron&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2008 22:07:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751603#M7858</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2008-12-01T22:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: MacOS X: old DWARF debug info</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751604#M7859</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;A href="https://community.intel.com/en-us/profile/160574"&gt;Ronald Green (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Hi, Ron.&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Answers to your questions:&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;Is your MacBook using a Core Duo or Core Solo processor?&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;&lt;BR /&gt;My MacBook is using Core 2 Duo&lt;/DIV&gt;
&lt;DIV style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;Finally, what version of Xcode do you have installed?  I'm at Xcode 3.1.1&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;I use  Xcode 3.1.2  Thanks for advice, I tried to make my app via  Xcode, and this worked fine (All time I was trying to make it via /usr/make). Looks like Xcode make utility uses binaries and libs from /Developer/usr, but /usr/make uses the same stuff from /usr and /bin&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="width: 100%; margin-top: 5px;"&gt;Also I when I'm tring to make via command line, linker still throws errors described in the topic.&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;&lt;EM&gt;&lt;EM&gt;What happens if you add  -m32 to your CFLAG var options?&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Linker throws (when I'm making via console):&lt;/P&gt;
&lt;P&gt;'Undefined symbols: "_MAIN__", referenced from: _main in for_main.o'&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;With Xcode my app builds fine.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;So, my question:Is it possible to build app with debugging flags via command line utility (/usr/make)?&lt;/P&gt;
&lt;P&gt;Also I have gcc40 and gcc42 (installed via macports), gcc43(installed via fink). Is it possible, that they conflict with ifort?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Andrew&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2008 20:10:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751604#M7859</guid>
      <dc:creator>andrewkononov</dc:creator>
      <dc:date>2008-12-02T20:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: MacOS X: old DWARF debug info</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751605#M7860</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Hmm, Xcode 3.1.2 - interesting. Yes, I see it was released Nov 24th. I'll go get that and see what happens.&lt;/P&gt;
&lt;P&gt;Xcode includes the linker, ld, and header files. Maybe something broke with 3.1.2.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I'll check to see if anyone else is seeing issues.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;As for the gccs via Fink - possible problem, but I'm more suspicious of the ld version in xcode 3.1.2. We only test against official Apple Xcode tools - released versions of Xcode that is. If you start loading up non-Apple supported gccs, we have no way to validate against that.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Let's see what happens when I update to 3.1.2. I should have an answer this afternoon.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ron&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2008 21:24:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751605#M7860</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2008-12-02T21:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: MacOS X: old DWARF debug info</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751606#M7861</link>
      <description>&lt;P&gt;Actually I tried to make may app with Xcode 3.1.1 too&lt;/P&gt;
&lt;P&gt;Methods:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Via /usr/bin/make&lt;/LI&gt;
&lt;LI&gt;Via Xcode make like &lt;A href="http://web.ist.utl.pt/~jose.alberto.coelho/mac/MakefilesXcode.pdf"&gt;this&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;There is the table of my results:&lt;/P&gt;
&lt;TABLE border="1" cellspacing="0" cellpadding="4" width="50%" bordercolor="#000000"&gt;
&lt;TBODY&gt;
&lt;TR valign="top"&gt;
&lt;TD&gt;
&lt;P&gt;method&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;xcode 3.1.1&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;xcode 3.1.2&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR valign="top"&gt;
&lt;TD&gt;
&lt;P&gt;1&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;fail&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;fail&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR valign="top"&gt;
&lt;TD&gt;
&lt;P&gt;2&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;success&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;success&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Also there was a &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=57088"&gt;similar issue&lt;/A&gt; with icc.&lt;/P&gt;
&lt;P&gt;Making with Xcode is okay, but it is a little bit inconvenient. Also I don't want use Xcode because it's gdb has poor fortran dynmaic arrays support.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2008 22:35:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751606#M7861</guid>
      <dc:creator>andrewkononov</dc:creator>
      <dc:date>2008-12-02T22:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: MacOS X: old DWARF debug info</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751607#M7862</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
&lt;P&gt;Ooops... I think I solved the problem: I've recently installed gdb 6.8.5 from cvs, after gdb uninstalling ifrort works fine.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2008 22:49:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751607#M7862</guid>
      <dc:creator>andrewkononov</dc:creator>
      <dc:date>2008-12-02T22:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: MacOS X: old DWARF debug info</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751608#M7863</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Andrew, that's great. I installed Xcode 3.1.2 this morning and could build w/o problems. I was worried that the new Xcode brought in a new lib or ld that might be the cause. Glad to hear it was just gdb and not Xcode 3.1.2.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ron&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2008 18:18:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751608#M7863</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2008-12-03T18:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: MacOS X: old DWARF debug info</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751609#M7864</link>
      <description>Hi Ron and Andrew,&lt;BR /&gt;&lt;BR /&gt;I was reading this thread and I am facing similar problem as mentioned in this thread. When I try to run a source using dlsode on a macbook pro using intel fortran on terminal, i get following error. I am a novice and dont know how to build project on xcode. The files run with no problem on a pc with compaq visual fortran. I changed the syntax for ifort but i get this error.&lt;BR /&gt;&lt;BR /&gt;Undefined symbols:&lt;BR /&gt; "_MAIN__", referenced from:&lt;BR /&gt; _main in for_main.o&lt;BR /&gt; ld: symbol(s) not found&lt;BR /&gt;&lt;BR /&gt;Could please suggest possible solutions.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;al</description>
      <pubDate>Wed, 24 Mar 2010 13:34:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751609#M7864</guid>
      <dc:creator>Al_Mahajan</dc:creator>
      <dc:date>2010-03-24T13:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: MacOS X: old DWARF debug info</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751610#M7865</link>
      <description>Al,&lt;BR /&gt;&lt;BR /&gt;I will need the following:&lt;BR /&gt;&lt;BR /&gt;your code&lt;BR /&gt;&lt;BR /&gt;your command line for both compile and link: ifort &lt;ALL your="" options="" used=""&gt;&lt;BR /&gt;&lt;BR /&gt;Your Xcode version&lt;BR /&gt;&lt;BR /&gt;Your Xcode installation directory (default is /Developer )&lt;BR /&gt;&lt;BR /&gt;And did you install the compiler AFTER installing this version of Xcode.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;ron&lt;/ALL&gt;</description>
      <pubDate>Wed, 24 Mar 2010 17:31:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751610#M7865</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2010-03-24T17:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: MacOS X: old DWARF debug info</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751611#M7866</link>
      <description>Hey Ron,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. I apologize for not replying for all this time. I will post all the required info tonite. I did install the compiler AFTER installing Xcode (which was the one that came with the laptop I think, I will check the version and let you know). &lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;al</description>
      <pubDate>Mon, 29 Mar 2010 14:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751611#M7866</guid>
      <dc:creator>Al_Mahajan</dc:creator>
      <dc:date>2010-03-29T14:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: MacOS X: old DWARF debug info</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751612#M7867</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;hey Ron,&lt;BR /&gt;I could run this with ifort on terminal..i was not linking the files properly..thanks..&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Mar 2010 03:40:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/MacOS-X-old-DWARF-debug-info/m-p/751612#M7867</guid>
      <dc:creator>Al_Mahajan</dc:creator>
      <dc:date>2010-03-30T03:40:15Z</dc:date>
    </item>
  </channel>
</rss>

