<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </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 - exported opengl function in generated dll was mangled when building with msvc 2015 Update 3"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100928">100928</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>exported opengl function in generated dll was mangled when building with msvc 2015 Update 3
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>17.1
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/swr
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kangjoni76@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=131204" name="attach_131204" title="this is opengl32.def and smooth_opengl3.c to reproduce the problem">attachment 131204</a> <a href="attachment.cgi?id=131204&action=edit" title="this is opengl32.def and smooth_opengl3.c to reproduce the problem">[details]</a></span>
this is opengl32.def and smooth_opengl3.c to reproduce the problem

I use llvm3.7.1 and llvm3.9.1 mesa3d version 17.0.5 with msvc 2015 Update 3. I
build as follows:

scons platforms=windows machine=x86 libgl-gdi build=release swr=1

I attached gendef mingw output opengl32.def and freeglut demo program to
reproduce the problem. 

The freeglut demo samples is smooth_opengl3.c was failing to create opengl 3
core context on windows 7. This works fine if I build llvmpipe on old
unmaintained distros debian, the smooth_opengl3.c freeglut demo was working
fine.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>