orivej has quit [Ping timeout: 256 seconds]
_whitelogger has joined #picolisp
aw- has joined #picolisp
_whitelogger has joined #picolisp
orivej has joined #picolisp
pointfree has quit [Ping timeout: 268 seconds]
michelp has quit [Ping timeout: 268 seconds]
tankf33der has quit [Ping timeout: 264 seconds]
alexshendi has joined #picolisp
michelp has joined #picolisp
pointfree has joined #picolisp
tankf33der has joined #picolisp
michelp has quit [Ping timeout: 264 seconds]
michelp has joined #picolisp
ym has joined #picolisp
jibanes has quit [Ping timeout: 258 seconds]
jibanes has joined #picolisp
<
aw->
Regenaxer: hi, are you here?
<
aw->
pil21, there's something strange going on in (native)
<
aw->
i have code which previously worked, doesn't work anymore
<
tankf33der>
aw: it does not touched for monthes.
<
tankf33der>
should be ok.
<
Regenaxer>
Sorry, back :)
<
Regenaxer>
Perhaps the version yesterday? I did changes to dlsym() calls
<
Regenaxer>
I don't manage to compile RTLD_DEFAULT
<
Regenaxer>
#define _GNU_SOURCE
<
Regenaxer>
#include <dlfcn.h>
<
Regenaxer>
but it still says
<
Regenaxer>
'RTLD_DEFAULT' undefined
<
tankf33der>
Regenaxer: my tests for native passed.
<
Regenaxer>
With 'RTLD_DEFAULT' ?
<
Regenaxer>
also on MacOS?
<
aw->
wait i will show you
<
tankf33der>
Regenaxer: linux only, i dont have mac.
<
tankf33der>
it is not mine.
<
Regenaxer>
The whole struggle is for stupid MacOS
<
aw->
this works with pil64
<
aw->
not with pil21
<
Regenaxer>
No idea atm
<
Regenaxer>
Is it the current pil21 version?
<
Regenaxer>
*not* yesterday?
<
aw->
yes i just downloaded the latest to test
<
Regenaxer>
ok, good
<
aw->
and i tried on pil21 from a week or two ago, same problem
<
tankf33der>
pil64 fails too here
<
Regenaxer>
the code is wrong
<
Regenaxer>
result is random
<
Regenaxer>
you write 2 bytes but read 4
<
Regenaxer>
You can't read 'I' (4 bytes) from a 2-byte buffer
<
Regenaxer>
(Buf (2 . I))
<
Regenaxer>
So the code
*may* work if the memory behind the buffer space has zero bytes by chance
<
aw->
oh man.. it was right in my face too.. 'I is 32-bit not 16-bit
<
aw->
sorry!! and thanks
<
Regenaxer>
In pil21 we now have 'W'
<
Regenaxer>
but not in pil64
<
Regenaxer>
No worry! :)
<
Regenaxer>
On pil64 the only way is to read 2 bytes and combine them
<
aw->
so what's the result spec?
<
Regenaxer>
(Buf (2 . B))
<
Regenaxer>
then shift and or
<
Regenaxer>
You are dependent on pil64?
<
aw->
what is W in pil21? 16-bit?
<
Regenaxer>
Word (signed 16 bit)
<
aw->
no not at all, i still haven't made pil64 my default, so i was testing that and then when i made my tests for pil21 it failed
<
aw->
good thing it failed ;)
<
Regenaxer>
true :)
<
Regenaxer>
Good if pil21 is tested more
_whitelogger has joined #picolisp
alexshendi has quit [Ping timeout: 272 seconds]
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 240 seconds]
jibanes has joined #picolisp
ym has quit [Quit: Leaving]
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 260 seconds]
jibanes has joined #picolisp
inara has quit [Ping timeout: 260 seconds]
inara has joined #picolisp