https://bugzilla.mindrot.org/show_bug.cgi?id=3584

Michael Cho <ch...@tuta.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ch...@tuta.io

--- Comment #8 from Michael Cho <ch...@tuta.io> ---
Changing optimization only masked issue during build but resulting
binaries caused segfaults and other problems for Homebrew users.

Based on my analysis, the issue appears to be that Xcode 14.3 (Apple
Clang 14.0.3) is based on LLVM 15 and thus we hit the LLVM bug
mentioned in configure.ac (ref:
https://github.com/llvm/llvm-project/issues/59242,
https://reviews.llvm.org/D139679)

Version info is a bit annoying with Apple Clang since they don't align
with LLVM version numbers. Also, the text is different so the
configure.ac logic doesn't work
```
❯ clang -v 2>&1 | head -1
Apple clang version 14.0.3 (clang-1403.0.22.14.1)

❯ clang -v 2>&1 | awk '/clang version /{print $3}'
version
```

In Homebrew, I added a temporary workaround in
https://github.com/Homebrew/homebrew-core/pull/135373 but would be nice
to improve configure.ac logic.

Issue should go away with Xcode 15 release as Apple Clang 15.0.0 is
based on LLVM 16.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to