Hi,
I am going through a T2 cross build for Mips64 (octeon processor) on a 32-bit ubuntu 11.10
(Oneric) build host. The last time that I tried the mips64 build was 2011, and it needs a
lot of updating.
I will be reporting my progress as I go, and sending patches as they are
discovered.
The first thing that I ran into was that glibc stage 0 would not build. it may be
something specific to my build host, or to the mips target selection. First, I was getting
configure errors where the test for hard or soft float was failing. I had soft float set
in my T2 config file, so I modified configure to default to soft float, if it could not
determine the test, just to get through the configure stage. (looking back on this, since
it's stage 0, soft float does not matter, since it's going to build for x86, not mips).
This allowed me to get to the build stage, but during the compile I was getting errors
that __WORDSIZE was not set. this was down in the mips specific directories. In looking
at the .h files that set this, there is an attempt to set __WODSIZE to MIPS_SZPTR. and my
native gcc on the ubuntu machine has no definition for MIPS_SZPTR.
For a stage 0 build, I am puzzled why it is going into the MIPS specific code, I thought
that it should be a straight x86 build at this point. After wasting most of the day on
this and not really getting anywhere, I decided to roll back glibc from 1.17 to the
previous 2.13. That version built OK, with some very minor tweaks. I would like to get to
the bottom of why 2.17 will not build, but for now I will stick with 2.13, an d continue.
I am currently working on the stage 1 perl build, which is broken.
Jan
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2