Created attachment 889769 [details] build.log FAILED: giscanner/_giscanner.cpython-311-x86_64-linux-musl.so clang -o giscanner/_giscanner.cpython-311-x86_64-linux-musl.so giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -mtune=skylake -march=skylake -O2 -pipe -fcf-protection=full -fstack-clash-protection -fstack-protector-strong -ftrapv -ftrivial-auto-var-init=zero -Wl,-O2 -Wl,-z,defs -Wl,-z,now -Wl,-z,relro -Wl,--start-group giscanner/libgiscanner.a /usr/lib/libglib-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgio-2.0.so -Wl,--export-dynamic /usr/lib/libgmodule-2.0.so -Wl,--end-group -pthread ld.lld: error: undefined symbol: PyModule_Create2 >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(PyInit__giscanner) ld.lld: error: undefined symbol: PyModule_GetDict >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(PyInit__giscanner) ld.lld: error: undefined symbol: PyType_Type >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(PyInit__giscanner) ld.lld: error: undefined symbol: PyType_GenericAlloc >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(PyInit__giscanner) ld.lld: error: undefined symbol: PyType_GenericNew >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(PyInit__giscanner) ld.lld: error: undefined symbol: PyType_Ready >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(PyInit__giscanner) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(PyInit__giscanner) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(PyInit__giscanner) ld.lld: error: undefined symbol: PyDict_SetItemString >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(PyInit__giscanner) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(PyInit__giscanner) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(PyInit__giscanner) ld.lld: error: undefined symbol: _PyArg_ParseTuple_SizeT >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_init) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_append_filename) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_parse_file) >>> referenced 2 more times ld.lld: error: undefined symbol: PyList_New >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_get_errors) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_get_comments) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_get_symbols) >>> referenced 1 more times ld.lld: error: undefined symbol: PyUnicode_FromString >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_get_errors) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_get_comments) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_get_comments) >>> referenced 4 more times ld.lld: error: undefined symbol: PyList_SetItem >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_get_errors) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_get_comments) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_get_symbols) >>> referenced 1 more times ld.lld: error: undefined symbol: _Py_NoneStruct >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_get_comments) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_get_symbols) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_append_filename) >>> referenced 14 more times ld.lld: error: undefined symbol: _Py_BuildValue_SizeT >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_get_comments) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(type_get_child_list) ld.lld: error: undefined symbol: _Py_Dealloc >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_get_comments) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_get_comments) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_parse_macros) ld.lld: error: undefined symbol: _PyObject_New >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_get_symbols) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(symbol_get_base_type) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(type_get_base_type) >>> referenced 1 more times ld.lld: error: undefined symbol: PyExc_RuntimeError >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_parse_macros) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_parse_macros) ld.lld: error: undefined symbol: PyErr_SetString >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_parse_macros) ld.lld: error: undefined symbol: PyList_Size >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_parse_macros) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_parse_macros) ld.lld: error: undefined symbol: PyList_GetItem >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_parse_macros) ld.lld: error: undefined symbol: PyBytes_AsString >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_parse_macros) >>> referenced by giscannermodule.c >>> giscanner/_giscanner.cpython-311-x86_64-linux-musl.so.p/giscannermodule.c.o:(pygi_source_scanner_parse_macros) ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) clang: error: linker command failed with exit code 1 (use -v to see invocation)
Created attachment 889770 [details] emerge-info.txt adding emerge info
Created attachment 889785 [details] build.log correct build log
it seems as though the issue was that since I compiled dev-libs/glib with -ftrapv it causes a "trap" when compiling dev-libs/gobject-introspection. g-ir-compiler[5133] trap invalid opcode ip:7f69ed9fb890 sp:7fff18156e60 error:0 in libglib-2.0.so.0.7800.4[7f69ed997000+a2000] however, it compiles when glib isn't compiled with that. I will have to debug it further to identify whats the cause of the trap