make run
をすると ld.lld: error: undefined symbol: __ubsan_handle_function_type_mismatch
で落ちる
#16
-
概要
開発環境OS: macOS-13.2.1-x86_64-i386-64bit
PYTHON3: Python 3.10.10
CC: Homebrew clang version 17.0.6 Target: x86_64-apple-darwin22.3.0 Thread model: posix InstalledDir: /usr/local//opt/llvm/bin
LD: Homebrew LLD 17.0.6 (compatible with GNU linkers)
QEMU: QEMU emulator version 8.2.1 Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers
OBJCOPY: llvm-objcopy, compatible with GNU objcopy Homebrew LLVM version 17.0.6 Optimized build.
MAKE: GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-apple-darwin11.3.0 ソースコードのURLNo response |
Beta Was this translation helpful? Give feedback.
Answered by
nuta
Mar 9, 2024
Replies: 2 comments
-
ご報告ありがとうございます!どうやら新しいLLVM (clang) ではUBSan (未定義動作チェッカー)の検査項目が増えたようですね (おそらくこのパッチ)。 49a5ca3 で修正しました 🙏 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
keisuke713
-
バージョンによる差異だったのですね。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ご報告ありがとうございます!どうやら新しいLLVM (clang) ではUBSan (未定義動作チェッカー)の検査項目が増えたようですね (おそらくこのパッチ)。
49a5ca3 で修正しました 🙏