Summary: | sys-devel/prelink-20060213 aborts after laying out libraries | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robin Johnson <robbat2> |
Component: | [OLD] Core system | Assignee: | Stefan Jones (RETIRED) <cretin> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | pacho |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 134780 | ||
Attachments: | log of prelink -avn run |
Description
Robin Johnson
2006-06-12 13:52:56 UTC
Created attachment 88998 [details]
log of prelink -avn run
Hi, Not much information to go on here. Sould you get a strace log of the run and also if you can a backtrace from gdb for the run please. ( I assume you know how to do that and they work on PPC64 ) Thanks # CFLAGS="-O1 -mtune=970 -mcpu=970 -mabi=altivec -maltivec -pipe -ggdb" FEATURES='keepwork splitdebug nostrip' emerge prelink # prelink -anv ... Aborted (core dumped) # gdb_get_backtrace `which prelink` core Using host libthread_db library "/lib/libthread_db.so.1". Failed to read a valid object file image from memory. Core was generated by `prelink -anv'. Program terminated with signal 6, Aborted. #0 0x100a6974 in raise () The directory where separate debug symbols are searched for is "/usr/lib/debug". Thread 1 (process 12137): #0 0x100a6974 in raise () No symbol table info available. #1 0x1005001c in abort () No symbol table info available. #2 0x1000f22c in layout_libs () at layout.c:634 x = 18415513957772134299 fd = <value optimized out> k = <value optimized out> mmap_base = <value optimized out> size = <value optimized out> fake = (struct prelink_entry *) 0x1168a450 fakecnt = 3 done = 1 mmap_fin = 428081152 list = (struct prelink_entry *) 0x1168a450 m = <value optimized out> mmap_start = <value optimized out> mmap_end = <value optimized out> layout_libs_pre = (int (*)(struct layout_libs *)) 0x1002cb30 <ppc_layout_libs_pre> plarch = (struct PLArch *) 0x10118e80 i = <value optimized out> max_page_size = 65536 fakeent = {filename = 0x41e8 <Address 0x41e8 out of bounds>, canon_filename = 0x1011d3a8 "\020\021 # CFLAGS="-O1 -mtune=970 -mcpu=970 -mabi=altivec -maltivec -pipe -ggdb" FEATURES='keepwork splitdebug nostrip' emerge prelink # prelink -anv ... Aborted (core dumped) # gdb_get_backtrace `which prelink` core Using host libthread_db library "/lib/libthread_db.so.1". Failed to read a valid object file image from memory. Core was generated by `prelink -anv'. Program terminated with signal 6, Aborted. #0 0x100a6974 in raise () The directory where separate debug symbols are searched for is "/usr/lib/debug". Thread 1 (process 12137): #0 0x100a6974 in raise () No symbol table info available. #1 0x1005001c in abort () No symbol table info available. #2 0x1000f22c in layout_libs () at layout.c:634 x = 18415513957772134299 fd = <value optimized out> k = <value optimized out> mmap_base = <value optimized out> size = <value optimized out> fake = (struct prelink_entry *) 0x1168a450 fakecnt = 3 done = 1 mmap_fin = 428081152 list = (struct prelink_entry *) 0x1168a450 m = <value optimized out> mmap_start = <value optimized out> mmap_end = <value optimized out> layout_libs_pre = (int (*)(struct layout_libs *)) 0x1002cb30 <ppc_layout_libs_pre> plarch = (struct PLArch *) 0x10118e80 i = <value optimized out> max_page_size = 65536 fakeent = {filename = 0x41e8 <Address 0x41e8 out of bounds>, canon_filename = 0x1011d3a8 "\020\021¨\020\021fÌp", soname = 0x100e0000 "N\200", hardlink = 0x0, timestamp = 269361280, checksum = 269352960, base = 0, end = 0, layend = 0, pltgot = 1157939297988486640, dev = 18415514095458962476, ino = 1156897889616659490, type = 0, done = 269361280, ndepends = 269598720, refs = 269603752, flags = -7271248, u = {explicit = 268888024, tmp = 268888024}, ctime = 269604120, mtime = 269592048, depends = 0xff910cb0, prev = 0x1007cc2c, next = 0x1011d3a8, opd = 0x0} j = <value optimized out> class = 1 base = <value optimized out> e = <value optimized out> deps = (struct prelink_entry **) 0xff9051b0 layout_libs_post = (int (*)(struct layout_libs *)) 0x1002a994 <ppc_layout_libs_post> l = {libs = 0xff90b4b0, binlibs = 0xff905d80, list = 0x1168a450, fake = 0x1168a450, mmap_base = 262144, mmap_start = 262144, mmap_fin = 428081152, mmap_end = 428081152, arch_data = 0x1168a448, flags = 20, nlibs = 741, nbinlibs = 4263, fakecnt = 3} arch = 0 arches = (int *) 0xff905d60 narches = 1 plibs = (struct prelink_entry **) 0xff90b4b0 pbinlibs = (struct prelink_entry **) 0xff905d80 #3 0x1000fd54 in main (argc=2, argv=0xff9111a4) at main.c:433 remaining = 2 failures = <value optimized out> prelink appears extremely slow when under strace, so I'll post that output later. Have you tried to merge the latest zziplib? cretin: problem no longer occurs with 20060712 snapshot, closing as an upstream bug. pacho: changing zziplib had no effect. |