Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 215050

Summary: sys-boot/grub-1.96 excessive stripping
Product: Gentoo Linux Reporter: Alexander Zubkov <zubkov318>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED LATER    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: grub-1.96.ebuild.patch

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