companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.2.0 released: https://ocaml.org/releases/5.2.0 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
waleee has quit [Ping timeout: 256 seconds]
jabuxas has joined #ocaml
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #ocaml
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
jabuxas has quit [Ping timeout: 256 seconds]
Soni has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
soni_ is now known as soni
SoniEx2 has joined #ocaml
soni has quit [Killed (lead.libera.chat (Nickname regained by services))]
SoniEx2 is now known as Soni
soni_ has joined #ocaml
jabuxas has joined #ocaml
jabuxas has quit [Ping timeout: 268 seconds]
YuGiOhJCJ has joined #ocaml
Serpent7776 has joined #ocaml
<discocaml> <vinwin008> ```ansi
<discocaml> <vinwin008> [2;47m[2;34mShop of Vanguard[0m[2;47m[0m
<discocaml> <vinwin008> ```
reynir has joined #ocaml
dmbaturin has quit [*.net *.split]
motherfsck has quit [*.net *.split]
germ has quit [*.net *.split]
dmbaturin has joined #ocaml
motherfsck has joined #ocaml
germ has joined #ocaml
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
olle has joined #ocaml
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
bartholin has joined #ocaml
troydm has quit [Ping timeout: 264 seconds]
gooby323 has joined #ocaml
gooby323 has quit [Client Quit]
gooby323 has joined #ocaml
neiluj has joined #ocaml
<neiluj> hey! is it expected that compiling with flambda consumes considerably more RAM and increases significantly build time?
<neiluj> like it is taking 10GB of RAM to compile (versus ~1GB without flambda support)
toastal has quit [Ping timeout: 272 seconds]
toastal has joined #ocaml
<theblatte> neiluj: mostly yes
waleee has joined #ocaml
<discocaml> <otini_> 10 GB? wow
troydm has joined #ocaml
<neiluj> yes, though that's when building bindings to 6k C functions lol
<neiluj> btw getting errors like /tmp/build_2e537a_dune/camlasm50dd51.s:437050:16: error: index must be an integer in range [-256, 255]. when building with dune
<neiluj> do you know how to disable these security checks?
<neiluj> tried the flag -fno-stack-protector to the c flags but it didn't help
<discocaml> <otini_> no idea
<rustyne> that doesn’t sound really like something you’d like to disable, does it?
olle has left #ocaml [#ocaml]
<neiluj> right, but I saw some people even packaging software with these checks disabled
<gooby323> I'm guessing they have the checks during development and testing and only disable them in release, if yours is erroring out during development, that might be a cause for concern x)
<neiluj> looks like I'm building the library to bind with gcc and then compiling the bindings with clang :o
<neiluj> how do you force dune to use gcc instead of clang?
<rustyne> I think that dune is using `ocamlc -config` to decide which compiler it should use
<rustyne> (if that’s correct, you would have to rebuild an ocaml with gcc)
<neiluj> yep, ocaml was built with clang instead
<neiluj> thanks!
masterbuilder has joined #ocaml
<discocaml> <otini_> > (if that’s correct, you would have to rebuild an ocaml with gcc)
<discocaml> <otini_> you could also have tried passing `-cc gcc` to ocaml via dune
<discocaml> <otini_> i.e., `(flags (:standard -cc gcc))` somewhere
toastal has left #ocaml [Disconnected: Hibernating too long]
neiluj has quit [Ping timeout: 268 seconds]
gooby323 has quit [Quit: Konversation terminated!]
gooby323 has joined #ocaml
gooby323 has quit [Client Quit]
neiluj has joined #ocaml
neiluj has quit [Ping timeout: 255 seconds]
jabuxas has joined #ocaml
jabuxas has quit [Remote host closed the connection]
neiluj has joined #ocaml
neiluj has quit [Ping timeout: 256 seconds]
jabuxas has joined #ocaml
jabuxas has quit [Remote host closed the connection]
torretto has quit [Remote host closed the connection]
torretto has joined #ocaml
reynir has quit [Quit: WeeChat 3.8]
jabuxas has joined #ocaml
neiluj has joined #ocaml
jabuxas has quit [Quit: oops :p]
jabuxas has joined #ocaml
neiluj has quit [Ping timeout: 255 seconds]
<discocaml> <qexat> hello
neiluj has joined #ocaml
<rustyne> otini_: interesting, thanks for the tip
Serpent7776 has quit [Ping timeout: 272 seconds]
neiluj has quit [Ping timeout: 256 seconds]
neiluj has joined #ocaml
copy_ has quit [Quit: copy_]
copy has joined #ocaml
neiluj has quit [Ping timeout: 260 seconds]
neiluj has joined #ocaml
<neiluj> thanks for the tips!
<neiluj> oh wow, you can compile with -without-runtime :)
<neiluj> are unused variable freed with the above option?
<discocaml> <otini_> hi
<discocaml> <otini_> @neiluj not sure to see what you mean
<neiluj> assuming the garbage collection is part of the runtime
<discocaml> <otini_> oh, the program won’t work at all
<discocaml> <otini_> ocaml code needs the runtime to do the most basic things like allocate
<discocaml> <otini_> you are expected to supply the missing symbols in some other way
jabuxas has quit [Ping timeout: 268 seconds]
<neiluj> ok! thx
reynir has joined #ocaml
<neiluj> hey mbacarella, saw you had an issue with compilation of big modules https://libera.irclog.whitequark.org/ocaml/2022-04-19#32110963 on aarch64
<neiluj> stumbling upon the same error
<neiluj> I did split the module into multiple files and observe a tremendous reduction in build time!
Guest50 has joined #ocaml
Serpent7776 has joined #ocaml
<neiluj> but I still get the same arm64 error :/
<neiluj> tried to decrease ulimit as well ulimit -n 16384
Guest50 has left #ocaml [#ocaml]
reynir has quit [Ping timeout: 256 seconds]
Tuplanolla has joined #ocaml
<neiluj> anyways it was with flambda which does not yet support arm64 https://github.com/ocaml-flambda/flambda-backend/issues/1647
neiluj has quit [Quit: WeeChat 4.2.1]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
alexherbo2 has joined #ocaml
Serpent7776 has quit [Ping timeout: 272 seconds]
jabuxas has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
bartholin has quit [Quit: Leaving]
alexherbo2 has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
alexherbo2 has quit [Remote host closed the connection]