-
Notifications
You must be signed in to change notification settings - Fork 58
Remove no_uuid and codesigning workarounds when building wrapped_clang. #373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
abe5ec5 to
83c47d9
Compare
|
If we remove this I think we should remove the codesigning workaround too |
happy to add that to the PR (I'm assuming we remove |
|
the issue you linked actually wasn't the core one, since most folks aren't using lld for apple platforms. both the no_uuid case, and the codesigning case were tied up in the same issue which was clang was using a random tmpdir filename in the binary when compiling for multiple architectures. I fixed this here https://github.com/llvm/llvm-project//commit/17386cb4dc89afad62623b9bc08516b99b9c6df7 both of the linker bugs I believe have also been fixed, but that clang change solved them regardless original commits for future reference bazelbuild/bazel@917e15e bazelbuild/bazel@80c56ff |
The core problem was fixed in https://reviews.llvm.org/D111269 and these workarounds are no longer necessary.
83c47d9 to
07c15df
Compare
|
thanks @keith! I think you (or another contributor) will have to merge the PR on my behalf as well as I'm not authorized. |
|
yea np I was just giving it some time in case anyone else wanted to review |
|
thanks! |
These workarounds were added (in 76b3c24, bazelbuild#14168) to enable hermetic macOS toolchain setup, but are no longer necessary as far as I can tell (see also: bazelbuild/apple_support@44c43c715a, bazelbuild/apple_support#373). It should be noted that macOS Tahoe seems to have enforced that LC_UUID must be present in executables. Executables without it are rejected by dyld with `dyld: missing LC_UUID load command`, effectively stops Bazel from working. It is therefore necessary to drop these workarounds here and in Apple support (done in bazelbuild/apple_support@44c43c715a) in order for Bazel to function on macOS Tahoe. Signed-off-by: Ruoyu Zhong <[email protected]>
These workarounds were added (in 76b3c24, #14168) to enable hermetic macOS toolchain setup, but are no longer necessary as far as I can tell (see also: bazelbuild/apple_support@44c43c715a, bazelbuild/apple_support#373). It should be noted that macOS Tahoe seems to have enforced that LC_UUID must be present in executables. Executables without it are rejected by dyld with `dyld: missing LC_UUID load command`, effectively stops Bazel from working. It is therefore necessary to drop these workarounds here and in Apple support (done in bazelbuild/apple_support@44c43c715a) in order for Bazel to function on macOS Tahoe. CC @keith Closes #27014. PiperOrigin-RevId: 811436317 Change-Id: I9d819fdbc2b76ad4ee5abb1fc0c4eb1ee1b442fb
These workarounds were added (in 76b3c24, bazelbuild#14168) to enable hermetic macOS toolchain setup, but are no longer necessary as far as I can tell (see also: bazelbuild/apple_support@44c43c715a, bazelbuild/apple_support#373). It should be noted that macOS Tahoe seems to have enforced that LC_UUID must be present in executables. Executables without it are rejected by dyld with `dyld: missing LC_UUID load command`, effectively stops Bazel from working. It is therefore necessary to drop these workarounds here and in Apple support (done in bazelbuild/apple_support@44c43c715a) in order for Bazel to function on macOS Tahoe. CC @keith Closes bazelbuild#27014. PiperOrigin-RevId: 811436317 Change-Id: I9d819fdbc2b76ad4ee5abb1fc0c4eb1ee1b442fb
These workarounds were added (in 76b3c24, bazelbuild#14168) to enable hermetic macOS toolchain setup, but are no longer necessary as far as I can tell (see also: bazelbuild/apple_support@44c43c715a, bazelbuild/apple_support#373). It should be noted that macOS Tahoe seems to have enforced that LC_UUID must be present in executables. Executables without it are rejected by dyld with `dyld: missing LC_UUID load command`, effectively stops Bazel from working. It is therefore necessary to drop these workarounds here and in Apple support (done in bazelbuild/apple_support@44c43c715a) in order for Bazel to function on macOS Tahoe. CC @keith Closes bazelbuild#27014. PiperOrigin-RevId: 811436317 Change-Id: I9d819fdbc2b76ad4ee5abb1fc0c4eb1ee1b442fb
These workarounds were added (in 76b3c24, bazelbuild#14168) to enable hermetic macOS toolchain setup, but are no longer necessary as far as I can tell (see also: bazelbuild/apple_support@44c43c715a, bazelbuild/apple_support#373). It should be noted that macOS Tahoe seems to have enforced that LC_UUID must be present in executables. Executables without it are rejected by dyld with `dyld: missing LC_UUID load command`, effectively stops Bazel from working. It is therefore necessary to drop these workarounds here and in Apple support (done in bazelbuild/apple_support@44c43c715a) in order for Bazel to function on macOS Tahoe. CC @keith Closes bazelbuild#27014. PiperOrigin-RevId: 811436317 Change-Id: I9d819fdbc2b76ad4ee5abb1fc0c4eb1ee1b442fb
These workarounds were added (in 76b3c24, bazelbuild#14168) to enable hermetic macOS toolchain setup, but are no longer necessary as far as I can tell (see also: bazelbuild/apple_support@44c43c715a, bazelbuild/apple_support#373). It should be noted that macOS Tahoe seems to have enforced that LC_UUID must be present in executables. Executables without it are rejected by dyld with `dyld: missing LC_UUID load command`, effectively stops Bazel from working. It is therefore necessary to drop these workarounds here and in Apple support (done in bazelbuild/apple_support@44c43c715a) in order for Bazel to function on macOS Tahoe. CC @keith Closes bazelbuild#27014. PiperOrigin-RevId: 811436317 Change-Id: I9d819fdbc2b76ad4ee5abb1fc0c4eb1ee1b442fb
…27089) These workarounds were added (in 76b3c24, #14168) to enable hermetic macOS toolchain setup, but are no longer necessary as far as I can tell (see also: bazelbuild/apple_support@44c43c715a, bazelbuild/apple_support#373). It should be noted that macOS Tahoe seems to have enforced that LC_UUID must be present in executables. Executables without it are rejected by dyld with `dyld: missing LC_UUID load command`, effectively stops Bazel from working. It is therefore necessary to drop these workarounds here and in Apple support (done in bazelbuild/apple_support@44c43c715a) in order for Bazel to function on macOS Tahoe. CC @keith Closes #27014. PiperOrigin-RevId: 811436317 Change-Id: I9d819fdbc2b76ad4ee5abb1fc0c4eb1ee1b442fb Commit 433e0e7 Co-authored-by: Ruoyu Zhong <[email protected]>
…27087) These workarounds were added (in 76b3c24, #14168) to enable hermetic macOS toolchain setup, but are no longer necessary as far as I can tell (see also: bazelbuild/apple_support@44c43c715a, bazelbuild/apple_support#373). It should be noted that macOS Tahoe seems to have enforced that LC_UUID must be present in executables. Executables without it are rejected by dyld with `dyld: missing LC_UUID load command`, effectively stops Bazel from working. It is therefore necessary to drop these workarounds here and in Apple support (done in bazelbuild/apple_support@44c43c715a) in order for Bazel to function on macOS Tahoe. CC @keith Closes #27014. PiperOrigin-RevId: 811436317 Change-Id: I9d819fdbc2b76ad4ee5abb1fc0c4eb1ee1b442fb Commit 433e0e7 Co-authored-by: Ruoyu Zhong <[email protected]>
…27088) These workarounds were added (in 76b3c24, #14168) to enable hermetic macOS toolchain setup, but are no longer necessary as far as I can tell (see also: bazelbuild/apple_support@44c43c715a, bazelbuild/apple_support#373). It should be noted that macOS Tahoe seems to have enforced that LC_UUID must be present in executables. Executables without it are rejected by dyld with `dyld: missing LC_UUID load command`, effectively stops Bazel from working. It is therefore necessary to drop these workarounds here and in Apple support (done in bazelbuild/apple_support@44c43c715a) in order for Bazel to function on macOS Tahoe. CC @keith Closes #27014. PiperOrigin-RevId: 811436317 Change-Id: I9d819fdbc2b76ad4ee5abb1fc0c4eb1ee1b442fb Commit 433e0e7 Co-authored-by: Ruoyu Zhong <[email protected]>
…27088) These workarounds were added (in 76b3c24, #14168) to enable hermetic macOS toolchain setup, but are no longer necessary as far as I can tell (see also: bazelbuild/apple_support@44c43c715a, bazelbuild/apple_support#373). It should be noted that macOS Tahoe seems to have enforced that LC_UUID must be present in executables. Executables without it are rejected by dyld with `dyld: missing LC_UUID load command`, effectively stops Bazel from working. It is therefore necessary to drop these workarounds here and in Apple support (done in bazelbuild/apple_support@44c43c715a) in order for Bazel to function on macOS Tahoe. CC @keith Closes #27014. PiperOrigin-RevId: 811436317 Change-Id: I9d819fdbc2b76ad4ee5abb1fc0c4eb1ee1b442fb Commit 433e0e7 Co-authored-by: Ruoyu Zhong <[email protected]>
…azelbuild#27088) These workarounds were added (in 76b3c24, bazelbuild#14168) to enable hermetic macOS toolchain setup, but are no longer necessary as far as I can tell (see also: bazelbuild/apple_support@44c43c715a, bazelbuild/apple_support#373). It should be noted that macOS Tahoe seems to have enforced that LC_UUID must be present in executables. Executables without it are rejected by dyld with `dyld: missing LC_UUID load command`, effectively stops Bazel from working. It is therefore necessary to drop these workarounds here and in Apple support (done in bazelbuild/apple_support@44c43c715a) in order for Bazel to function on macOS Tahoe. CC @keith Closes bazelbuild#27014. PiperOrigin-RevId: 811436317 Change-Id: I9d819fdbc2b76ad4ee5abb1fc0c4eb1ee1b442fb Commit bazelbuild@433e0e7 Co-authored-by: Ruoyu Zhong <[email protected]>
The core problem was fixed in https://reviews.llvm.org/D111269 and these
workarounds are no longer necessary.