Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] grub2 recipe for target 'unicode.pf2' failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
alogim
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2015
Posts: 127

PostPosted: Fri Aug 21, 2015 11:07 am    Post subject: [SOLVED] grub2 recipe for target 'unicode.pf2' failed Reply with quote

I am trying to install Gentoo from virtualbox. I have a 24 GB partition and used parted to manage the disk exactly as explained here: so I have /dev/sda1, /dev/sda2, /dev/sda3 and /dev/sda4 that are BIOS boot partition, Boot partition, Swap partition and Root partition respectively.
All has gone good until I arrive to the point in which I have to install grub2.
I typed
Code:
emerge --ask sys-boot/grub

and the result is the following error:
Code:
ERROR: sys-boot/grub-2.02_beta2-r7::gentoo failed (compile phase):
  emake failed

In particular, the error is located here:
Code:
/bin/sh: line 1: 12094 Illegal instruction        ./build-grub-mkfont -o unicode.pf2 ./unifont.pcf
Makefile:13392: recipe for target 'unicode.pf2' failed
Back to top
View user's profile Send private message
alogim
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2015
Posts: 127

PostPosted: Sat Aug 22, 2015 10:27 am    Post subject: Reply with quote

I solved this by reinstalling gentoo from scratch without modifying the cflags.
By the way, I have an Intel Core i5-3570k and I set them to
Code:
-march=core-avx-i -O2 -pipe

but it seems it doesn't work when emerging grub. So I had to change them to default, that is
Code:
-O2 -pipe
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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