[Mesa-dev] [Bug 101614] OSMesa 17.1.3 simd16intrin build FAIL on Win/MinGW - 'expected initializer before _simd16_setzero_ps ...'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 20 02:18:58 UTC 2017


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

--- Comment #15 from Trevor SANDY <trevor.sandy at gmail.com> ---
Hi Guys !

I would like to come back on this ticket because, for me, the problem I
reported is completely fixed by the patch George Kyriazis provided. However, I
noticed his patch is not applied to anything after 17.1.3. For example the
latest release exactly reproduces the original issue.

Anyhow, I'm not sure what process must run before this fix can be applied but I
can report that the issue is completely resolved when George's patch is applied
to revision 89d4008ac85714bab8c49974377fd37970f6d66a - along with the patch set
below. I'm not sure on what branch this revision is attached as it is no longer
on the master/best-so-far branch. 

It would be great to have this patch on 17.2!

Patch set (https://github.com/trevorsandy/osmesa-install):
# add_pi.patch \
# gallium-once-flag.patch \
# gallium-osmesa-threadsafe.patch \
# glapi-getproc-mangled.patch \
# install-GL-headers.patch \
# lp_scene-safe.patch \
# mesa-glversion-override.patch \
# osmesa-gallium-driver.patch \
# redefinition-of-typedef-nirshader.patch \
# scons25.patch \
# scons-llvm-3-9-libs.patch \
# swr-sched.patch \
# msys2_scons_fix.patch \
# 0001-mingw-fixes.patch - George's patch is not in my repo - sorry:(

I can successfully run a quick osmesa rendering test for swr, lvmpipe and
softpipe driver settings with the following MSYS2/MinGW DevEnv settings:

Mesa build options for platform MINGW64_NT-10.0:
- ((NOTE)) DEMO MODE - ALL BUILD LOGIC DISABLED!
- build date: 20/09/2017 03:38:51
- build and install mesa: No
- using existing Mesa 17.1.3.X 64 libraries in /opt/osmesa
- release, non-debug build
- non-mangled
- swr Gallium renderer
- build and install llvm: No
- using existing llvm 4.0.1 in /opt/llvm
- reuse built source at rebuild
- execute osmesa demo: Yes
- build and install glut: No
- using existing glut version: 3.0.0 (using freeglut)
- using existing libglu32.dll in /c/Windows/System32
- CC: gcc
- CXX: g++
- CFLAGS: -O3 -m64
- CXXFLAGS: -O3 -m64
- msys2 version: 2017.05-1
- mingw version: 2.28-2
- gcc version: 6.3.0-1
- cmake version: 3.9.1-1
- scons version: 2.5.1-1
- bison/yacc version: 3.0.4-1
- python2 version: 2.7.13-2
- python2-mako version: 1.0.7-1
- libxml2 version: 2.9.2-3
- interactive: Yes
- silent logging
- log file: /c/Users/Trevor/Projects/osmesa-mingw/osmesa-install_27.log
* copying binary files to demo location...
** copied libglu32.dll
** copied osmesa.dll
** copied swrAVX.dll
** copied swrAVX2.dll
env GAL_DRIVER=swr ./osdemo32 image.tga
channel sizes: 32 32 32 32
depth bits 24
osdemo, writing tga file 
all done
---------------------------------------------
* Demo mesa-demos-8.3.0 build and execution completed. Time Elapsed: 0hrs 0min
13sec
* Done!. osmesa-install ran to completion. Time Elapsed: 0hrs 0min 13sec

Cheers,
Trevor

-- 
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/20170920/000f7d23/attachment.html>


More information about the mesa-dev mailing list