Skip to content

compiler hash still factored into ABI with DISABLE_COMPILER_TRACKING enabled. #48464

@jsundahl

Description

@jsundahl

To start off with I should say that I'm running MacOS Tahoe on my local machine and Sequoia on the CI machine. If binary caching between those is unsupported feel free to just let me know and close this.

I'm running in manifest mode with:

  • llvm 20.1.8
  • --x-abi-tools-use-exact-versions
  • a custom triplet with DISABLE_COMPILER_TRACKING set

comparing ABIs at
vcpkg/buildtrees/boost-cmake/x64-osx-no-compiler-tracking.vcpkg_abi_info.txt

vcpkg-test $ diff abi-local abi-ci
17c17
< vcpkg-boost bfa54b6d28501463de871f905f67533e53cf807e49b227a2f36ab983d396a4a2
---
> vcpkg-boost 84ac8b25d3ca4c4df10b12034dccd2b7fc597ca72e4f9985471567b81c598a1a
19,20c19,20
< vcpkg-cmake 8d6f90fefcc0a8ec19db8c7aa9576d368b3638867a5379f6a62904e536334999
< vcpkg-cmake-config 91f1e857a587bdb069a9bc281b5a73c8fdb3efd1775d4c3cacaa14375d459681
---
> vcpkg-cmake c2f48feadfe9ef3e3de050b17a723f550ad069f037bbfe6423800eb6487e8953
> vcpkg-cmake-config 6e2243ac5a2fa720e41a5c4646543c11f248fe8fd854ddd1d9babe1f312a9359

then going to vcpkg-cmake

vcpkg-test $ diff vcpkg-cmake-abi-local vcpkg-cmake-abi-ci
7c7
< triplet_abi ee01c9458d62d6baf9332438e02f9de2d5daa743b47a61ba6b7d68dd84dc1e65-c6536c929f0b7e5191e31cc452a71864a2b2273ecad8b5d2b27a82f75d8cc6af-0223a0b1f80d9061314c18eb0701d89b8138c00a
---
> triplet_abi ee01c9458d62d6baf9332438e02f9de2d5daa743b47a61ba6b7d68dd84dc1e65-c6536c929f0b7e5191e31cc452a71864a2b2273ecad8b5d2b27a82f75d8cc6af-04e2aba635bc1768569b929bca216473e973ce20
19c19

the third element of the above differs, grepping for that I see:

buildtrees/detect_compiler/stdout-arm64-osx.log
19:#COMPILER_HASH#0223a0b1f80d9061314c18eb0701d89b8138c00a

So it's still factoring the compiler hash into boost-cmake, just one step removed. Compiler tracking is definitely disabled, I can see the triplet-abi for boost-cmake is only two elements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions