Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12510

Excessive and repeated compilation definitions on MacOS

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines

      The ccache compilation errors on MacOS excessively repeat definitions and other compile line items. I do not see this when compiling with the same "error" on Linux.

      Here is the line on my AWS box:

      FAILED: test/utility/CMakeFiles/test_util.dir/backup.c.o 
      ccache /opt/mongodbtoolchain/v3/bin/clang  -I/usr/include/python3.6m -Iinclude -I../test/utility 
      -Iconfig -I../src/include -D_GNU_SOURCE -DHAVE_X86INTRIN_H -D_GNU_SOURCE 
      -DHAVE_X86INTRIN_H -g -fPIC   -O0 -g3 -ggdb3 -gdwarf-4 -fdebug-macro 
      -fcolor-diagnostics -Werror -Wno-cast-align -Wno-documentation-unknown-command 
      -Wno-format-nonliteral -Wno-packed -Wno-padded -Wno-reserved-id-macro 
      -Wno-zero-length-array -Wno-cast-qual -Wno-thread-safety-analysis 
      -Wno-disabled-macro-expansion -Wno-extra-semi-stmt -Wno-unknown-warning-option 
      -Weverything -MD -MT test/utility/CMakeFiles/test_util.dir/backup.c.o -MF 
      test/utility/CMakeFiles/test_util.dir/backup.c.o.d -o test/utility/CMakeFiles/test_util.dir/backup.c.o   -c ../test/utility/backup.c
      

      Here is the same failure on my Mac (I have added newlines for better formatting):

      FAILED: test/utility/CMakeFiles/test_util.dir/backup.c.o
      ccache /Library/Developer/CommandLineTools/usr/bin/cc  
      -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 
      -I/Users/sue/wt/wt.test/build/include -I/Users/sue/wt/wt.test/test/utility 
      -I/Users/sue/wt/wt.test/build/config -I/Users/sue/wt/wt.test/src/include
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H
      -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -fPIC -O0
      -g3 -ggdb3 -gdwarf-4 -Werror -Wno-cast-align -Wno-documentation-unknown-command -Wno-format-nonliteral -Wno-packed 
      -Wno-padded -Wno-reserved-id-macro -Wno-zero-length-array 
      -Wno-cast-qual -Wno-thread-safety-analysis 
      -Wno-disabled-macro-expansion -Wno-extra-semi-stmt 
      -Wno-unknown-warning-option -Wno-poison-system-directories 
      -Wno-implicit-fallthrough -Wno-implicit-int-float-conversion 
      -Wno-maybe-uninitialized -Weverything -MD -MT 
      test/utility/CMakeFiles/test_util.dir/backup.c.o -MF test/utility/CMakeFiles/test_util.dir/backup.c.o.d -o test/utility/CMakeFiles/test_util.dir/backup.c.o -c /Users/sue/wt/wt.test/test/utility/backup.c
      

      There are 92 of the -march=armv8-a+crc -moutline-atomics -DHAVE_ARM_NEON_INTRIN_H lines.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: