<html>
    <head>
      <base href="https://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 --- - Seg fault with gprof and optimization turned on."
   href="https://llvm.org/bugs/show_bug.cgi?id=25435">25435</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Seg fault with gprof and optimization turned on.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.7
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </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>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>burkett@rice.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=15236" name="attach_15236" title="six files in one.  file name preceeds content.  Not sure how to attach more than one file.">attachment 15236</a> <a href="attachment.cgi?id=15236&action=edit" title="six files in one.  file name preceeds content.  Not sure how to attach more than one file.">[details]</a></span>
six files in one.  file name preceeds content.  Not sure how to attach more
than one file.

Program compiles with[out] optimization -O1 and executes.  Compiled with
profiling without optimization, executes.  Compiled with profiling and
optimization, seg faults with call to mcount() (from /lib64/libc.so.6 as
determined from dynamic library build).

obtained clang-3.7.0 from: <a href="http://llvm.org/releases/download.html">http://llvm.org/releases/download.html</a>

clang/llvm built from scratch on rhel6.5 using:
glibc.i686     2.12-1.166.el6_7.3               @rhel-x86_64-server-6
glibc.x86_64   2.12-1.166.el6_7.3               @rhel-x86_64-server-6
devtoolset-3.x86_64        3.1-12.el6           @rhel-x86_64-server-6-rhscl-1
  gcc (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6)

Clang build consisted of llvm, cfe, compiler-rt tools.  I'll continue to build
and incorporate the additional llvm tools and libraries.  Poked a lot at this
and will appreciate all help that can be rendered.</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>