I did not update the osv project to the latest osv-apps change so you have to
independently git pull in the apps subdirectory.
Sent from my iPhone
> On Oct 21, 2018, at 03:09, Nadav Har'El wrote:
>
>
>
>> On Sun, Oct 21, 2018 at 9:20 AM Nadav Har'El wrote:
>>
>>
>>> On Sat, Oct 20, 2018
On Sun, Oct 21, 2018 at 9:20 AM Nadav Har'El wrote:
>
>
> On Sat, Oct 20, 2018 at 7:42 AM Waldek Kozaczuk
> wrote:
>
>> Thanks but I think my issue is different - very repeatable and does not
>> depend on GCC version.
>>
>> After all I think that the shared library libhello.so was compiled
>>
On Sat, Oct 20, 2018 at 5:30 PM Waldek Kozaczuk
wrote:
> I have pushed the latest graalvm-example example so anyone can reproduce
> the problem.
>
For me, I get a different problem:
$ scripts/build image=graalvm-example
$ scripts/run.py
OSv v0.52.0
eth0: 192.168.122.15
bad executable type
On Sat, Oct 20, 2018 at 7:42 AM Waldek Kozaczuk
wrote:
> Thanks but I think my issue is different - very repeatable and does not
> depend on GCC version.
>
> After all I think that the shared library libhello.so was compiled without
> -fPIC (even though I pass -H:+GeneratePIC option to GraalVM
I have pushed the latest graalvm-example example so anyone can reproduce
the problem.
So the mystery is why even though libhello.so was compiled without -fPIC
(or maybe it was) it still works just fine on Linux and does not on OSv.
How is it possible?
If it is a valid ELF than it looks like
Thanks but I think my issue is different - very repeatable and does not
depend on GCC version.
After all I think that the shared library libhello.so was compiled without
-fPIC (even though I pass -H:+GeneratePIC option to GraalVM native-image)
based on this test:
readelf -a libhello.so | grep
On Fri, 2018-10-19 at 10:58 -0700, Waldek Kozaczuk wrote:
> Recently I have been playing with GraalVM (
> https://github.com/oracle/graal) to see if it is possible to run it
> on OSv. To that extent I created new OSv app -
> https://github.com/cloudius-systems/osv-apps/tree/master/graalvm-example
Recently I have been playing with GraalVM (https://github.com/oracle/graal)
to see if it is possible to run it on OSv. To that extent I created new OSv
app -
https://github.com/cloudius-systems/osv-apps/tree/master/graalvm-example.
As you can see it has a simple bootstrap main.so that loads a