From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NOUJG-00025b-8P for garchives@archives.gentoo.org; Sat, 26 Dec 2009 10:55:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C51FE07B1; Sat, 26 Dec 2009 10:54:46 +0000 (UTC) Received: from mail-iw0-f201.google.com (mail-iw0-f201.google.com [209.85.223.201]) by pigeon.gentoo.org (Postfix) with ESMTP id DE4ECE07B1 for ; Sat, 26 Dec 2009 10:54:45 +0000 (UTC) Received: by iwn39 with SMTP id 39so5841242iwn.32 for ; Sat, 26 Dec 2009 02:54:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=W4ixFCuKph8+tlxBueIhGOZ3RJnRaZ/vQlUef8Q+Vzk=; b=DTmu0SGGu+Gah3tHwWGer8Xf1aIxGq2y//Cfg7WcPUb5Lw1+geP/lLUmNTQv7T/J0d WuMXj9ZpVowZYF9kDAiYJc70HbGd011Zc82ekYgQMsh5t1OVu8rDevliUJWl7J/LM2cA QOgv/a+2B7HdV4SKKkPPzRp6jeR1wjY0OSK1c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=xwH3gmdq1cfVt5+Q4h5zTyoy5jbVNu/QbrlUr8A+Q/wlrOe6Wt5gGUR8qtJPcgUjWP Bndxg9OmAqgy91ILeZMgdQH6Yha70BPArsHoUAns1uYFoZ0wyE4+D1ZkFOUInU/6u3qI s9qNseBMM0CLfmqUIzFgDHBDTDfSepAz8pL40= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Received: by 10.231.143.12 with SMTP id s12mr2680967ibu.38.1261824885518; Sat, 26 Dec 2009 02:54:45 -0800 (PST) In-Reply-To: References: <53e35fd50912252031q53a5bc77y7f7d8cb79af0df61@mail.gmail.com> Date: Sat, 26 Dec 2009 18:54:45 +0800 Message-ID: <53e35fd50912260254i7f6a72f7n92fd179efb32920f@mail.gmail.com> Subject: Re: [gentoo-amd64] Re: [gentoo-user] chromium failed to start up From: Xi Shen To: gentoo-amd64@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 3bc1e7a4-fa19-4c9e-86e4-726a58ea7f98 X-Archives-Hash: 771f0c8deedd189d4af435e0549b6cd5 On Sat, Dec 26, 2009 at 12:55 PM, Duncan <1i5t5.duncan@cox.net> wrote: > Xi Shen posted on Sat, 26 Dec 2009 12:31:24 +0800 as excerpted: > >> my system is gentoo amd64, kde 4.3, and have recently updated. last time >> i emerged chromium and it works fine. but after updated the world, my >> chromium cannot start up. it reports segment fault. > > Did you do a revdep-rebuild after the last update? =C2=A0Chances are, one= of > chromium's dependencies was updated, changing its abi, and chromium (and > perhaps other packages) that depend on it need rebuilt to match the new > abi. > > It's revdep-rebuild that takes care of this, but if you don't run it > routinely, you'll likely have a BUNCH of stuff to rebuild. =C2=A0FWIW, > lafilefixer (with the --justfixit option) can reduce that bunch of stuff > by fixing *.la files that point to other *.la files, to point to the > libraries directly instead. > > Also, you may wish to read up on LDFLAGS=3D"-Wl,--as-needed" and consider > using it too, as it helps kill indirect dependencies. (Say application X > uses library Y, which depends on library Z, but application X doesn't use > any of library Z's functionality directly, so it shouldn't need to > directly depend on it, and shouldn't need to be rebuilt when only library > Z changes. =C2=A0Only library Y would need rebuilt. =C2=A0The as-needed L= DFLAGS > help this happen, thus reducing substantially the number of rebuilds > needed, but at a cost of occasionally causing a legit depend to be > missed. =C2=A0But flameeyes has been working on this as one of his projec= ts, > so it doesn't happen very often with at least mainline packages any more, > tho it might in obscure corner cases, the reason it's not yet the > default. =C2=A0So... consider it carefully as there's a major upside and > generally only obscure case downside, but do be aware of the issues if > you decide to use it.) > > Of course, the LDFLAGS as-needed won't help much until you've recompiled > a good part of your system at least once with it in place. =C2=A0But the > lafilefixer thing is just about perfect -- very little downside, it > doesn't take long to run compared to even a couple package rebuilds, and > it can be put to use immediately after you merge it! =3D:^) > > Together, these reduce the number of revdep-rebuilds SUBSTANTIALLY, and I > run it after every update session. =C2=A0(Actually, my revdep-rebuild inv= oking > script automatically runs lafilefixer --justfixit before it runs revdep- > rebuild, just to be sure, so I only invoke that script after the update > and it takes care of both.) > > -- > Duncan - List replies preferred. =C2=A0 No HTML msgs. > "Every nonfree program has a lord, a master -- > and if you use the program, he is your master." =C2=A0Richard Stallman > > > yes, i have run the revdep-rebuild immediately after update the world. i think you are correct. since chromium is not a main stream package, indirect library dependence may cause this kind of problem. thanks a lot. --=20 Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/