Summary: | devel/llvm90 : Fails to build on FreeBSD 12.2-BETA1 r365618 GENERIC powerpc 32 bit:FAILED: lib/Target/AArch64/MCTargetDesc/CMakeFiles/LLVMAArch64Desc.dir/AArch64InstPrinter.cpp.o | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | canardo <canardo909> |
Component: | Individual Port(s) | Assignee: | Brooks Davis <brooks> |
Status: | Closed Not Accepted | ||
Severity: | Affects Only Me | CC: | adridg, powerpc |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(brooks) |
Version: | Latest | ||
Hardware: | powerpc | ||
OS: | Any |
Description
canardo
2020-09-24 11:25:22 UTC
It's worth checking if the crash is due to an out of memory (or swap) condition in which case disabling make jobs may help. I'm afraid not generally in a position to debug a gcc9 crash. In general I'd suggest enabling BE_NATIVE instead of BE_STANDARD to save some build time and avoid building this file. My machine has 2GB RAM (max possible) and nothing else is running while building llvm90 in console. By swapping drive on the same machine, I get back to FreeBSD 12.1, on which I was able to properly build llvm90 a while ago. # uname -a FreeBSD G417 12.1-RELEASE-p1 FreeBSD 12.1-RELEASE-p1 r354992 GENERIC powerpc # pkg info llvm90 llvm90-9.0.1 Name : llvm90 Version : 9.0.1 Installed on : Sat Feb 8 18:56:18 2020 CET Origin : devel/llvm90 Architecture : FreeBSD:12:powerpc Prefix : /usr/local Categories : devel lang Licenses : MIT, BSD3CLAUSE, PD, REGEX, LLVM, LLVM2 Maintainer : brooks@FreeBSD.org WWW : http://llvm.org/ Comment : LLVM and Clang Options : BE_AMDGPU : on BE_FREEBSD : off BE_NATIVE : off BE_STANDARD : on CLANG : on DOCS : on ELFV2 : off EXTRAS : on LIT : on LLD : on LLDB : on LLD_LINK : on PYCLANG : on Shared Libs required: libstdc++.so.6 libatomic.so.1 libpanel.so.6 libtinfo.so.6 libgcc_s.so.1 libform.so.6 libedit.so.0 libpython3.7m.so.1.0 libxml2.so.2 Shared Libs provided: libclang.so.9 liblldb.so.9 libclang-cpp.so.9 libLTO.so.9 libLLVM-9.so libRemarks.so.9 Annotations : FreeBSD_version: 1201000 Flat size : 1.17GiB On both version of FreeBSD (12.1 and 12.2 BETA 1) on my machine, all memory and build options are the default ones. So clearly something has been changed in 12.2 BETA 1, blocking llvm90 build. Is there any command I could run to gather information and help solving this problem ? If so, please provided me detailed instructions, I'm no developer or sysadmin. Is this still relevant? 12.3 has been out for some time, and it would hopefully not use gcc9 anymore (or need to build llvm90, although I see that qt5-qdoc still depends on that older version :( ) A workaround was suggested and this is quite old. |