hannes changed the topic of #mirage to: MirageOS are OCaml unikernels - https://mirage.io - this channel is logged at http://irclog.whitequark.org/mirage/ - MirageOS 3.6.0 is released - happy hacking!
Haudegen has quit [Ping timeout: 265 seconds]
_whitelogger has joined #mirage
_whitelogger has joined #mirage
_whitelogger has joined #mirage
_whitelogger has joined #mirage
penguwin has quit [Ping timeout: 265 seconds]
jnavila has joined #mirage
penguwin has joined #mirage
retropikzel has joined #mirage
Haudegen has joined #mirage
Haudegen has quit [Ping timeout: 268 seconds]
free_beard 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
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> No you're right: https://imagebin.ca/v/50gQys8KzUvu
<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
<apache2> could you compile
<apache2> #include <stdio.h>
<apache2> #include <stdint.h>
<apache2> void main(){ printf("%d %d", sizeof(long), sizeof(long long)); }
<apache2> and check?
Haudegen has joined #mirage
<hystryfe> hmm that's weird they are both 8
ansiwen_ has quit [Quit: ZNC 1.7.1 - https://znc.in]
ansiwen has joined #mirage
derpeter has quit [Ping timeout: 240 seconds]
derpeter has joined #mirage
Hrundi_V_Bakshi has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Haudegen has quit [Ping timeout: 240 seconds]