IRC channel logs

2022-03-17.log

back to list of logs

<chrislck>sneek: botsnack
<sneek>:)
<dsmith-work>{appropriate time} Greetings, Guilers
<stis>Heya guiers!
<dsmith-work>sneek: seen RhodiumToad
<sneek>I think I remember RhodiumToad in #guile 3 months ago, saying: *-apple-darwin* since it'll have the release.
*RhodiumToad doesn't remember saying that :-)
<RhodiumToad>oh wait, maybe I do
*RhodiumToad remembers the context now
<dsmith-work>RhodiumToad: Hey, what was that problem with guile on *bsd again? Something about integer and pointer sizes? Or maybe seek positions?
<RhodiumToad>off_t on 32-bit freebsd (and other *bsds as far as I know) is 64 bits
<RhodiumToad>but guile ends up picking a 32-bit size
<RhodiumToad>also there's a thing with getting the date in the build script, but that's less important
<dsmith-work>RhodiumToad: thanks.
<RhodiumToad>yeah, libguile/Makefile.am assumes GNU date, and uses options that don't work on bsd
<RhodiumToad>libguile/Makefile.in assumes GNU sed, needs a small tweak for bsd
<RhodiumToad>the actual off_t issue is that guile defines a type scm_t_off to use in place of off_t, and tries to pick the right integer type, but it only tries "int" and "long" (and not "long long") if the horrid largefile kludge macros aren't defined (as they are not on BSD which has no largefile compatibility issues)
<RhodiumToad>libguile/gen-scmconfig.c is the place to look
<RhodiumToad> https://dpaste.org/T8T5 <-- those are a bit old, stuff may have moved since then
<dsmith-work>RhodiumToad: Well, those changes applied still build and pass tests on current Debian stable amd64 (Though applied to Makefile.am instead of Makefile.in)