[Mesa-dev] [Bug 100928] exported opengl function in generated dll was mangled when building with msvc 2015 Update 3

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 4 12:58:49 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100928

            Bug ID: 100928
           Summary: exported opengl function in generated dll was mangled
                    when building with msvc 2015 Update 3
           Product: Mesa
           Version: 17.1
          Hardware: x86 (IA32)
                OS: Windows (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/swr
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: kangjoni76 at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Created attachment 131204
  --> https://bugs.freedesktop.org/attachment.cgi?id=131204&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170504/0ce29d51/attachment.html>


More information about the mesa-dev mailing list