Caleb Shay writes: > On Sun, 2003-01-05 at 00:27, Terje Kvernes wrote: > > > run "strace -f prelink -famv". and please tell me that mmap or > > one of his brothers isn't the last thing there. > > Well, not quite the last thing... > > munmap(0x40654000, 274432) = 0 > munmap(0x406c5000, 188416) = 0 > close(4) = 0 > munmap(0x40697000, 188416) = 0 > brk(0x8cf1000) = 0x8cf1000 > munmap(0x40611000, 274432) = 0 > brk(0x8cc7000) = 0x8cc7000 > munmap(0x405a9000, 212992) = 0 > munmap(0x40167000, 2232320) = 0 > munmap(0x400f3000, 237568) = 0 > brk(0x8ca2000) = 0x8ca2000 > brk(0x8c72000) = 0x8c72000 > munmap(0x40027000, 417792) = 0 > close(3) = 0 > time(NULL) = 1041747716 > utime("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libstdc++.so.5.0.2.#prelink#.UofgUB", [2003/01/05-01:21:56, 2003/01/04-23:28:30]) = 0 > rename("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libstdc++.so.5.0.2.#prelink#.UofgUB", "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libstdc++.so.5.0.2") = 0 > stat64("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libstdc++.so.5.0.2", > {st_mode=S_IFREG|0755, st_size=4233762, ...}) = 0 > --- SIGSEGV (Segmentation fault) --- > +++ killed by SIGSEGV +++ this is weird. okay, so prelink correctly renames the prelink mktemp'ed file to the original. then it does a stat, which returns properly, _then_ it segfaults. I peeked a quick peek at the source code, but I'm too tired to dig up anything overly useful from C. it does however look very buggy. :-/ but it does work fine if you do prelink -v /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libstdc++.so.5.0.2 right? -- Terje -- gentoo-dev@gentoo.org mailing list