Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
G4 MacMini: Yaboot fails to compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Numerius
n00b
n00b


Joined: 17 Mar 2015
Posts: 1

PostPosted: Tue Mar 17, 2015 11:01 pm    Post subject: G4 MacMini: Yaboot fails to compile Reply with quote

Hello,
I've been trying to install Gentoo on my G4 MacMini for the past day. Everything was going fine until I had to compile Yaboot. The compilation fails in the linking phase, complaining about undefined references to 'pwrite64', 'pread64', and '__stack_chk_fail'. In my research, I have come to believe that this problem is rather similar to one posted on this forum 3 years ago: https://forums.gentoo.org/viewtopic-p-7030856.html

Here are all the things emerge said to provide. It should have the build log, environment, and emerge --info:
http://pastebin.com/DPdPFtKz

Thank you for any help
Back to top
View user's profile Send private message
njsg
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2005
Posts: 88

PostPosted: Thu Apr 09, 2015 3:20 pm    Post subject: Reply with quote

The __stack_chk_fail part should be related to new defaults introduced with gcc-4.8: https://bugs.gentoo.org/show_bug.cgi?id=527974

Unfortunately, I still get problems even after setting -fno-stack-protector in make.conf or installing gcc-4.7 (this all inside the chrooted environment...).

pwrite64 and pread64 seem to be mentioned in another bug report: https://bugs.gentoo.org/show_bug.cgi?id=544688
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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