Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-48443

Compilation errors with GCC and ICECC 1.2+

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.1, 4.7.0
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Hide

      A minimal repro for this on an Ubuntu 20.04 spawn host is:

      python3 ./buildscripts/scons.py --dbg=on --opt=off --link-model=dynamic --variables-files=etc/scons/mongodbtoolchain_stable_gcc.vars ICECC=icecc CCACHE=ccache build/debug/mongo/base/data_range.dyn.o
      
      Show
      A minimal repro for this on an Ubuntu 20.04 spawn host is: python3 ./buildscripts/scons.py --dbg=on --opt=off --link-model=dynamic --variables-files=etc/scons/mongodbtoolchain_stable_gcc.vars ICECC=icecc CCACHE=ccache build/debug/mongo/base/data_range.dyn.o
    • Dev Platform 2020-06-15, Dev Platform 2020-06-29, Dev Platform 2020-07-13, Dev Platform 2020-07-27

       

      After upgrading to Ubuntu 20.04 looks like ccache is broken. Disabling ccache from scons works.

      The lack of ccache is however a significant productivity issue.

       

      Ubuntu 20.04
      ccache version 3.7.7
      ICECC 1.3.1

        1. build.ninja
          32.67 MB
        2. error.txt
          1.91 MB

            Assignee:
            ryan.egesdahl@mongodb.com Ryan Egesdahl (Inactive)
            Reporter:
            svilen.mihaylov@mongodb.com Svilen Mihaylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: