Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gold, LTO and grub-2.00-r2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 358

PostPosted: Fri Apr 05, 2013 8:57 am    Post subject: Gold, LTO and grub-2.00-r2 Reply with quote

Hi @all

I search on the Internet since Yesterday for Informations about the actual grub2-2.00-r2 and the use of gold and lto for building it.

The only informations i found are about grub-1.99 which is outdated for me.

I haven't try it yet because it can make my system unbootable and that is something i will avoid.

So has someone experience building grub2 with this configuration ?

I use gcc-4.8.0, binutils-2.3.2 and glibc-2.17.
Back to top
View user's profile Send private message
Moonboots
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2006
Posts: 89

PostPosted: Fri Apr 05, 2013 6:45 pm    Post subject: Reply with quote

The grub2-2.00-r2 ebuild won't work with the gold linker. it builds ok with lto gcc-4.8.0, binutils-2.23.1 and glibc-2.17.
Give it a go, you will be able to recover your system with the systemrescue cd ?
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 358

PostPosted: Sat Apr 06, 2013 10:15 am    Post subject: Reply with quote

Ok i will give it a try, recovery is no Problem it runs in a Hyper-V VM so if it becomes unbootable i can use a CD-Image for rescue.
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 358

PostPosted: Sat Apr 06, 2013 4:17 pm    Post subject: Reply with quote

Ok, had to compile grub with the bfd linker but with lto.

No Problems so far, all is normal.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum