#CommandLineTools
Ld failure (tapi error) after upgrading to macOS 27 Xcode SDK discourse.haskell.org/t/ld-failure... GitHub runnerが直ってた。
Ld failure (tapi error) after upgrading to macOS 27 Xcode SDK
I upgraded my Xcode command line tools yesterday and now `cabal build` fails with errors such as: ld: multiple errors: tapi error: malformed file /Library/Developer/CommandLineTools/SDKs/MacOSX27.0....
discourse.haskell.org
November 6, 2026 at 12:38 AM
On my system it lives at /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/pip/_vendor/certifi/cacert.pem
October 29, 2026 at 6:11 AM
Extremely relatedly, I think the cure for Apple failing to patch their system python is just to remove the `AAA Certificate Services` and `emSign ECC Root CA - G3` certs from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3 […]
Original post on masto.free-dissociation.com
masto.free-dissociation.com
October 29, 2026 at 6:36 AM
Is clang on macOS 27 broken for anyone else? I checked my system updates and there's nothing for command line tools.
October 5, 2026 at 10:59 PM
Ld failure (tapi error) after upgrading to macOS 27 Xcode SDK
I upgraded my Xcode command line tools yesterday and now `cabal build` fails with errors such as: ld: multiple errors: tapi error: malformed file /Library/Developer/CommandLineTools/SDKs/MacOSX27.0.sdk/usr/lib/libiconv.tbd:4:20: error: error: unknown architecture arm64e.x1-macos, arm64e.x1-maccatalyst \] ^\~\~\~\~\~\~\~\~\~\~\~\~\~\~ in '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libiconv.tbd'; tapi error: malformed file | 4 | arm64e.x1-macos, arm64e.x1-maccatalyst ] | ^ This happens also with `–with-gcc=clang`. My tool versions: ❯ cabal -V cabal-install version 3.18.1.0 compiled using version 3.18.1.0 of the Cabal library ❯ ghc -V The Glorious Glasgow Haskell Compilation System, version 9.14.1.20260728 ❯ ld -v @(#)PROGRAM:ld PROJECT:ld-1267 BUILD 18:30:29 Apr 22 2026 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em armv8m.main armv8.1m.main will use ld-classic for: armv6 armv7 armv7s i386 armv6m armv7k armv7m armv7em LTO support using: LLVM version 21.0.0 (static support for 30, runtime is 30) TAPI support using: Apple TAPI version 21.0.0 (tapi-2100.0.2.6) ❯ gcc -v Apple clang version 21.0.0 (clang-2100.1.1.101) Target: arm64-apple-darwin25.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ❯ clang -v Apple clang version 21.0.0 (clang-2100.1.1.101) Target: arm64-apple-darwin25.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin Anyone has encountered this and may have a solution?
discourse.haskell.org
September 11, 2026 at 9:48 AM
since people only sent DMs, if anyone is curious:
August 15, 2026 at 5:54 PM
main.c:4:2: note: did you mean 'printf'?
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:167:6: note: 'printf' declared here
int      printf(const char * __restrict, ...) __printflike(1, 2);
         ^
1 error generated.
February 7, 2024 at 9:39 AM
main.c:4:2: note: did you mean 'printf'?
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:167:6: note: 'printf' declared here
int      printf(const char * __restrict, ...) __printflike(1, 2);
         ^
1 error generated.
February 7, 2024 at 9:34 AM
main.c:4:2: note: did you mean 'printf'?
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:167:6: note: 'printf' declared here
int      printf(const char * __restrict, ...) __printflike(1, 2);
         ^
1 error generated.
February 7, 2024 at 9:29 AM
main.c:4:2: 注: 'printf' のことですか?
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:167:6: 注: ここで「printf」が宣言されています
int printf(const char * __restrict, ...) __printflike(1, 2);
^
1 件のエラーが発生しました。

-------
I'm so sorry if this didn't translate well.

うまく翻訳できなかったらごめんなさい。
February 7, 2024 at 9:24 AM
main.c:4:2: note: did you mean 'printf'?
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:167:6: note: 'printf' declared here
int      printf(const char * __restrict, ...) __printflike(1, 2);
         ^
1 error generated.
February 7, 2024 at 9:07 AM
Error: Your Command Line Tools are too outdated.
Update them from Software Update in System Settings.

If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
December 9, 2025 at 9:36 AM