<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - _iround and _iroundf undefined for dragonegg under gcc 4.8.0"
   href="http://llvm.org/bugs/show_bug.cgi?id=15980">15980</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>_iround and _iroundf undefined for dragonegg under gcc 4.8.0
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>dragonegg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>baldrick@free.fr
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>howarth@nitro.med.uc.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Dragonegg 3.3svn and trunk both produce undefined symbols for _iround and
_iroundf when compiling the Polyhedron 2005 benchmark aermod.f90 with...

% /sw/lib/gcc4.8/bin/gfortran -fplugin=/sw/lib/gcc4.8/lib/dragonegg.so -O1 
aermod.f90 -o aermod

and an undefined symbol for _iroundf for the reflow.f90 benchmark compiled
with...

% /sw/lib/gcc4.8/bin/gfortran -fplugin=/sw/lib/gcc4.8/lib/dragonegg.so -O1
rnflow.f90 -o rnflow

against gcc 4.8.1svn with uncommitted second patch from
<a href="http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130401/170127.html">http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130401/170127.html</a>
applied to the dragonegg sources.

These undefined symbols don't occur when dragonegg 3.3svn or trunk is compiled
against gcc 4.7.4svn. The issue appears to be due to the change...

<a href="http://gcc.gnu.org/ml/gcc-patches/2012-03/msg01100.html">http://gcc.gnu.org/ml/gcc-patches/2012-03/msg01100.html</a>

which enabled BUILT_IN_IROUND{F,,L} on the gfortran front end.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>