Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glibc (stage-1) build error for ppc405
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
_lior_
n00b
n00b


Joined: 29 Dec 2004
Posts: 13

PostPosted: Wed Dec 29, 2004 11:32 am    Post subject: glibc (stage-1) build error for ppc405 Reply with quote

hi there!

shortly explained: gentoo ppc 2004.3, stage1, portage is snapshot.
make.conf:
CFLAGS="-mcpu=405 -O2 -fsigned-char -pipe"
CHOST="powerpc-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="nptl -nls"
MAKEOPTS="-j2"

first build of glibc fails (while building math library). because the IBM embedded powerpc 405 has *no fpu*, and gentoo tries to build binutils, gcc and glibc for a processor *with* an FPU. then of course there are conflicts because of "-mcpu=405" flag. I want to configure binutils and gcc with "--nfp" and glibc with "--without-fp". is there a special USE flag to tell bootstap.sh script how to build stage1 with these special configure flags? or to tell gentoo to build a stage1 for a machine *without fpu*???

thanx in advance and sorry because of my bad english. :roll:
Lior

edit:
p.s.: i have had successful builds with CFLAGS="-mcpu=405 -O2 -fsigned-char -pipe" and configure flags "--nfp" for binutils (cvs, 2.15.94) and gcc (rel, 3.4.3) and "--without-fp" for glibc (cvs, 2.3.3)
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