Closed 208yunyao closed 1 year ago
Sorry that you're having trouble. May I ask, which distribution are you compiling in? I may need to reproduce your environment.
Could you try updating opae-sdk/binaries/opae.io/setup.py with the following change?
extra_compile_args=["-std=c++11", "-fPIC"],
No traffic in two weeks.. Closing
cd /root/opae-sdk/packaging/opae/rpm/rpmbuild/BUILD/opae-2.3.0-1/binaries/opae.io && /usr/bin/cmake -E cmake_link_script CMakeFiles/opae.io.dir/link.txt --verbose=1 /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat -Wformat-security -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-all -std=c++14 -std=gnu++11 -g -O2 -Wall -Wextra -Werror -pthread -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pie CMakeFiles/opae.io.dir/main.cpp.o -o ../../bin/opae.io -Wl,-rpath,/root/opae-sdk/packaging/opae/rpm/rpmbuild/BUILD/opae-2.3.0-1/lib: -ldl -lutil /usr/lib64/libedit.so ../../lib/libopaevfio.so.2.3.0 /usr/local/lib/libpython3.10.a -lpthread ../../lib/libopaemem.so.2.3.0 /usr/bin/ld: /usr/local/lib/libpython3.10.a(abstract.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(boolobject.o): relocation R_X86_64_32S against symbol
_Py_TrueStruct' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(bytearrayobject.o): relocation R_X86_64_32S against symbolPyByteArray_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(bytesobject.o): relocation R_X86_64_32S against symbol
PyBytes_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(call.o): relocation R_X86_64_32 against.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(capsule.o): relocation R_X86_64_32S against symbol
PyCapsule_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(classobject.o): relocation R_X86_64_32 against.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(complexobject.o): relocation R_X86_64_32S against symbol
PyComplex_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(descrobject.o): relocation R_X86_64_32 against symbolPyClassMethodDescr_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(exceptions.o): relocation R_X86_64_32 against
.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(genericaliasobject.o): relocation R_X86_64_32 against symbolPy_GenericAliasType' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(genobject.o): relocation R_X86_64_32 against symbol
PyCoro_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(floatobject.o): relocation R_X86_64_32 against.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(frameobject.o): relocation R_X86_64_32 against
.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(iterobject.o): relocation R_X86_64_32 against symbolPyCallIter_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(listobject.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(longobject.o): relocation R_X86_64_32 against.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(dictobject.o): relocation R_X86_64_32 against symbol
PyDictValues_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(memoryobject.o): relocation R_X86_64_32 against.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(methodobject.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(moduleobject.o): relocation R_X86_64_32 against symbolPyModule_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(object.o): relocation R_X86_64_32 against symbol
PyBaseObject_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(obmalloc.o): relocation R_X86_64_32S against.text.hot' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(picklebufobject.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(rangeobject.o): relocation R_X86_64_32 against.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(setobject.o): relocation R_X86_64_32S against symbol
PySet_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(sliceobject.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(structseq.o): relocation R_X86_64_32 against
.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(tupleobject.o): relocation R_X86_64_32 against symbolPyTuple_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(typeobject.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(unicodeobject.o): relocation R_X86_64_32 against symbolPyUnicode_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(unicodectype.o): relocation R_X86_64_32S against
.rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(unionobject.o): relocation R_X86_64_32S against symbol_Py_NoneStruct' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(weakrefobject.o): relocation R_X86_64_32 against
.bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(_warnings.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(ceval.o): relocation R_X86_64_32 against
.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(codecs.o): relocation R_X86_64_32 against.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(compile.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(errors.o): relocation R_X86_64_32 against.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(future.o): relocation R_X86_64_32 against
.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(getargs.o): relocation R_X86_64_32 against.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(import.o): relocation R_X86_64_32S against symbol
PyModule_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(importdl.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(initconfig.o): relocation R_X86_64_32 against symbol
_PyRuntime' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(marshal.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(modsupport.o): relocation R_X86_64_32S against
.rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(pathconfig.o): relocation R_X86_64_32 against symbol_Py_path_config' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(preconfig.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(pyhash.o): relocation R_X86_64_32 against.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(pylifecycle.o): relocation R_X86_64_32 against symbol
_PyRuntime' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(pystate.o): relocation R_X86_64_32 against.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(pythonrun.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(pytime.o): relocation R_X86_64_32S against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(bootstrap_hash.o): relocation R_X86_64_32 against symbol
_Py_HashSecret' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(structmember.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(symtable.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(sysmodule.o): relocation R_X86_64_32 against.bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(thread.o): relocation R_X86_64_32 against
.bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(traceback.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(getopt.o): relocation R_X86_64_32S against
.rodata.str4.4' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(pystrtod.o): relocation R_X86_64_32 against.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(pystrhex.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(dtoa.o): relocation R_X86_64_32S against.bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(formatter_unicode.o): relocation R_X86_64_32S against symbol
_Py_ctype_table' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(fileutils.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(suggestions.o): relocation R_X86_64_32S against symbol
PyUnicode_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(dynload_shlib.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(getpath.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(gcmodule.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(posixmodule.o): relocation R_X86_64_32 against
.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(errnomodule.o): relocation R_X86_64_32 against.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(pwdmodule.o): relocation R_X86_64_32 against
.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(_sre.o): relocation R_X86_64_32 against.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(_codecsmodule.o): relocation R_X86_64_32 against
.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(_weakref.o): relocation R_X86_64_32 against.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(_functoolsmodule.o): relocation R_X86_64_32 against
.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(_operator.o): relocation R_X86_64_32 against.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(_collectionsmodule.o): relocation R_X86_64_32 against
.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(_abc.o): relocation R_X86_64_32 against.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(itertoolsmodule.o): relocation R_X86_64_32 against
.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(atexitmodule.o): relocation R_X86_64_32S against.rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(signalmodule.o): relocation R_X86_64_32 against
.bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(_stat.o): relocation R_X86_64_32 against.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(timemodule.o): relocation R_X86_64_32 against
.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(_threadmodule.o): relocation R_X86_64_32 against.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(_localemodule.o): relocation R_X86_64_32 against
.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(_iomodule.o): relocation R_X86_64_32 against hidden symbol_PyIO_Module' can not be used when making a PIE object /usr/bin/ld: /usr/local/lib/libpython3.10.a(iobase.o): relocation R_X86_64_32 against symbol
_Py_FalseStruct' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(fileio.o): relocation R_X86_64_32 against symbol_Py_NoneStruct' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(bytesio.o): relocation R_X86_64_32 against symbol
_Py_NoneStruct' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(bufferedio.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(textio.o): relocation R_X86_64_32S against symbol
_Py_NoneStruct' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(stringio.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(faulthandler.o): relocation R_X86_64_32 against
.bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(_tracemalloc.o): relocation R_X86_64_32 against.bss' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(symtablemodule.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(xxsubtype.o): relocation R_X86_64_32 against.data' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(getbuildinfo.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(peg_api.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(tokenizer.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(accu.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(bytes_methods.o): relocation R_X86_64_32S against symbol
_Py_ctype_toupper' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(cellobject.o): relocation R_X86_64_32S against symbolPyCell_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(codeobject.o): relocation R_X86_64_32S against symbol
PyCode_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(enumobject.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(fileobject.o): relocation R_X86_64_32 against symbol
PyStdPrinter_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(funcobject.o): relocation R_X86_64_32 against symbolPyStaticMethod_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(interpreteridobject.o): relocation R_X86_64_32S against symbol
_PyInterpreterID_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(odictobject.o): relocation R_X86_64_32 against.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(namespaceobject.o): relocation R_X86_64_32 against symbol
_PyNamespace_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(Python-ast.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(ast.o): relocation R_X86_64_32S against
.rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(ast_opt.o): relocation R_X86_64_32S against symbolPyFrozenSet_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(ast_unparse.o): relocation R_X86_64_32S against
.rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(bltinmodule.o): relocation R_X86_64_32 against symbolPyFilter_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(context.o): relocation R_X86_64_32 against symbol
PyContext_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(getcopyright.o): relocation R_X86_64_32 against.rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(getplatform.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(getversion.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(hamt.o): relocation R_X86_64_32 against symbol
_PyHamt_Type' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(hashtable.o): relocation R_X86_64_32 against symbolPyMem_Malloc' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(token.o): relocation R_X86_64_32S against
.rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(pegen.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(parser.o): relocation R_X86_64_32 against hidden symbol
_PyPegen_expect_token' can not be used when making a PIE object /usr/bin/ld: /usr/local/lib/libpython3.10.a(string_parser.o): relocation R_X86_64_32S against symbol_Py_ctype_table' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(myreadline.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(getcompiler.o): relocation R_X86_64_32 against.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libpython3.10.a(mystrtoul.o): relocation R_X86_64_32S against symbol
_Py_ctype_table' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status make[2]: [binaries/opae.io/CMakeFiles/opae.io.dir/build.make:104: bin/opae.io] Error 1 make[2]: Leaving directory '/root/opae-sdk/packaging/opae/rpm/rpmbuild/BUILD/opae-2.3.0-1' make[1]: [CMakeFiles/Makefile2:2626: binaries/opae.io/CMakeFiles/opae.io.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/root/opae-sdk/packaging/opae/rpm/rpmbuild/BUILD/opae-2.3.0-1' [ 95%] Generating timestamp cd /root/opae-sdk/packaging/opae/rpm/rpmbuild/BUILD/opae-2.3.0-1/binaries/fpgadiag && /usr/local/bin/python3 setup.py build_ext -I /root/opae-sdk/packaging/opae/rpm/rpmbuild/BUILD/opae-2.3.0-1/include:/include -L /root/opae-sdk/packaging/opae/rpm/rpmbuild/BUILD/opae-2.3.0-1/lib running build_ext building 'opae.diag.eth_group' extension creating build creating build/temp.linux-x86_64-cpython-310