Changes between Version 4 and Version 5 of Ticket #67836


Ignore:
Timestamp:
Jul 28, 2023, 4:11:24 AM (10 months ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

We had successful builds of clang @16.0.6 on all buildbot workers for Mac OS X 10.6 and later on July 3-4.

Comparing the buildbot log from 10.8 with yours, I see these differences:

  • yours is building universal for i386 & x86_64 while the buildbot is building only for x86_64 (this could be the relevant difference)
  • yours found /opt/local/bin/git; buildbot found /usr/bin/git (probably irrelevant)
  • yours failed the CXX_SUPPORTS_UNWINDLIB_NONE_FLAG and COMPILER_RT_HAS_FUSE_LD_LLD_FLAG tests; on the buildbot they succeeded (maybe a consequence of building universal)
  • yours is building with -j4 while the buildbot is using -j8 (probably irrelevant)

Diffing the build phase of the two logs is not so easy since parallel building means the lines are not in the same order between the two logs, but looking at a few things manually:

At the point in the log where yours fails, we're building target cxxabi_static. On the buildbot it is using many warning flags like -Wno-user-defined-literals. Your build isn't using that, which is why you see the warnings warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals].

Before that, in the build phase, cmake is run again when it is trying to build something using the just-built clang 16.0.6. This time, a relevant difference between the two is that yours failed nearly all of the tests, including the CXX_SUPPORTS_FALIGNED_ALLOCATION_FLAG test, while most tests succeeded on the buildbot. That seems to match up with the ultimate error you're getting about aligned deallocation not being supported.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #67836

    • Property Summary changed from clang-16 fails to build on 10.8.5: error: aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.13 or newer to clang-16 @16.0.6: error: aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.13 or newer
  • Ticket #67836 – Description

    v4 v5  
    1 CORRECTED: `clang-16` fails, not `llvm-16`.
    2 
    31Why was it even set as the default for systems which do not support it?
    42