mort___ has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
mort___ has joined #mirage
mort___ has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
mort___ has joined #mirage
mort___ has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
mort___ has joined #mirage
Haudegen has joined #mirage
free_beard has quit [Remote host closed the connection]
pie_ has quit [Remote host closed the connection]
pie_ has joined #mirage
Haudegen has quit [Ping timeout: 276 seconds]
Haudegen has joined #mirage
hystryfe has joined #mirage
<hystryfe>
Hello - I am trying to use opam to compile ocaml-freestanding (on OpenBSD 6.6 x86_64) as part of the "Hello" tutorial. It fails with two errors relating to the size of int64_t and uint64t. Any tips on how to correct? I've tried making them the same but I can't seem to track down all the places the definitions creep in. Any ideas welcome.
retropikzel has quit [Remote host closed the connection]
<hannes>
which ocaml version are you using?
<hannes>
you could clone the ocaml-freestanding repository, run ./configure and gmake and see where it breaks, fix it locally
<hannes>
and once it works locally, do an "opam pin add -k path ocaml-freestanding /my/ocaml-freestanding-clone" which will make opam install this locally, that should work then!
<hystryfe>
Ocaml is 4.09.0. I'll try that thanks.
copy` has joined #mirage
<hystryfe>
ls
Haudegen has quit [Ping timeout: 265 seconds]
jnavila has quit [Ping timeout: 276 seconds]
<apache2>
hystryfe: if you post the error messages you're seeing it's a lot easier to help you diagnose their source.
<hystryfe>
I've cloned ocaml-freestanding - it still pulls config.h in from somewhere else.
<hystryfe>
All I have tried so far is changing the definition to __(u)int64_t and all that does is switch the order of what the error complains about.
<hannes>
this is part of solo5 (https://github.com/solo5/solo5) -- which is the layer on top of the hypervisor, used by ocaml-freestanding.
<hannes>
solo5 defines / provides a stdint.h (I don't remember whether it copies it or actually contains it) which is used by ocaml-freestanding, so you'll need to patch solo5...
Hrundi_V_Bakshi has joined #mirage
<apache2>
hystryfe: what are sizeof(long) vs sizeof(long long) on your system?
<apache2>
the error mmessage looks like some kind of IL32LLP64 support being a bit broken