Skip to content
Snippets Groups Projects
Select Git revision
  • main default
  • 2-create-game-model
  • master
3 results

progarkproject

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tom Stellard authored
    Running the test-release.sh script with PGO enabled causes build errors
    like:
    
    ld.lld: error: Function Import: link error: linking module flags
    'ProfileSummary': IDs have conflicting values
    
    I believe this a build system bug due to the PGO profile data being
    generated unconditionally. If you run `ninja check-all` and then `ninja
    install` like we do in test-release.sh, then the profile data is
    regenerated during `ninja install` and some of the clang tools which are
    not test dependencies get build during the ninja install step with
    different profile data. When these tools link against the LLVM
    libraries, like libSupport, we end up with these errors.
    
    (cherry picked from commit 0d2bb7f0)
    e6c32898
    History
    Name Last commit Last update