ABI (アプリケーションバイナリインターフェース) - CI/CD用語集の定義
ABI(アプリケーションバイナリインターフェース)は、バイナリ間の低レベルの契約です。引数がどう渡されるか、struct がメモリ上でどう配置されるか、シンボルがどう命名されるかを定め、コンパイル済みのコンポーネントが再コンパイルなしで相互運用できるようにします。
build を壊す理由
ABI の不一致(例えば glibc に対して build されたライブラリを musl に対して実行する、あるいは C++ 標準ライブラリのバージョン変更)は、ソースが問題なくコンパイルできてもリンクや実行時の失敗を引き起こします。
関連ガイド
Calling Convention - CI/CD Glossary DefinitionCalling Convention: A calling convention is the part of an ABI that specifies how functions receive arguments…
Dynamic Linking - CI/CD Glossary DefinitionDynamic Linking: Dynamic linking resolves library references at load time or run time rather than build time,…
Target Triple - CI/CD Glossary DefinitionTarget Triple: A target triple is a string that identifies the platform a compiler should build for, conventi…