Jenkins build is back to normal : osv-build-nightly #1420

2018-03-23 Thread jenkins
See -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr..

Re: Rust example

2018-03-23 Thread Nadav Har'El
On Fri, Mar 23, 2018 at 3:38 PM, Waldek Kozaczuk wrote: > I managed to build and run simple Rust hello example on OSv. > > Initially OSv complained about missing __res_init symbol. Based on what I > read it is some old libc function kept for backwards compatibility and it > is not clear why rust

Re: Rust example

2018-03-23 Thread Waldek Kozaczuk
Before we copy anything I would like to better understand what the role of this function is. I read that it implements some legacy way to resolving hostnames. Based on simple rust example it looks it is enough to leave it stubbed (maybe add warning). My question is which file should we put the

Re: Rust example

2018-03-23 Thread Geraldo Netto
Hello Waldek, I think we could copy from new libc, because it's BSD licensed: https://github.com/eblot/newlib/blob/master/newlib/libc/sys/linux/net/res_init.c They also have argz* functions /* * Copyright (c) 1985, 1989, 1993 *The Regents of the University of California. All rights reser

Rust example

2018-03-23 Thread Waldek Kozaczuk
I managed to build and run simple Rust hello example on OSv. Initially OSv complained about missing __res_init symbol. Based on what I read it is some old libc function kept for backwards compatibility and it is not clear why rust needs it. I found existing musl implementation in src/network/

Re: Build failed in Jenkins: osv-build #1343

2018-03-23 Thread Waldek Kozaczuk
Adding Avi. I did some investigation and noticed that something must have changed on March 10th. Since then it takes much longer to run the tests, For example tst-yield.so takes more than 240 seconds vs around 1 second before. This makes me think that the tests run in plain Qemu without KVM. I wo

golang and _is_executable and entry_point

2018-03-23 Thread Waldek Kozaczuk
I am trying to avoid this code ("GoMain" part) in application constructor: _main = _lib->lookup("main"); *if (!_main) {* *_entry_point = _lib->lookup("GoMain");* *}* if (!_main && !_entry_point) { _entry_point = reinterpret_cast(_lib->entry_point()); } if (!