public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Terje Kvernes <terjekv@math.uio.no>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Announcing new Prelinking Guide
Date: 05 Jan 2003 08:13:48 +0100	[thread overview]
Message-ID: <wxx4r8om5lf.fsf@nommo.uio.no> (raw)
In-Reply-To: <1041747830.17746.3.camel@Chinstrap.homeunix.net>

Caleb Shay <caleb@webninja.com> 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


  reply	other threads:[~2003-01-05  7:15 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-03  1:27 [gentoo-dev] Announcing new Prelinking Guide John P. Davis
2003-01-03  8:06 ` Terje Kvernes
2003-01-03  8:25   ` Terje Kvernes
2003-01-03  9:22     ` Stefan Jones
2003-01-03 16:52       ` Terje Kvernes
2003-01-03 19:21       ` Terje Kvernes
2003-01-03 20:54         ` Terje Kvernes
2003-01-04 15:55           ` Stefan Jones
2003-01-04 21:36             ` Terje Kvernes
2003-01-04 14:45         ` Stefan Jones
2003-01-04 22:18           ` Terje Kvernes
2003-01-04 23:11             ` Bart Verwilst
2003-01-04 23:24               ` William Kenworthy
2003-01-05 16:19                 ` Paul de Vrieze
2003-01-05  0:10               ` Terje Kvernes
2003-01-03 13:57   ` John P. Davis
2003-01-03 17:23     ` Terje Kvernes
2003-01-03 18:47       ` Toby Dickenson
2003-01-03 19:05         ` Terje Kvernes
2003-01-03 16:11 ` Paul de Vrieze
2003-01-05  1:09 ` Caleb Shay
2003-01-05  3:12   ` Terje Kvernes
2003-01-05  3:52     ` Caleb Shay
2003-01-05  4:39       ` Caleb Shay
2003-01-05  5:27         ` Terje Kvernes
2003-01-05  6:23           ` Caleb Shay
2003-01-05  7:13             ` Terje Kvernes [this message]
2003-01-05  8:01               ` Caleb Shay
2003-01-05 13:20                 ` Stefan Jones
2003-01-05 14:30                   ` Werner Van Belle
2003-01-05 14:41                     ` Stefan Jones
2003-01-05 15:10                       ` Dewet Diener
2003-01-05 15:17                       ` Bart Lauwers
2003-01-05 15:29                         ` Stefan Jones
2003-01-05 14:36         ` Dewet Diener
2003-01-05  5:25       ` Terje Kvernes
2003-01-07  4:02 ` Spider
2003-01-07  7:01   ` Viktor Lakics
2003-01-08 18:49     ` Stefan Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wxx4r8om5lf.fsf@nommo.uio.no \
    --to=terjekv@math.uio.no \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox