You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Oliver Deakin <ol...@googlemail.com> on 2007/11/01 15:07:00 UTC
[porting] PPC Linux and z/OS update
Hi all,
I've been working away on ports to PPC Linux 32/64 and z/OS 31/64 for
some time now and thought it was about time I sent an update to the list
on my progress.
On Linux PPC I have run the Harmony tests using a specially made J9 VME.
32 bit completes with a >99% pass rate and 64bit completes with a >96%
pass rate. The vast majority of the failures are in the swing and awt
modules, which is probably caused by machine setup and possibly also
some missing tweaks here and there to the native code port for those
modules. Most of the code changes for this port are already checked into
Harmony SVN.
The z/OS porting work is ongoing. You may have noticed from the build
break yesterday that I am starting to check in some changes to makefiles
;) Im planning to trickle in further z/OS specific code/build system
changes over the coming weeks. As far as progress goes, I am able (again
with a specially made J9 VME) to run simple classes and I am getting to
the point where I can run small sections of the Harmony tests, although
a problem with file reading is currently preventing me from running the
whole suite.
fyi the new platform architecture strings (os.arch) for z/OS 31 and 64
bit are s390 and s390x respectively. There are some special build
instructions for z/OS which I will put up either on the wiki or the
website when I get closer to completing the port. For now there are
still numerous changes to be made to the Harmony codebase before it will
be buildable on zSeries.
Regards,
Oliver
--
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Re: [porting] PPC Linux and z/OS update
Posted by Tim Ellison <t....@gmail.com>.
Oliver Deakin wrote:
> I've been working away on ports to PPC Linux 32/64 and z/OS 31/64 for
> some time now and thought it was about time I sent an update to the list
> on my progress.
>
> On Linux PPC I have run the Harmony tests using a specially made J9 VME.
> 32 bit completes with a >99% pass rate and 64bit completes with a >96%
> pass rate. The vast majority of the failures are in the swing and awt
> modules, which is probably caused by machine setup and possibly also
> some missing tweaks here and there to the native code port for those
> modules. Most of the code changes for this port are already checked into
> Harmony SVN.
>
> The z/OS porting work is ongoing. You may have noticed from the build
> break yesterday that I am starting to check in some changes to makefiles
> ;) Im planning to trickle in further z/OS specific code/build system
> changes over the coming weeks. As far as progress goes, I am able (again
> with a specially made J9 VME) to run simple classes and I am getting to
> the point where I can run small sections of the Harmony tests, although
> a problem with file reading is currently preventing me from running the
> whole suite.
>
> fyi the new platform architecture strings (os.arch) for z/OS 31 and 64
> bit are s390 and s390x respectively. There are some special build
> instructions for z/OS which I will put up either on the wiki or the
> website when I get closer to completing the port. For now there are
> still numerous changes to be made to the Harmony codebase before it will
> be buildable on zSeries.
Cool -- time to dust off that old zSeries machine I have in the shed ;-)
Let us know if there are any repository structure issues you have with
incorporating the new code, but in principle we should already be in
good shape for another port.
Send us the wiki page link once you have something to share.
Regards,
Tim
Re: [porting] PPC Linux and z/OS update
Posted by Sean Qiu <se...@gmail.com>.
Great!
2007/11/1, Oliver Deakin <ol...@googlemail.com>:
>
> Hi all,
>
> I've been working away on ports to PPC Linux 32/64 and z/OS 31/64 for
> some time now and thought it was about time I sent an update to the list
> on my progress.
>
> On Linux PPC I have run the Harmony tests using a specially made J9 VME.
> 32 bit completes with a >99% pass rate and 64bit completes with a >96%
> pass rate. The vast majority of the failures are in the swing and awt
> modules, which is probably caused by machine setup and possibly also
> some missing tweaks here and there to the native code port for those
> modules. Most of the code changes for this port are already checked into
> Harmony SVN.
>
> The z/OS porting work is ongoing. You may have noticed from the build
> break yesterday that I am starting to check in some changes to makefiles
> ;) Im planning to trickle in further z/OS specific code/build system
> changes over the coming weeks. As far as progress goes, I am able (again
> with a specially made J9 VME) to run simple classes and I am getting to
> the point where I can run small sections of the Harmony tests, although
> a problem with file reading is currently preventing me from running the
> whole suite.
>
> fyi the new platform architecture strings (os.arch) for z/OS 31 and 64
> bit are s390 and s390x respectively. There are some special build
> instructions for z/OS which I will put up either on the wiki or the
> website when I get closer to completing the port. For now there are
> still numerous changes to be made to the Harmony codebase before it will
> be buildable on zSeries.
>
> Regards,
> Oliver
>
> --
> Oliver Deakin
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number
> 741598.
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>
>
--
Sean Qiu
China Software Development Lab, IBM
Re: [porting] PPC Linux and z/OS update
Posted by Oliver Deakin <ol...@googlemail.com>.
Spark Shen wrote:
> 2007/11/2, Oliver Deakin <ol...@googlemail.com>:
>
> <SNIP>
> IMHO it is not worth maintaining a full set of EBCDIC source
>
>> files just to support z/OS - I personally just use a very basic perl
>> script that recursively converts all the c source/makefiles into EBCDIC
>> and leaves the files that do not need conversion alone.
>>
>
>
> Then the build process for z/OS will be slight different. We need to modify
> the build scripts to add the
> conversion stage,
Yes, this would be good. I wasn't sure exactly how to do this but it's
probably possible. We'd need to check each file to see whether it has
already been converted into EBCDIC and, if not, carry out the conversion.
> and we (in fact, it's you :) ) also need to contribute the
> perl conversion tool. Right?
>
I don't mind contributing the little script I use, although if we can
get the automatic conversion working as you suggest I think this would
be a much better solution.
Regards,
Oliver
> It's not a
>
>> perfect solution, but it's quick and fairly pain free :)
>>
>
>
>
> Regards,
>
>> Oliver
>>
>> Spark Shen wrote:
>>
>>> To build on z/OS, do we need also to convert build script such as
>>>
>> build.xmland
>>
>>> defines.mk etc. into z/OS specific encoding - EBCDIC?
>>>
>>> If that's the case, do we need to maintain a separate build script set
>>>
>> for
>>
>>> z/OS?
>>> Whether these z/OS specific build scripts readable on other platform?
>>>
>>> 2007/11/1, Oliver Deakin <ol...@googlemail.com>:
>>>
>>>
>>>> Hi all,
>>>>
>>>> I've been working away on ports to PPC Linux 32/64 and z/OS 31/64 for
>>>> some time now and thought it was about time I sent an update to the
>>>>
>> list
>>
>>>> on my progress.
>>>>
>>>> On Linux PPC I have run the Harmony tests using a specially made J9
>>>>
>> VME.
>>
>>>> 32 bit completes with a >99% pass rate and 64bit completes with a >96%
>>>> pass rate. The vast majority of the failures are in the swing and awt
>>>> modules, which is probably caused by machine setup and possibly also
>>>> some missing tweaks here and there to the native code port for those
>>>> modules. Most of the code changes for this port are already checked
>>>>
>> into
>>
>>>> Harmony SVN.
>>>>
>>>> The z/OS porting work is ongoing. You may have noticed from the build
>>>> break yesterday that I am starting to check in some changes to
>>>>
>> makefiles
>>
>>>> ;) Im planning to trickle in further z/OS specific code/build system
>>>> changes over the coming weeks. As far as progress goes, I am able
>>>>
>> (again
>>
>>>> with a specially made J9 VME) to run simple classes and I am getting to
>>>> the point where I can run small sections of the Harmony tests, although
>>>> a problem with file reading is currently preventing me from running the
>>>> whole suite.
>>>>
>>>> fyi the new platform architecture strings (os.arch) for z/OS 31 and 64
>>>> bit are s390 and s390x respectively. There are some special build
>>>> instructions for z/OS which I will put up either on the wiki or the
>>>> website when I get closer to completing the port. For now there are
>>>> still numerous changes to be made to the Harmony codebase before it
>>>>
>> will
>>
>>>> be buildable on zSeries.
>>>>
>>>> Regards,
>>>> Oliver
>>>>
>>>> --
>>>> Oliver Deakin
>>>> Unless stated otherwise above:
>>>> IBM United Kingdom Limited - Registered in England and Wales with
>>>>
>> number
>>
>>>> 741598.
>>>> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
>>>>
>> 3AU
>>
>>>>
>>>>
>>>
>>>
>> --
>> Oliver Deakin
>> Unless stated otherwise above:
>> IBM United Kingdom Limited - Registered in England and Wales with number
>> 741598.
>> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>>
>>
>>
>
>
>
--
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Re: [porting] PPC Linux and z/OS update
Posted by Spark Shen <sm...@gmail.com>.
2007/11/2, Oliver Deakin <ol...@googlemail.com>:
>
> We do not need to convert any xml scripts or any java source code as
> these can be handled in ASCII format by Ant and javac. The only files
> that need to be converted into EBCDIC are the c/c++ source code and
> makefiles.
I see.
IMHO it is not worth maintaining a full set of EBCDIC source
> files just to support z/OS - I personally just use a very basic perl
> script that recursively converts all the c source/makefiles into EBCDIC
> and leaves the files that do not need conversion alone.
Then the build process for z/OS will be slight different. We need to modify
the build scripts to add the
conversion stage, and we (in fact, it's you :) ) also need to contribute the
perl conversion tool. Right?
It's not a
> perfect solution, but it's quick and fairly pain free :)
Regards,
> Oliver
>
> Spark Shen wrote:
> > To build on z/OS, do we need also to convert build script such as
> build.xmland
> > defines.mk etc. into z/OS specific encoding - EBCDIC?
> >
> > If that's the case, do we need to maintain a separate build script set
> for
> > z/OS?
> > Whether these z/OS specific build scripts readable on other platform?
> >
> > 2007/11/1, Oliver Deakin <ol...@googlemail.com>:
> >
> >> Hi all,
> >>
> >> I've been working away on ports to PPC Linux 32/64 and z/OS 31/64 for
> >> some time now and thought it was about time I sent an update to the
> list
> >> on my progress.
> >>
> >> On Linux PPC I have run the Harmony tests using a specially made J9
> VME.
> >> 32 bit completes with a >99% pass rate and 64bit completes with a >96%
> >> pass rate. The vast majority of the failures are in the swing and awt
> >> modules, which is probably caused by machine setup and possibly also
> >> some missing tweaks here and there to the native code port for those
> >> modules. Most of the code changes for this port are already checked
> into
> >> Harmony SVN.
> >>
> >> The z/OS porting work is ongoing. You may have noticed from the build
> >> break yesterday that I am starting to check in some changes to
> makefiles
> >> ;) Im planning to trickle in further z/OS specific code/build system
> >> changes over the coming weeks. As far as progress goes, I am able
> (again
> >> with a specially made J9 VME) to run simple classes and I am getting to
> >> the point where I can run small sections of the Harmony tests, although
> >> a problem with file reading is currently preventing me from running the
> >> whole suite.
> >>
> >> fyi the new platform architecture strings (os.arch) for z/OS 31 and 64
> >> bit are s390 and s390x respectively. There are some special build
> >> instructions for z/OS which I will put up either on the wiki or the
> >> website when I get closer to completing the port. For now there are
> >> still numerous changes to be made to the Harmony codebase before it
> will
> >> be buildable on zSeries.
> >>
> >> Regards,
> >> Oliver
> >>
> >> --
> >> Oliver Deakin
> >> Unless stated otherwise above:
> >> IBM United Kingdom Limited - Registered in England and Wales with
> number
> >> 741598.
> >> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
> 3AU
> >>
> >>
> >>
> >
> >
> >
>
> --
> Oliver Deakin
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number
> 741598.
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>
>
--
Spark Shen
China Software Development Lab, IBM
Re: [porting] PPC Linux and z/OS update
Posted by Oliver Deakin <ol...@googlemail.com>.
We do not need to convert any xml scripts or any java source code as
these can be handled in ASCII format by Ant and javac. The only files
that need to be converted into EBCDIC are the c/c++ source code and
makefiles. IMHO it is not worth maintaining a full set of EBCDIC source
files just to support z/OS - I personally just use a very basic perl
script that recursively converts all the c source/makefiles into EBCDIC
and leaves the files that do not need conversion alone. It's not a
perfect solution, but it's quick and fairly pain free :)
Regards,
Oliver
Spark Shen wrote:
> To build on z/OS, do we need also to convert build script such as build.xmland
> defines.mk etc. into z/OS specific encoding - EBCDIC?
>
> If that's the case, do we need to maintain a separate build script set for
> z/OS?
> Whether these z/OS specific build scripts readable on other platform?
>
> 2007/11/1, Oliver Deakin <ol...@googlemail.com>:
>
>> Hi all,
>>
>> I've been working away on ports to PPC Linux 32/64 and z/OS 31/64 for
>> some time now and thought it was about time I sent an update to the list
>> on my progress.
>>
>> On Linux PPC I have run the Harmony tests using a specially made J9 VME.
>> 32 bit completes with a >99% pass rate and 64bit completes with a >96%
>> pass rate. The vast majority of the failures are in the swing and awt
>> modules, which is probably caused by machine setup and possibly also
>> some missing tweaks here and there to the native code port for those
>> modules. Most of the code changes for this port are already checked into
>> Harmony SVN.
>>
>> The z/OS porting work is ongoing. You may have noticed from the build
>> break yesterday that I am starting to check in some changes to makefiles
>> ;) Im planning to trickle in further z/OS specific code/build system
>> changes over the coming weeks. As far as progress goes, I am able (again
>> with a specially made J9 VME) to run simple classes and I am getting to
>> the point where I can run small sections of the Harmony tests, although
>> a problem with file reading is currently preventing me from running the
>> whole suite.
>>
>> fyi the new platform architecture strings (os.arch) for z/OS 31 and 64
>> bit are s390 and s390x respectively. There are some special build
>> instructions for z/OS which I will put up either on the wiki or the
>> website when I get closer to completing the port. For now there are
>> still numerous changes to be made to the Harmony codebase before it will
>> be buildable on zSeries.
>>
>> Regards,
>> Oliver
>>
>> --
>> Oliver Deakin
>> Unless stated otherwise above:
>> IBM United Kingdom Limited - Registered in England and Wales with number
>> 741598.
>> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>>
>>
>>
>
>
>
--
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Re: [porting] PPC Linux and z/OS update
Posted by Spark Shen <sm...@gmail.com>.
To build on z/OS, do we need also to convert build script such as build.xmland
defines.mk etc. into z/OS specific encoding - EBCDIC?
If that's the case, do we need to maintain a separate build script set for
z/OS?
Whether these z/OS specific build scripts readable on other platform?
2007/11/1, Oliver Deakin <ol...@googlemail.com>:
>
> Hi all,
>
> I've been working away on ports to PPC Linux 32/64 and z/OS 31/64 for
> some time now and thought it was about time I sent an update to the list
> on my progress.
>
> On Linux PPC I have run the Harmony tests using a specially made J9 VME.
> 32 bit completes with a >99% pass rate and 64bit completes with a >96%
> pass rate. The vast majority of the failures are in the swing and awt
> modules, which is probably caused by machine setup and possibly also
> some missing tweaks here and there to the native code port for those
> modules. Most of the code changes for this port are already checked into
> Harmony SVN.
>
> The z/OS porting work is ongoing. You may have noticed from the build
> break yesterday that I am starting to check in some changes to makefiles
> ;) Im planning to trickle in further z/OS specific code/build system
> changes over the coming weeks. As far as progress goes, I am able (again
> with a specially made J9 VME) to run simple classes and I am getting to
> the point where I can run small sections of the Harmony tests, although
> a problem with file reading is currently preventing me from running the
> whole suite.
>
> fyi the new platform architecture strings (os.arch) for z/OS 31 and 64
> bit are s390 and s390x respectively. There are some special build
> instructions for z/OS which I will put up either on the wiki or the
> website when I get closer to completing the port. For now there are
> still numerous changes to be made to the Harmony codebase before it will
> be buildable on zSeries.
>
> Regards,
> Oliver
>
> --
> Oliver Deakin
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number
> 741598.
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>
>
--
Spark Shen
China Software Development Lab, IBM