1 |
Thank. That is the thread I was remembering. |
2 |
|
3 |
Cheers, |
4 |
Mark |
5 |
|
6 |
On 11/23/11, Florian Philipp <lists@×××××××××××.net> wrote: |
7 |
> Am 23.11.2011 20:48, schrieb Mark Knecht: |
8 |
>> On Wed, Nov 23, 2011 at 11:36 AM, Paul Hartman |
9 |
>> <paul.hartman+gentoo@×××××.com> wrote: |
10 |
>>> On Tue, Nov 22, 2011 at 9:57 PM, Pandu Poluan <pandu@××××××.info> wrote: |
11 |
>>>> I'm just wondering, what are the benefits & drawbacks of turning on |
12 |
>>>> "static" USE flag for sys-boot/grub? |
13 |
>>> |
14 |
>>> I seem to remember it has something to do with whether you're using |
15 |
>>> 32bit vs 64bit, but I can't be certain. |
16 |
>> |
17 |
>> Fundamentally doesn't it build in any libraries, etc.? I don't know |
18 |
>> really. |
19 |
>> |
20 |
>> I actually use the grub-static package on my systems vs grub and |
21 |
>> messing with USE flags. I think it was Duncan on the amd64 list that |
22 |
>> recommended that years ago but I haven't a clue as to what the reason |
23 |
>> was. |
24 |
>> |
25 |
>> - Mark |
26 |
>> |
27 |
> |
28 |
> You are referring to this: |
29 |
> http://www.mail-archive.com/gentoo-amd64@l.g.o/msg12619.html |
30 |
> |
31 |
> Also be sure not to confuse sys-boot/grub with USE="static" and |
32 |
> sys-boot/grub-static. grub-static is required for AMD64 with a |
33 |
> no-multilib profile (because grub is always 32bit and you cannot build |
34 |
> grub on such a system). If you have a multilib profile, you can use |
35 |
> sys-boot/grub with USE="-static" just like me: |
36 |
> |
37 |
> ldd /sbin/grub |
38 |
> linux-gate.so.1 => (0xffffe000) |
39 |
> libncurses.so.5 => /lib32/libncurses.so.5 (0xf76bf000) |
40 |
> libc.so.6 => /lib32/libc.so.6 (0xf7535000) |
41 |
> libdl.so.2 => /lib32/libdl.so.2 (0xf7531000) |
42 |
> /lib/ld-linux.so.2 (0xf7733000) |
43 |
> |
44 |
> As with all USE="static" flags, there is no real need for a normal |
45 |
> system unless it helps to avoid a /usr/lib dependency for a /bin or |
46 |
> /sbin binary which is not the case here. It also doesn't affect the boot |
47 |
> loader, only its installer. |
48 |
> |
49 |
> Regards, |
50 |
> Florian Philipp |
51 |
> |
52 |
> |