Pandu Poluan wrote:
On Nov 24, 2011 5:13 AM, "Florian Philipp" <[email protected]
<mailto:[email protected]>> wrote:
>
> Am 23.11.2011 20:48, schrieb Mark Knecht:
> > On Wed, Nov 23, 2011 at 11:36 AM, Paul Hartman
> > <[email protected]
<mailto:paul.hartman%[email protected]>> wrote:
> >> On Tue, Nov 22, 2011 at 9:57 PM, Pandu Poluan <[email protected]
<mailto:[email protected]>> wrote:
> >>> I'm just wondering, what are the benefits & drawbacks of turning on
> >>> "static" USE flag for sys-boot/grub?
> >>
> >> I seem to remember it has something to do with whether you're using
> >> 32bit vs 64bit, but I can't be certain.
> >
> > Fundamentally doesn't it build in any libraries, etc.? I don't
know really.
> >
> > I actually use the grub-static package on my systems vs grub and
> > messing with USE flags. I think it was Duncan on the amd64 list that
> > recommended that years ago but I haven't a clue as to what the reason
> > was.
> >
> > - Mark
> >
>
> You are referring to this:
> http://www.mail-archive.com/[email protected]/msg12619.html
>
> Also be sure not to confuse sys-boot/grub with USE="static" and
> sys-boot/grub-static. grub-static is required for AMD64 with a
> no-multilib profile (because grub is always 32bit and you cannot build
> grub on such a system). If you have a multilib profile, you can use
> sys-boot/grub with USE="-static" just like me:
>
> ldd /sbin/grub
> linux-gate.so.1 => (0xffffe000)
> libncurses.so.5 => /lib32/libncurses.so.5 (0xf76bf000)
> libc.so.6 => /lib32/libc.so.6 (0xf7535000)
> libdl.so.2 => /lib32/libdl.so.2 (0xf7531000)
> /lib/ld-linux.so.2 (0xf7733000)
>
> As with all USE="static" flags, there is no real need for a normal
> system unless it helps to avoid a /usr/lib dependency for a /bin or
> /sbin binary which is not the case here. It also doesn't affect the boot
> loader, only its installer.
>
Thanks, Florian!
How I wish there's a wiki-style guide explaining USE flags, subtle
differences between packages with similar name, etc.
...
Hmm... I think I'm going to start such a wiki. Unless someone have
started it first.
Let's see if I can coax my hosting to increase my hosting space
without additional fees...
Rgds,
There are already two Gentoo wikis. One official one and one unofficial
I guess you would call it. Why not put the info on one or both of these?
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or how
you interpreted my words!