<no subject>
Neale Ferguson
neale at sinenomine.net
Mon Apr 6 06:03:18 PDT 2009
It's all good now. To get the build going -
1. Upgrade packages:
- make 3.81
- glitz
- cairo
- freetype2
2. Update Defs-linux.gmk so OPENWIN_LIB points to /usr/lib64 for s390x (like
amd64)
3. s390x is a big endian system so contrib/templater/generate.py needs to
reflect this [I built before finding this but it didn't appear to hurt
things]
4. Build and install gcc-4.3.3 and libgij-4.3
5. Set up /usr/lib/gcj-jdk directory to mimic gcc-4.4 layout
6. Lots of patience (build takes > 18 hours on z990)
[neale - ~]> java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.4.1) (build 1.6.0_0-b14)
OpenJDK 64-Bit Core VM (build 14.0-b08, interpreted mode)
Now for LLVM and Shark...
Neale
On 4/6/09 5:22 AM, "Gary Benson" <gbenson at redhat.com> wrote:
> This error (The type java.lang.Object cannot be resolved) happens when
> ecj's bootclasspath is wrong.
>
> Cheers,
> Gary
>
> Neale Ferguson wrote:
>> This is my first attempt building zero and am making it to this
>> point before bombing out:
>>
>> ANT_OPTS=-Djava.io.tmpdir='/home/neale/icedtea-1.9/openjdk-ecj/build/linux-s
>> 390x/langtools/build/ant-tmp' ant -Djdk.version=1.7.0_0
>> -Dfull.version='1.7.0_0-b50' -Drelease=1.7.0_0 -Dbuild.number=b50
>> -Djavac.debug=true -Djavac.target=5
>> -Dboot.java.home=/home/neale/icedtea-1.9/bootstrap/jdk1.6.0
>> -Djavac.executable=/home/neale/icedtea-1.9/bootstrap/jdk1.6.0/bin/javac
>> -Dbuild.dir=/home/neale/icedtea-1.9/openjdk-ecj/build/linux-s390x/langtools/
>> build
>> -Ddist.dir=/home/neale/icedtea-1.9/openjdk-ecj/build/linux-s390x/langtools/d
>> ist build
>> Buildfile: build.xml
>>
>> -def-check:
>>
>> -check-boot.java.home:
>>
>> -def-pcompile:
>> [mkdir] Created dir:
>> /home/neale/icedtea-1.9/openjdk-ecj/build/linux-s390x/langtools/build/toolcl
>> asses
>> [javac] Compiling 2 source files to
>> /home/neale/icedtea-1.9/openjdk-ecj/build/linux-s390x/langtools/build/toolcl
>> asses
>> [javac] ----------
>> [javac] 1. ERROR in
>> /home/neale/icedtea-1.9/openjdk-ecj/langtools/make/tools/CompileProperties/C
>> ompileProperties.java (at line 1)
>> [javac] /*
>> [javac] ^
>> [javac] The type java.lang.Object cannot be resolved. It is indirectly
>> referenced from required .class files
>> [javac] ----------
>> [javac] 2. ERROR in
>> /home/neale/icedtea-1.9/openjdk-ecj/langtools/make/tools/CompileProperties/C
>> ompileProperties.java (at line 1)
>> :
>> :
>> ... A total of 100 errors in all.
>>
>> I¹m sure this is a newbie problem but can someone lend me a clue? I'm using
>> the IBM 1.6 JDK.
>>
>> Neale
>>
>>
>>
More information about the zero-dev
mailing list