harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Lee <littlee1...@gmail.com>
Subject Re: Help needed with Build Errors
Date Wed, 29 Jul 2009 14:10:01 GMT
It looks like a security problem. Maybe system protect some kinds of
operation. Maybe there should be somewhere to configure the policy. ( sorry
i am not familiar with SELinux)
And Does RI run successfully?

On Wed, Jul 29, 2009 at 10:04 PM, Charles Lee <littlee1032@gmail.com> wrote:

> SELinux!!  WOW
>
>
> On Wed, Jul 29, 2009 at 6:22 PM, Andrew Myers <am2605@gmail.com> wrote:
>
>> Thanks Charles.  After reading your message I deleted cpptasks.zip and
>> cpptasks.jar, ran the build again and it has worked.  Perhaps it file only
>> partially downloaded the first time through or something.
>>
>> I can now get the build to complete successfully but I am still having
>> issues.  I expect these are probably more Fedora specific issues I need to
>> try and work out somehow though..
>>
>> First one I encountered was an SELinux message:
>>
>> SELinux is preventing java from loading
>> /usr/local/harmony-jdk-798489/jre/bin/libhythr.so which requires text
>> relocation.
>>
>> I disabled this and java -version now reports this which is encouraging:
>>
>> [andrew@fedora11 helloworld]$ /usr/local/harmony-jdk-798489/bin/java
>> -version
>> Apache Harmony Launcher : (c) Copyright 1991, 2009 The Apache Software
>> Foundation or its licensors, as applicable.
>> java version "1.5.0"
>> Apache Harmony (1.5.0)
>> DRLVM (11.2.0)
>> pre-alpha : not complete or compatible
>> svn = r798489, (Jul 29 2009), Linux/ia32/gcc 4.4.0, release build
>> http://harmony.apache.org
>> [andrew@fedora11 helloworld]$
>>
>> But if I try and run or compile anything with it, it just spews out a
>> whole
>> lot of stuff ad infinitum such as:
>>
>> [andrew@fedora11 helloworld]$ /usr/local/harmony-jdk-798489/bin/java
>> HelloWorld
>>
>> Signal reported: GENERAL_PROTECTION_FAULT
>> Registers:
>>    EAX: 0x092f6ff0, EBX: 0x006b5684, ECX: 0x092f6d6c, EDX: 0x00000013
>>    ESI: 0x092f6d70, EDI: 0x092f7230, ESP: 0xbf87e874, EBP: 0xbf87e92c
>>    EIP: 0x006ace5d
>>
>> Command line:
>> /usr/local/harmony-jdk-798489/jre/bin/java HelloWorld
>>
>> Working directory:
>> /home/andrew/projects/helloworld
>>
>> Environment variables:
>> ORBIT_SOCKETDIR=/tmp/orbit-andrew
>> HOSTNAME=fedora11.localdomain
>> IMSETTINGS_INTEGRATE_DESKTOP=yes
>> TERM=xterm
>> SHELL=/bin/bash
>>
>> Any ideas?
>>
>
>
>
> --
> Yours sincerely,
> Charles Lee
>
>


-- 
Yours sincerely,
Charles Lee

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message