From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Date: Thu, 17 Jun 2021 10:46:55 +0200 From: Konstantin Lepikhov To: devel@lists.altlinux.org Message-ID: Mail-Followup-To: devel@lists.altlinux.org References: <20210107205220.GA1094824@lks.home> <20210111160945.GA1739369@lks.home> <20210114204645.GA189650@lks.home> <74591b8b-ec56-8847-4812-6c0d4086b6e5@basealt.ru> <20210115094554.GA278024@lks.home> <43d2d5b0-5374-8581-b902-1b929f33dd7d@basealt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <43d2d5b0-5374-8581-b902-1b929f33dd7d@basealt.ru> X-Operation-System: ALT Sisyphus Sisyphus (unstable) (sisyphus) 5.10.0-lks-wks-alt1 User-Agent: Mutt/2.0.4.0.4.gd6732de7d (2020-12-30) Subject: Re: [devel] =?utf-8?b?0Jgg0LXRidC1INC/0YDQviDQutGA0L7RgdGBLdC60L4=?= =?utf-8?b?0LzQv9C40LvRj9GC0L7RgNGLIChSZTogWyMyNjM0NjhdIEVQRVJNICh0cnkg?= =?utf-8?q?14=29_llvm-common=2Egit=3D11=2E0=2E0-alt2_srpm=3Dllvm11=2E0-11?= =?utf-8?b?LjAuMC1hbHQyLnNyYy5ycG0p?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2021 08:47:00 -0000 Archived-At: List-Archive: List-Post: Hi Alexey! On 01/15/2021, at 04:38:26 PM you wrote: > > Поддержка _всех_ поддерживаемых target'ов это не функциональность, а > > блажь. > > Расскажите, пожалуйста, об этом авторам clang, а то мужики-то не знают, > как надо компиляторы делать. Еще можно поучить уму-разуму Кена Томпсона, > а то, вишь, придумали ... https://gitlab.freedesktop.org/mesa/mesa/-/issues/4302 А теперь пожелайте удачи со сборкой будущих версий mesa, т.к. теперь clover там собрать опять нельзя. Проверено с llvm12.0 из сизифа: ... /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:26: undefined reference to `LLVMInitializeAArch64Target' ld: src/gallium/frontends/clover/libclllvm.a(llvm_invocation.cpp.o): in function `LLVMInitializeAllTargets': /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:28: undefined reference to `LLVMInitializeARMTarget' ld: /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:29: undefined reference to `LLVMInitializeAVRTarget' ld: /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:30: undefined reference to `LLVMInitializeBPFTarget' ld: /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:31: undefined reference to `LLVMInitializeHexagonTarget' ld: /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:32: undefined reference to `LLVMInitializeLanaiTarget' ld: /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:33: undefined reference to `LLVMInitializeMipsTarget' ld: /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:34: undefined reference to `LLVMInitializeMSP430Target' ld: /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:35: undefined reference to `LLVMInitializeNVPTXTarget' ld: /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:36: undefined reference to `LLVMInitializePowerPCTarget' ld: /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:37: undefined reference to `LLVMInitializeRISCVTarget' ld: /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:38: undefined reference to `LLVMInitializeSparcTarget' ld: /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:39: undefined reference to `LLVMInitializeSystemZTarget' ld: /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:40: undefined reference to `LLVMInitializeWebAssemblyTarget' ld: /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:42: undefined reference to `LLVMInitializeXCoreTarget' ld: src/gallium/frontends/clover/libclllvm.a(llvm_invocation.cpp.o): in function `(anonymous namespace)::create_context(std::__cxx11::basic_string, std::allocator >&)': /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:26: undefined reference to `LLVMInitializeAArch64TargetInfo' ld: src/gallium/frontends/clover/libclllvm.a(llvm_invocation.cpp.o): in function `LLVMInitializeAllTargetInfos': /usr/lib/llvm-12.0/include/llvm/Config/Targets.def:28: undefined reference to `LLVMInitializeARMTargetInfo Зато вы молодцы, запихали все возможные targets где не надо ради надуманной потребности "кросс-компиляции". -- WBR et al.