Posts

Showing posts from May, 2010

FEATURES installsources not working on MIPS?

Update 2010-07-09: the patch received upstream attention. The maintainer said it's better to send to rpm-devel@rpm5.org directly. Update: just reported to upstream http://rpm5.org/cvs/tktview?tn=61 I resumed my quest to xulrunner linking problem on Loongson: http://old.nabble.com/R_MIPS_TLS_GD-reloc-overflow-when-linking-%3E%3Dxulrunner-1.9.1.5-td26755056.html But I found that "installsources" FEATURE is not working on Loongson. I investigated it and found that it is because debug.sources file produced by debugedit is empty. Then I found that in turn was because debug related sections in MIPS elf file is not of type SHT_PROGBITS, but SHT_MIPS_DWARF. [32] .debug_aranges MIPS_DWARF 00000000 0845c4 0002c0 00 0 0 1 [33] .debug_pubnames MIPS_DWARF 00000000 084884 001a2a 00 0 0 1 [34] .debug_info MIPS_DWARF 00000000 0862ae 015221 00 0 0 1 [35] .debug_abbrev MIPS_DWARF 00000000 09b4cf 002c9a 00 0 0 1 [36] .debug