Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215050 - sys-boot/grub-1.96 excessive stripping
Summary: sys-boot/grub-1.96 excessive stripping
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-27 13:25 UTC by Alexander Zubkov
Modified: 2008-05-04 13:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
grub-1.96.ebuild.patch (grub-1.96.ebuild.patch,359 bytes, patch)
2008-03-28 09:47 UTC, Alexander Zubkov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Zubkov 2008-03-27 13:25:44 UTC
I've tried to use grub2 on my computer and I found a problem in ebuild. When installing, it strips symbols from modules. But grub2 uses static symbols in modules for loading operations. And with stripped modules they can not initialize and so grub2 is not working on gentoo. Please, rework this stripping stuff in ebuild.
Comment 1 SpanKY gentoo-dev 2008-03-27 18:14:28 UTC
grub2 ebuilds are in the tree for convenience and nothing more.  if you have a problem with something, feel free to post a patch and we'll merge it (assuming it's correct of course).
Comment 2 Alexander Zubkov 2008-03-28 09:47:55 UTC
Created attachment 147519 [details, diff]
grub-1.96.ebuild.patch

I'not saying it should work perfectly. But someday users will begin switching to it and it will be better if it will be polished by that time.
Here is my "patch". Not sure that it is good idea to remove stripping completly. And second - there was problem compiling it on amd64 resulting in lzo library not found. Removing "multilib_toolchain_setup x86" resulten in success.
Comment 3 jack.q.word 2008-05-04 13:26:08 UTC
(In reply to comment #2)
> And second - there was problem compiling it on amd64 resulting in lzo library not found.

Requires <=dev-libs/lzo-2.0

multilib anything is not the issue
Comment 4 jack.q.word 2008-05-04 13:27:38 UTC
(In reply to comment #3)
> (In reply to comment #2)
> Requires <=dev-libs/lzo-2.0

wrong - nevermind