Hello again,
I now also applied the mpfr assembly constraint hotfix, renamed it, tweaked
some comment termination and whitespace:
Committed revision 37693.
René
On Sep 8, 2010, at 7:01 AM, Jan Rovins wrote:
> Re sending to the list, did not seem to make t through the first time.
>
> -----Original Message-----
> From: Jan Rovins [mailto:[email protected]]
> Sent: Tuesday, September 07, 2010 6:53 PM
> To: Oliver Kowalke
> Cc: [email protected]
> Subject: Mips64 Patches against T2 (8.0) Revision 36064
>
> Per Oliver's request,
>
> This is for those that need to get something working immediately on Mips64
> with T2, Hopefully I will be able to get a final version merged in time for
> 8.1, if my schedule allows.
>
> The patch will not work against the current trunk, I am sharing it as an
> example of what needs to be done to get a Mips64 build working, It is not
> intended to be merged into the T2 code-base in it's current form. This is
> to be used as an example for anyone who wants to move the Mips64 port
> forward, and submit actual patches against the current svn code-base. I
> will be re-submitting pieces of thiis patch for inclusion, one by one, as
> the pieces are tested & known to be sane & solid. If you can't wait for me
> to do this, then by all means jump in and help, it's been very lonely here
> in Mips land, and we need to catch up to the rest of the T2 architectures.
>
> The Mips64 Patches are against T2 Revision 36064 (was trunk, now 8.0)
> Need to fetch T2 at revision 36064 (before the move to GCC 4.5) for this to
> work.
>
> These should give a working user space on Mips64 for either n64 or n32 abi's
> but muiltilib is not yet working.
> The kernel will have to be built later as an overlay, My kernel was highly
> specific to the Octeon processor, so I was not able to do any fixes on the
> basic Mips64 T2 kernel, what is in the kernel config now will need a lot of
> work before it is usable.
>
> When doing the configuration when selecting the processor type, you will
> also have to chose the library abi type, choose one of the first 2 options,
> the others will not work.
>
> pure64 (T2 user space built with --mabi=64) This one may also be broken in
> this patch, but is fixable
>
> n32over64 (T2 user space built with --mabi-n32 : 32 bit user space to run on
> top of a 64 bit kernel) This one has has the most testing.
>
> The Generic Minimal target was used for building, some things that would not
> build on Mips64 were removed from the target, because they were not needed
> for my project. they will have to be re-enabled, and debugged if you need
> those packages. the ones most likely
> to be missed are udev & perl, and a vanilla 2.6 kernel.
>
> check the generic-minimal pkgsel files to see what else had to be removed.
> There were also some package additions that were not in normally in
> generic-minimal that have been added at the end of the pkgsel file.
>
> One big patch-file attached.
>
> Jan
>
> On 9/2/2010 4:10 PM, Oliver Kowalke wrote:
>> Am 02.09.2010 22:03, schrieb Jan Rovins:
>>>
>>>
>>>> -----Original Message-----
>>>> From: Oliver Kowalke [mailto:[email protected]]
>>>> Sent: Thursday, September 02, 2010 2:59 AM
>>>> To: Jan Rovins; [email protected]
>>>> Subject: Re: RE: [t2] MIPS64 not working
>>>>
>>>> Hello Jan,
>>>>
>>>>> I have been able to get a usable user space built for Mips64 using T2
>>>> 8.0
>>>>
>>>> that are good news
>>>>
>>>>> The next thing you will run into is some "internal compiler errors"
> with
>>>>> the latest GCC It failed for me on 4.5.0, but may have been fixed in
>>>>> 4.5.1, if not you will have to Roll GCC back to version 4.4.3
>>>>
>>>> I'll go with 4.4.3
>>>>
>>>>> I was able to get either a pure 64 abi build, or an n32
>>>>> abi build, but not both in the same project.
>>>>
>>>> do you mean n64 or o64?
>>>
>>>
>>> mabi=64 which would be n64.
>>>
>>> The n64 built OK, but I did not test it as extensively as the n32 build.
>>>
>>> I built it to run on the Cavium Octeon processor. What type of system
> will
>>> you be building for?
>>
>> O2 with R5000
>>
>> Oliver
>>
>
> <mips64-T2-R36064.patch>-----------------------------------------------------------
>
> If you wish to unsubscribe from this mailing, send mail to
> [email protected] with a subject of: unsubscribe t2
--
René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
http://exactcode.com | http://t2-project.org | http://rene.rebe.de
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2