Closed donttal closed 4 years ago
It seems to be reporting that your disk is full: "No space left on device." Are you running on a virtual machine?
It seems to be reporting that your disk is full: "No space left on device." Are you running on a virtual machine?
I am running on the lab server, not a virtual machine.
You can type the command 'df' in a terminal to determine how much space is left.
[root@localhost build]# df -hl Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 50G 50G 252M 100% / devtmpfs 32G 0 32G 0% /dev tmpfs 32G 6.0M 32G 1% /dev/shm tmpfs 32G 66M 32G 1% /run tmpfs 32G 0 32G 0% /sys/fs/cgroup /dev/sda2 1014M 174M 841M 18% /boot /dev/sda1 200M 11M 189M 6% /boot/efi /dev/mapper/centos-home 754G 141G 613G 19% /home tmpfs 6.3G 52K 6.3G 1% /run/user/0
[root@localhost tmp]# du -sh 1.7M .
What is the path to the directory you are trying to build in?
What is the path to the directory you are trying to build in?
Do you mean the installation path of NyzuiToolchain?
/root/NyuziProcessor/tools/NyuziToolchain/build
I would suggest building it underneath your home directory. That is, clone the NyuziProcessor repo there. It appears you are trying to build on the root partition, which doesn't have space left (and isn't a great place to put this kind of stuff anyway).
我建议将其构建在主目录下。也就是说,在此处克隆NyuziProcessor存储库。看来您正在尝试在根分区上构建,该分区没有剩余空间(无论如何也不是放置此类内容的好地方)。 I logged in to the server as the root user and its default HOME directory is /root. Should I log in with another account and enter the /home/usr directory?
Yes, I would recommend using a regular account.
是的,我建议您使用普通帐户。 When I run the ninja command as a normal user login, the following problem occurs. /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(abstract.o): relocation R_X86_64_32S against symbol
_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(boolobject.o): relocation R_X86_64_32S against symbol
_Py_FalseStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(bytearrayobject.o): relocation R_X86_64_32 against symbol_PyByteArray_empty_string' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(bytesobject.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(call.o): relocation R_X86_64_32S against symbolPyFunction_Type' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(classobject.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(exceptions.o): relocation R_X86_64_32S against symbol_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(fileobject.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(floatobject.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(frameobject.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(funcobject.o): relocation R_X86_64_32S against symbolPyCode_Type' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(iterobject.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(listobject.o): relocation R_X86_64_32 against symbol_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(longobject.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(dictobject.o): relocation R_X86_64_32S against.text.hot' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(memoryobject.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(methodobject.o): relocation R_X86_64_32 against symbol_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(moduleobject.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(object.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(obmalloc.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(capsule.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(rangeobject.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(setobject.o): relocation R_X86_64_32S against.data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(sliceobject.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(structseq.o): relocation R_X86_64_32 against.data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(tupleobject.o): relocation R_X86_64_32 against symbol
_PyEval_SliceIndexNotNone' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(typeobject.o): relocation R_X86_64_32 against.text' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(unicodeobject.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(unicodectype.o): relocation R_X86_64_32S against.rodata' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(weakrefobject.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_warnings.o): relocation R_X86_64_32 against symbol_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(bltinmodule.o): relocation R_X86_64_32S against symbol
PyFilter_Type' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(ceval.o): relocation R_X86_64_32 against symbol_PyRuntime' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(compile.o): relocation R_X86_64_32S against
.rodata' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(codecs.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(errors.o): relocation R_X86_64_32S against symbol
PyTraceBack_Type' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(future.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getargs.o): relocation R_X86_64_32S against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(import.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(importdl.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(marshal.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(modsupport.o): relocation R_X86_64_32S against
.rodata' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(peephole.o): relocation R_X86_64_32S against.rodata' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pyhash.o): relocation R_X86_64_32S against
.rodata' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pylifecycle.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pystate.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(context.o): relocation R_X86_64_32 against symbol_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(hamt.o): relocation R_X86_64_32S against symbol
_PyHamt_BitmapNode_Type' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pythonrun.o): relocation R_X86_64_32 against.data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pytime.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(bootstrap_hash.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(symtable.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(sysmodule.o): relocation R_X86_64_32 against symbol_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(thread.o): relocation R_X86_64_32 against
.text' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(traceback.o): relocation R_X86_64_32 against symbol_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pystrtod.o): relocation R_X86_64_32S against symbol
_Py_ctype_tolower' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(dtoa.o): relocation R_X86_64_32S against.bss' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(formatter_unicode.o): relocation R_X86_64_32S against symbol
_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(fileutils.o): relocation R_X86_64_32S against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(dynload_shlib.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(main.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(gcmodule.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(posixmodule.o): relocation R_X86_64_32S against symbol_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(errnomodule.o): relocation R_X86_64_32 against
.data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pwdmodule.o): relocation R_X86_64_32 against.bss' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_sre.o): relocation R_X86_64_32S against
.rodata' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_codecsmodule.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_weakref.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_functoolsmodule.o): relocation R_X86_64_32 against.data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_operator.o): relocation R_X86_64_32 against
.data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_collectionsmodule.o): relocation R_X86_64_32 against symbol_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_abc.o): relocation R_X86_64_32 against
.data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(itertoolsmodule.o): relocation R_X86_64_32S against.data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(atexitmodule.o): relocation R_X86_64_32 against
.text' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(signalmodule.o): relocation R_X86_64_32 against.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_stat.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(timemodule.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_threadmodule.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_localemodule.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_iomodule.o): relocation R_X86_64_32 against
.data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(iobase.o): relocation R_X86_64_32 against symbol_Py_FalseStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(fileio.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(bytesio.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(bufferedio.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(textio.o): relocation R_X86_64_32 against symbol_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(stringio.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(zipimport.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(faulthandler.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_tracemalloc.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(hashtable.o): relocation R_X86_64_32 against symbol
PyMem_RawFree' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(symtablemodule.o): relocation R_X86_64_32 against symbolPyUnicode_FSDecoder' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(xxsubtype.o): relocation R_X86_64_32 against
.data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getbuildinfo.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(acceler.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(grammar1.o): relocation R_X86_64_32S against symbol_PyParser_TokenNames' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(myreadline.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(parsetok.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(tokenizer.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(accu.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(bytes_methods.o): relocation R_X86_64_32S against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(cellobject.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(codeobject.o): relocation R_X86_64_32S against symbol
PyUnicode_Type' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(complexobject.o): relocation R_X86_64_32 against.data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(descrobject.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(enumobject.o): relocation R_X86_64_32 against.data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(genobject.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(odictobject.o): relocation R_X86_64_32 against.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(namespaceobject.o): relocation R_X86_64_32S against symbol
_PyNamespace_Type' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(Python-ast.o): relocation R_X86_64_32 against symbol_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(ast.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(ast_opt.o): relocation R_X86_64_32S against.rodata' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(ast_unparse.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getcopyright.o): relocation R_X86_64_32 against.rodata' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getplatform.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getversion.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(mystrtoul.o): relocation R_X86_64_32S against symbol
_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pathconfig.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(structmember.o): relocation R_X86_64_32S against
.rodata' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getopt.o): relocation R_X86_64_32S against.rodata.str4.4' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getpath.o): relocation R_X86_64_32 against
.rodata.str4.4' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(parser.o): relocation R_X86_64_32 against.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getcompiler.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status [3636/3645] Linking CXX executable bin/lldb-test ninja: build stopped: subcommand failed. How should I solve it?
Try going into tools/NyuziToolchain/tools/CMakeLists.txt and commenting out the following line (put a # in front of it):
add_llvm_external_project(lldb)
Try going into tools/NyuziToolchain/tools/CMakeLists.txt and commenting out the following line (put a # in front of it):
add_llvm_external_project(lldb)
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(abstract.o): relocation R_X86_64_32S against symbol _Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(boolobject.o): relocation R_X86_64_32S against symbol
_Py_FalseStruct' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(bytearrayobject.o): relocation R_X86_64_32 against symbol _PyByteArray_empty_string' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(bytesobject.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(call.o): relocation R_X86_64_32S against symbol PyFunction_Type' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(classobject.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(exceptions.o): relocation R_X86_64_32S against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(fileobject.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(floatobject.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(frameobject.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(funcobject.o): relocation R_X86_64_32S against symbol PyCode_Type' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(iterobject.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(listobject.o): relocation R_X86_64_32 against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(longobject.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(dictobject.o): relocation R_X86_64_32S against .text.hot' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(memoryobject.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(methodobject.o): relocation R_X86_64_32 against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(moduleobject.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(object.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(obmalloc.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(capsule.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(rangeobject.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(setobject.o): relocation R_X86_64_32S against .data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(sliceobject.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(structseq.o): relocation R_X86_64_32 against .data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(tupleobject.o): relocation R_X86_64_32 against symbol
_PyEval_SliceIndexNotNone' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(typeobject.o): relocation R_X86_64_32 against .text' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(unicodeobject.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(unicodectype.o): relocation R_X86_64_32S against .rodata' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(weakrefobject.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_warnings.o): relocation R_X86_64_32 against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(bltinmodule.o): relocation R_X86_64_32S against symbol
PyFilter_Type' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(ceval.o): relocation R_X86_64_32 against symbol _PyRuntime' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(compile.o): relocation R_X86_64_32S against
.rodata' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(codecs.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(errors.o): relocation R_X86_64_32S against symbol
PyTraceBack_Type' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(future.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getargs.o): relocation R_X86_64_32S against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(import.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(importdl.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(marshal.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(modsupport.o): relocation R_X86_64_32S against
.rodata' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(peephole.o): relocation R_X86_64_32S against .rodata' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pyhash.o): relocation R_X86_64_32S against
.rodata' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pylifecycle.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pystate.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(context.o): relocation R_X86_64_32 against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(hamt.o): relocation R_X86_64_32S against symbol
_PyHamt_BitmapNode_Type' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pythonrun.o): relocation R_X86_64_32 against .data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pytime.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(bootstrap_hash.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(symtable.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(sysmodule.o): relocation R_X86_64_32 against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(thread.o): relocation R_X86_64_32 against
.text' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(traceback.o): relocation R_X86_64_32 against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pystrtod.o): relocation R_X86_64_32S against symbol
_Py_ctype_tolower' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(dtoa.o): relocation R_X86_64_32S against .bss' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(formatter_unicode.o): relocation R_X86_64_32S against symbol
_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(fileutils.o): relocation R_X86_64_32S against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(dynload_shlib.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(main.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(gcmodule.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(posixmodule.o): relocation R_X86_64_32S against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(errnomodule.o): relocation R_X86_64_32 against
.data' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pwdmodule.o): relocation R_X86_64_32 against .bss' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_sre.o): relocation R_X86_64_32S against
.rodata' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_codecsmodule.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_weakref.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_functoolsmodule.o): relocation R_X86_64_32 against .data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_operator.o): relocation R_X86_64_32 against
.data' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_collectionsmodule.o): relocation R_X86_64_32 against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_abc.o): relocation R_X86_64_32 against
.data' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(itertoolsmodule.o): relocation R_X86_64_32S against .data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(atexitmodule.o): relocation R_X86_64_32 against
.text' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(signalmodule.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_stat.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(timemodule.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_threadmodule.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_localemodule.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_iomodule.o): relocation R_X86_64_32 against
.data' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(iobase.o): relocation R_X86_64_32 against symbol _Py_FalseStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(fileio.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(bytesio.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(bufferedio.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(textio.o): relocation R_X86_64_32 against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(stringio.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(zipimport.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(faulthandler.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(_tracemalloc.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(hashtable.o): relocation R_X86_64_32 against symbol
PyMem_RawFree' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(symtablemodule.o): relocation R_X86_64_32 against symbol PyUnicode_FSDecoder' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(xxsubtype.o): relocation R_X86_64_32 against
.data' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getbuildinfo.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(acceler.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(grammar1.o): relocation R_X86_64_32S against symbol _PyParser_TokenNames' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(myreadline.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(parsetok.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(tokenizer.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(accu.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(bytes_methods.o): relocation R_X86_64_32S against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(cellobject.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(codeobject.o): relocation R_X86_64_32S against symbol
PyUnicode_Type' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(complexobject.o): relocation R_X86_64_32 against .data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(descrobject.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(enumobject.o): relocation R_X86_64_32 against .data' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(genobject.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(odictobject.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(namespaceobject.o): relocation R_X86_64_32S against symbol
_PyNamespace_Type' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(Python-ast.o): relocation R_X86_64_32 against symbol _Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(ast.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(ast_opt.o): relocation R_X86_64_32S against .rodata' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(ast_unparse.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getcopyright.o): relocation R_X86_64_32 against .rodata' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getplatform.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getversion.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(mystrtoul.o): relocation R_X86_64_32S against symbol
_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(pathconfig.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(structmember.o): relocation R_X86_64_32S against
.rodata' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getopt.o): relocation R_X86_64_32S against .rodata.str4.4' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getpath.o): relocation R_X86_64_32 against
.rodata.str4.4' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(parser.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: /usr/local/lib/libpython3.7m.a(getcompiler.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
You might try deleting the whole build directory before re-running cmake to make sure. I have seen cases where it doesn't update when a project is removed.
There is a known issue (in the README) about the LLDB debugger not building on systems that default to python3, but usually disabling it as I suggested previously fixes that.
您可以尝试在重新运行cmake之前先删除整个构建目录,以确保确定。我已经看到了在删除项目后它不会更新的情况。
(自述文件中)有一个已知问题,关于LLDB调试器不在默认为python3的系统上构建,但通常会禁用它,因为我之前建议修复该问题。
[root@localhost build]# python Python 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
[2249/3645] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/clangStaticAnalyzerCheckers.dir/Taint.cpp.o ../tools/clang/lib/StaticAnalyzer/Checkers/Taint.cpp:26:53: warning: extra ‘;’ [-Wpedantic] TaintTagType);
Hmmm... I'm not sure on the first one, I haven't seen that before. I'll try to do some research.
On the extra symbol you mentioned, that's only a warning, there's no need to do anything.
Could you put the entire build output into a gist and post a link to it here?
gist
here is
https://gist.github.com/donttal/f3804e6896cdd5f9f817a1a0a6179834
thanks
Shoot, it's still trying to build LLDB.
One more drastic thing to try is to go into the tools/NyuziToolchain directory and 'rm -rf tools/lldb'. Then in scripts/setup_tools.sh, comment out the two lines:
git submodule init || fail "Error initializing submodules"
git submodule update || fail "Error updating submodules"
You may need to then delete the whole build directory 'rm -rf build' and start over.
射击,它仍在尝试构建LLDB。
要尝试的另一种激烈方法是进入tools / NyuziToolchain目录和'rm -rf tools / lldb'。然后在scripts / setup_tools.sh中,注释掉两行:
git submodule init || fail "Error initializing submodules" git submodule update || fail "Error updating submodules"
然后,您可能需要删除整个构建目录'rm -rf build'并重新开始。
Thanks for your solution, the ninja-build command seems to have been running successfully, the output is as follows.
https://gist.github.com/donttal/5b20824c30ac231c98a3ccc202f212cf
However, when I executed the next step sudo ninja-build install, an new error occur. ninja no work to do and no install step for ‘builtins’. This does not seem to be a general environment-dependent installation problem.
https://gist.github.com/donttal/66ccf5f2787d23774e02d7acf4881b7f
Looking forward to your reply
The 'no install step for builtins' thing is not a problem; that is informational. The thing that is breaking the build seems to be here:
CMake Error at tools/clang/tools/clang-check/cmake_install.cmake:41 (file):
file INSTALL cannot copy file
"/home/liuxing/NyuziProcessor/tools/NyuziToolchain/build/bin/clang-check"
to "/usr/local/llvm-nyuzi/bin/clang-check".
You could run 'df' again. I suspect the problem is that you are running out of space on the root partition where it is trying to copy the files to. The LLVM installation takes a fair amount of space.
[root@localhost liuxing]# ls -lh total 4.0K drwxr-xr-x. 11 root root 4.0K Nov 7 10:45 NyuziProcessor [root@localhost liuxing]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/centos-root 52403200 52360364 42836 100% / devtmpfs 32828156 0 32828156 0% /dev tmpfs 32844528 6112 32838416 1% /dev/shm tmpfs 32844528 394752 32449776 2% /run tmpfs 32844528 0 32844528 0% /sys/fs/cgroup /dev/sda2 1038336 177416 860920 18% /boot /dev/sda1 204580 11240 193340 6% /boot/efi /dev/mapper/centos-home 790223880 186055084 604168796 24% /home tmpfs 6568908 88 6568820 1% /run/user/0
“没有内置步骤的安装步骤”是没有问题的。那是信息性的。破坏构建的东西似乎在这里:
CMake Error at tools/clang/tools/clang-check/cmake_install.cmake:41 (file): file INSTALL cannot copy file "/home/liuxing/NyuziProcessor/tools/NyuziToolchain/build/bin/clang-check" to "/usr/local/llvm-nyuzi/bin/clang-check".
您可以再次运行“ df”。我怀疑问题是您试图将文件复制到的根分区上的空间不足。LLVM安装占用大量空间。
[root@localhost liuxing]# ls -lh total 4.0K drwxr-xr-x. 11 root root 4.0K Nov 7 10:45 NyuziProcessor [root@localhost liuxing]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/centos-root 52403200 52360364 42836 100% / devtmpfs 32828156 0 32828156 0% /dev tmpfs 32844528 6112 32838416 1% /dev/shm tmpfs 32844528 394752 32449776 2% /run tmpfs 32844528 0 32844528 0% /sys/fs/cgroup /dev/sda2 1038336 177416 860920 18% /boot /dev/sda1 204580 11240 193340 6% /boot/efi /dev/mapper/centos-home 790223880 186055084 604168796 24% /home tmpfs 6568908 88 6568820 1% /run/user/0
Yeah, looks like your root filesystem is full:
/dev/mapper/centos-root 52403200 52360364 42836 100% /
是的,看来您的根文件系统已满:
/dev/mapper/centos-root 52403200 52360364 42836 100% /
This sounds like there is no other way to solve my problem?
There's always a way. :)
You could try running in a Docker container if you are familiar with that. The latest toolchain is here: https://hub.docker.com/repository/docker/jeffbush001/nyuzi-build
Another alternative, which might be easier, would be to edit the top level CMakeLists.txt to point to a different location. I think it will work just pointing to the build directory:
set(NYUZI_COMPILER_ROOT
If not, you could try changing the install path in the LLVM cmakelists to install in your user directory (in tools/NyuziToolchain/CMakeLists.txt, change CMAKE_INSTALL_PREFIX), then pointing NYUZI_COMPILER_ROOT to that.
I'm closing this for now, as it appears to be a configuration problem on the host system and not specific to this project.
Error
../lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:1115:1: fatal error: error writing to /tmp/ccmwXfUA.s: No space left on device
../lib/CodeGen/AsmPrinter/AddressPool.cpp:77:1: fatal error: error writing to /tmp/cc1lUP51.s: No space left on device
../lib/CodeGen/AsmPrinter/DwarfCFIException.cpp:171:1: fatal error: error writing to /tmp/cctO5JJD.s: No space left on device
../lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp:2214:1: fatal error: error writing to /tmp/ccAgAjez.s: No space left on device
../lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp:295:1: fatal error: error writing to /tmp/ccI05tf0.s: No space left on device
../lib/CodeGen/AsmPrinter/DebugLocStream.cpp:45:1: fatal error: error writing to /tmp/ccNpBg5J.s: No space left on device
../lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp:304:1: fatal error: error writing to /tmp/ccUhA1Fy.s: No space left on device
../lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp:335:1: fatal error: error writing to /tmp/cc7OWmiy.s: No space left on device
../lib/CodeGen/AsmPrinter/AccelTable.cpp:732:1: fatal error: error writing to /tmp/cctXSmYB.s: No space left on device
../lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp:804:1: fatal error: error writing to /tmp/ccB7nmha.s: No space left on device
../lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:3889:30: fatal error: error writing to /tmp/cc5qbSnw.s: No space left on device
char SelectionDAGISel::ID = 0;
../lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:10751:1: fatal error: error writing to /tmp/ccfFxfGz.s: No space left on device
How do I need to modify it?