-
Guest123422
hello
-
Guest123422
any news about compiling debug version for android
-
Guest123422
malinero?
-
selsta
Guest123422: it worked fine
-
selsta
you have to do clean build
-
Guest123422
one more details is that dockerfile create apk which i unzip copy monerod and run
-
Guest123422
maybe this is wrong?
-
Guest123422
but with version Release work without issues
-
selsta
he said it builds fine
-
selsta
I don't know if he tested the apk afterwards
-
selsta
can you share the create apk code?
-
Guest123422
-
selsta
don't see any reason for it
-
Guest123422
DCMAKE_BUILD_TYPE=Release DCMAKE_BUILD_TYPE=Debug
-
Guest123422
the only change!
-
selsta
what do you need debug build for?
-
Guest123422
to c why cant mine on huawei smartphone that i have
-
Guest123422
if i mine either apk or monerod alone crash
-
Guest123422
i read about some fixes for arm64 but still crash
-
selsta
then build daemon with debug
-
selsta
and start the daemon separately
-
selsta
without GUI involved
-
Guest123422
im doing this
-
Guest123422
no gui involved
-
Guest123422
i strip daemon from apk
-
Guest123422
extract
-
selsta
that's not going to work if the shared libraries are inside the .apk
-
Guest123422
why run without libraries the release version
-
Guest123422
for release version i do the same
-
selsta
do you find a libdaemonizer.so inside the.apk?
-
Guest123422
got it i search right now
-
Guest123422
there is no libdaemonizer.so anywhere after unzippping apk
-
Guest123422
apk has no libdaemonizer.so
-
Guest123422
and there is not libdaemonizer.so on release version too
-
Guest123425
hello
-
malinero
hmm, do you know if randomx allocates >= 1MB on the stack (not the heap) ?
-
malinero
out of curiosity, can gdb on x86 reads a binary and a core dump for another arch?
-
malinero
s/for/from/
-
Guest123494
hello
-
malinero
Hi
-
Guest123494
smth u told about randomx
-
Guest123494
"randomx allocates >= 1MB on the stack "
-
Guest123494
this is about gdb or monerod
-
malinero
-
malinero
if randomx allocates more than 1MB, it won't work when used through the GUI but should work when used in standalone. If it allocates more than 4 MB, it won't work with all android builds
-
malinero
(i think it should still work with rooted devices and arm builds)
-
Guest123494
interesting
-
Guest123494
how MB randomx take on laptop,pc
-
Guest123494
around
-
malinero
i forgot one important detail: allocates *on the stack*, not the heap
-
malinero
so it doesn't matter what the OS says
-
malinero
randomx code is too complex for me :)
-
Guest123494
on pc works without issues
-
Guest123494
solo mining works
-
malinero
yep, it's an android specific limitation
-
Guest123494
if we give more RAM to monerod?
-
malinero
the pb is not how much RAM in total
-
malinero
it's the "stack" size
-
malinero
google "heap VS stack" if you want to know more about it
-
Guest123494
arm registers are fewer than x86?
-
malinero
iiuc, it's an android limitation, not arm
-
Guest123494
i remember that before 1year or more mining was working on smartphones
-
Guest123494
smth changed
-
Guest123494
dont know
-
Guest123494
dont remember when exactly
-
malinero
introduction of randomx ? :)
-
Guest123494
maybe........
-
Guest123494
-
Guest123494
this one was not fixed
-
Guest123494
definetly not
-
malinero
Are you sure you have included that commit ?
-
Guest123494
that commits are inserted on randomx code now
-
Guest123494
but do not work
-
malinero
they are inserted in randomx, but doesn't mean you have them locally
-
Guest123494
i have i checked
-
malinero
have you tried the arm build ?
-
Guest123494
make depends target=aarch64-linux-android
-
Guest123494
this?
-
malinero
nope, target=aarch64-linux-gnu
-
Guest123494
no but can this run on android?
-
selsta
the getmonero.org android version runs on android
-
malinero
yep
-
Guest123494
this will make linux binary target=aarch64-linux-gnu
-
Guest123494
how to run on android?
-
Guest123494
maybe im wrong
-
Guest123494
just asking
-
selsta
start with termux
-
selsta
I guess?
-
malinero
-
malinero
i think you'll need gnurrot
-
malinero
gnuroot
-
Guest123494
i use termux for running android binary but ok i test linux aarch64 binary too
-
Guest123436
i mine on mediatek p22t 8core and no crash
-
Guest123436
is aarch64 android
-
Guest123436
any suggestion?
-
malinero
maybe it has some low level CPU instructions that your phone doesn't phone. I would open an issue in randomx repo and give details about the hardware specs
-
Guest123436
jit??
-
malinero
no idea (but i'd guess that jit is a high level feature that requires some specific ASM instructions to make it fast enough)
-
sgp_
ArticMine: are you free to approve the matrix relay to this channel?
-
selsta
he did write yes last time, or does he have to do something more?
-
sgp_
last time no one was opped I believe
-
sgp_
now that someone is opped I can have the bridge DM them for approval, then it will be relayed
-
» malinero doesn't understand the existence of so many channels while #monero has become a faucet channel ...
-
selsta
#monero was supposed to be bridged, I don't know the status of it...
-
selsta
afaik bridging large channels with over 200 users or so require extra permission by matrix and it's stuck there
-
malinero
ah ok
-
sgp_
actually 100, and yeah looks like that channel isn't bridged yet either
-
selsta
19:52 <@ArticMine> Yes
-
selsta
that was from a couple days ago (as OP)
-
sgp_
He will have to say "yes" to a DM that Matrix sends him. I may have missed that message a few days ago
-
selsta
ok
-
malinero
out of curiosity, have "TheLounge" (
thelounge.chat) ever been considered as an alternative or an addition to matrix ?