Git Product home page Git Product logo

Comments (5)

a1batross avatar a1batross commented on May 27, 2024

Can you try to recompile engine completely by passing -j1 to Waf? There is a bug, which causes PDB file race condition to multicore systems.

from xash3d-fwgs.

noodlecollie avatar noodlecollie commented on May 27, 2024

Wow, that actually did solve it. Thank you!

Is there anything that could be done regarding the /MDd switch and the other similar ones? I don't know very much about how the MS compile tools work or what options are appropriate for GoldSrc compatibility, but I do remember some of them existing specifically to allow multiple concurrent writes to PDB files.

from xash3d-fwgs.

mittorn avatar mittorn commented on May 27, 2024

pdb files does not work for me. Maybe it is broken?

from xash3d-fwgs.

a1batross avatar a1batross commented on May 27, 2024

Ideally, we don't need /MDd or /MTd option by default in current debug build type, as it supposed to behave similar to release builds. MDd/MTd links to debug version of MSVCRT and there may be difference.

And yeah, complete fix of this issue is passing a /Fd key to compiler and set pdb path to linker. To achieve that, a taskgen method must be implemented somewhere in our main wscript as suggested by Waf author.

This happens because we have multiple targets and when waf is linking one target and beggining to compile another, the same vcxxx.pdb file is being accessed. I don't know how to reproduce this, as it's a race condition and may happen or may not.

from xash3d-fwgs.

a1batross avatar a1batross commented on May 27, 2024

Should be fixed with b1406e8. Re-open if the problem appears again.

from xash3d-fwgs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.