Commit d52338f0 authored by Chun-wei Fan's avatar Chun-wei Fan Committed by Christoph Reiter

MSVC.README.rst: Update VS 2008/x64 build notes

It appears that tests/repository/gitypelibtest.c needs to be added to
the list of files that we must change the optimization flag from /O2 to
/O1 in order that the Visual Studio 2008 x64 compiler does not hang, due
to compiler optimization issues.
parent 4c5d7d61
Pipeline #79546 passed with stage
in 7 minutes and 58 seconds
......@@ -83,9 +83,10 @@ On x64 builds, building girepository\girepository-1.0-1.dll may hang during comp
If this happens, terminate all 'cl.exe' processes, which will terminate the build process.
Open build.ninja and change the compiler flags by changing /O2 to /O1 for all the sources
that hang during compilation. At this time of writing, girepository\girwriter.c,
girepository\girparser.c and girepository\girnode.c are affected--this is due to an issue
in Visual Studio 2008's x64 compiler in regards to optimization. Re-attempt the build, and
the build should complete normally. This does not affect Win32/x86 builds.
girepository\girparser.c, girepository\girnode.c and tests\repository\gitypelibtest.c are
affected--this is due to an issue in Visual Studio 2008's x64 compiler in regards to
optimization. Re-attempt the build, and the build should complete normally. This does not
affect Win32/x86 builds.
On all Visual Studio 2008 builds, after successfully completing/installing the build, run
the following so that we ensure the manifests are embedded to the built DLLs and EXEs::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment