[devel] новый gdb сломал сборку fpc на x86_64

Slava Dubrovskiy slava на tangramltd.com
Вс Апр 4 15:59:25 UTC 2010


Здравствуйте.

Помогите разобраться и починить сборку fpc на x86_64. Данная проблема
возникла после попадания в сизиф gdb-7.0.1-alt1, т.к. с 6.6-alt3 все
собирается.

Можно конечно отключить отладчик в x86_64, но это шаг назад и не хочется
его делать.


> Package: fpc-2.4.0-alt1
> Status: Sisyphus/x86_64 test rebuild failed
> Cannot build this package for 2 week(s).
> Please investigate.
> Excerpt from build log:
>
> py-value.c:(.text+0x1380): undefined reference to `PyExc_RuntimeError'
> py-value.c:(.text+0x138a): undefined reference to `PyErr_SetString'
> /usr/lib64/libgdb.a(py-value.o): In function `valpy_getitem':
> py-value.c:(.text+0x14e1): undefined reference to `PyExc_KeyboardInterrupt'
> py-value.c:(.text+0x14ec): undefined reference to `PyExc_RuntimeError'
> py-value.c:(.text+0x14f3): undefined reference to `PyErr_Format'
> /usr/lib64/libgdb.a(py-value.o): In function `valpy_binop':
> py-value.c:(.text+0x1920): undefined reference to `PyExc_KeyboardInterrupt'
> py-value.c:(.text+0x192b): undefined reference to `PyExc_RuntimeError'
> py-value.c:(.text+0x1932): undefined reference to `PyErr_Format'
> /usr/lib64/libgdb.a(py-value.o): In function `valpy_power':
> py-value.c:(.text+0x19a7): undefined reference to `_Py_NoneStruct'
> py-value.c:(.text+0x19cb): undefined reference to `PyExc_NotImplementedError'
> py-value.c:(.text+0x19d5): undefined reference to `PyErr_SetString'
> /usr/lib64/libgdb.a(py-value.o): In function `valpy_invert':
> py-value.c:(.text+0x1ab1): undefined reference to `PyExc_KeyboardInterrupt'
> py-value.c:(.text+0x1abc): undefined reference to `PyExc_RuntimeError'
> py-value.c:(.text+0x1ac3): undefined reference to `PyErr_Format'
> /usr/lib64/libgdb.a(py-value.o): In function `valpy_negative':
> py-value.c:(.text+0x1b61): undefined reference to `PyExc_KeyboardInterrupt'
> py-value.c:(.text+0x1b6c): undefined reference to `PyExc_RuntimeError'
> py-value.c:(.text+0x1b73): undefined reference to `PyErr_Format'
> /usr/lib64/libgdb.a(py-value.o): In function `gdbpy_history':
> py-value.c:(.text+0x1c05): undefined reference to `PyArg_ParseTuple'
> py-value.c:(.text+0x1c98): undefined reference to `PyExc_KeyboardInterrupt'
> py-value.c:(.text+0x1ca3): undefined reference to `PyExc_RuntimeError'
> py-value.c:(.text+0x1caa): undefined reference to `PyErr_Format'
> /usr/lib64/libgdb.a(dfp.o): In function `set_decnumber_context':
> dfp.c:(.text+0x164): undefined reference to `decContextDefault'
> dfp.c:(.text+0x17e): undefined reference to `decContextDefault'
> dfp.c:(.text+0x196): undefined reference to `decContextDefault'
> /usr/lib64/libgdb.a(dfp.o): In function `decimal_from_number':
> dfp.c:(.text+0x21a): undefined reference to `decimal32FromNumber'
> dfp.c:(.text+0x22a): undefined reference to `decimal128FromNumber'
> dfp.c:(.text+0x23a): undefined reference to `decimal64FromNumber'
> /usr/lib64/libgdb.a(dfp.o): In function `decimal_check_errors':
> dfp.c:(.text+0x391): undefined reference to `decContextStatusToString'
> /usr/lib64/libgdb.a(dfp.o): In function `decimal_compare':
> dfp.c:(.text+0x4ab): undefined reference to `decNumberCompare'
> /usr/lib64/libgdb.a(dfp.o): In function `decimal_binop':
> dfp.c:(.text+0x7d2): undefined reference to `decNumberPower'
> dfp.c:(.text+0x862): undefined reference to `decNumberAdd'
> dfp.c:(.text+0x882): undefined reference to `decNumberSubtract'
> dfp.c:(.text+0x8a2): undefined reference to `decNumberMultiply'
> dfp.c:(.text+0x8c2): undefined reference to `decNumberDivide'
> /usr/lib64/libgdb.a(dfp.o): In function `decimal_from_integral':
> dfp.c:(.text+0x96d): undefined reference to `decNumberFromUInt32'
> dfp.c:(.text+0xa16): undefined reference to `decNumberFromInt32'
> /usr/lib64/libgdb.a(dfp.o): In function `decimal_from_string':
> dfp.c:(.text+0xacf): undefined reference to `decimal32FromString'
> dfp.c:(.text+0xb9f): undefined reference to `decimal128FromString'
> dfp.c:(.text+0xbbf): undefined reference to `decimal64FromString'
> /usr/lib64/libgdb.a(dfp.o): In function `decimal_to_string':
> dfp.c:(.text+0xcf3): undefined reference to `decimal64ToString'
> dfp.c:(.text+0xd07): undefined reference to `decimal32ToString'
> dfp.c:(.text+0xd27): undefined reference to `decimal128ToString'
> /usr/lib64/libgdb.a(dfp.o): In function `decimal_to_number':
> dfp.c:(.text+0x38): undefined reference to `decimal32ToNumber'
> dfp.c:(.text+0x48): undefined reference to `decimal128ToNumber'
> dfp.c:(.text+0x58): undefined reference to `decimal64ToNumber'
> /usr/lib64/libgdb.a(dwarf2read.o): In function `dwarf2_read_section_1':
> dwarf2read.c:(.text+0x23b2): undefined reference to `inflateInit_'
> dwarf2read.c:(.text+0x23ed): undefined reference to `inflate'
> dwarf2read.c:(.text+0x2401): undefined reference to `inflateReset'
> dwarf2read.c:(.text+0x2414): undefined reference to `inflateEnd'
> /usr/lib64/libgdb.a(xml-support.o): In function `gdb_xml_use_dtd':
> xml-support.c:(.text+0x871): undefined reference to `XML_SetParamEntityParsing'
> xml-support.c:(.text+0x87e): undefined reference to `XML_SetExternalEntityRefHandler'
> xml-support.c:(.text+0x88b): undefined reference to `XML_UseForeignDTD'
> xml-support.c:(.text+0x898): undefined reference to `XML_ErrorString'
> /usr/lib64/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity':
> xml-support.c:(.text+0x905): undefined reference to `XML_ExternalEntityParserCreate'
> xml-support.c:(.text+0x914): undefined reference to `XML_SetElementHandler'
> xml-support.c:(.text+0x920): undefined reference to `XML_SetDoctypeDeclHandler'
> xml-support.c:(.text+0x92a): undefined reference to `XML_SetXmlDeclHandler'
> xml-support.c:(.text+0x934): undefined reference to `XML_SetDefaultHandler'
> xml-support.c:(.text+0x93e): undefined reference to `XML_SetUserData'
> xml-support.c:(.text+0x958): undefined reference to `XML_Parse'
> xml-support.c:(.text+0x962): undefined reference to `XML_ParserFree'
> /usr/lib64/libgdb.a(xml-support.o): In function `gdb_xml_cleanup':
> xml-support.c:(.text+0x9cb): undefined reference to `XML_ParserFree'
> /usr/lib64/libgdb.a(xml-support.o): In function `gdb_xml_error':
> xml-support.c:(.text+0xaa4): undefined reference to `XML_GetCurrentLineNumber'
> /usr/lib64/libgdb.a(xml-support.o): In function `gdb_xml_debug':
> xml-support.c:(.text+0xd06): undefined reference to `XML_GetCurrentLineNumber'
> /usr/lib64/libgdb.a(xml-support.o): In function `gdb_xml_parse':
> xml-support.c:(.text+0xe01): undefined reference to `XML_Parse'
> xml-support.c:(.text+0xefc): undefined reference to `XML_GetErrorCode'
> xml-support.c:(.text+0xf03): undefined reference to `XML_ErrorString'
> /usr/lib64/libgdb.a(xml-support.o): In function `gdb_xml_create_parser_and_cleanup':
> xml-support.c:(.text+0xf86): undefined reference to `XML_ParserCreateNS'
> xml-support.c:(.text+0xfa5): undefined reference to `XML_SetUserData'
> xml-support.c:(.text+0xfb7): undefined reference to `XML_SetElementHandler'
> xml-support.c:(.text+0xfc4): undefined reference to `XML_SetCharacterDataHandler'
> /usr/lib64/libgdb.a(xml-support.o): In function `xml_process_xincludes':
> xml-support.c:(.text+0x1162): undefined reference to `XML_SetCharacterDataHandler'
> xml-support.c:(.text+0x116f): undefined reference to `XML_SetDefaultHandler'
> xml-support.c:(.text+0x117c): undefined reference to `XML_SetXmlDeclHandler'
> xml-support.c:(.text+0x1192): undefined reference to `XML_SetDoctypeDeclHandler'
> /usr/lib64/libgdb.a(xml-support.o): In function `gdb_xml_end_element_wrapper':
> xml-support.c:(.text+0x16f5): undefined reference to `XML_StopParser'
> xml-support.c:(.text+0x1754): undefined reference to `XML_DefaultCurrent'
> /usr/lib64/libgdb.a(xml-support.o): In function `gdb_xml_start_element_wrapper':
> xml-support.c:(.text+0x1cfb): undefined reference to `XML_StopParser'
> xml-support.c:(.text+0x1d2c): undefined reference to `XML_DefaultCurrent'
> /usr/lib64/libbfd.a(compress.o): In function `bfd_uncompress_section_contents':
> compress.c:(.text+0x124): undefined reference to `inflateInit_'
> compress.c:(.text+0x154): undefined reference to `inflate'
> compress.c:(.text+0x161): undefined reference to `inflateReset'
> compress.c:(.text+0x184): undefined reference to `inflateEnd'
> fp.pas(575,1) Error: Error while linking
> fp.pas(575,1) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> make[2]: *** [fp] Error 1
> make[2]: Leaving directory `/usr/src/RPM/BUILD/fpcbuild-2.4.0/fpcsrc/ide'
> make[1]: *** [buildfp] Error 2
> make[1]: Leaving directory `/usr/src/RPM/BUILD/fpcbuild-2.4.0/fpcsrc/ide'
> make: *** [gdb] Error 2
> make: Leaving directory `/usr/src/RPM/BUILD/fpcbuild-2.4.0/fpcsrc/ide'
> error: Bad exit status from /usr/src/tmp/rpm-tmp.10731 (%build)
>
> RPM build errors:
>     Bad exit status from /usr/src/tmp/rpm-tmp.10731 (%build)
> Command exited with non-zero status 1
> 304.63user 70.88system 6:21.24elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+11141229minor)pagefaults 0swaps
> hsh-rebuild: rebuild of `fpc-2.4.0-alt1.src.rpm' failed.
> Command exited with non-zero status 1
>
>   


-- 
WBR,
Dubrovskiy Vyacheslav



Подробная информация о списке рассылки Devel