-
narodnik
-
narodnik
loool
-
selsta
does anyone have gcc 14.1.1 and can confirm this build issue?
monero-project/monero #9359
-
selsta
e.g. arch should have 14.1.1
-
m-relay
<syntheticbird:monero.social> selsta
-
m-relay
<syntheticbird:monero.social> yes I had the same issue trying to build spackle private testnet build
-
m-relay
<syntheticbird:monero.social> thought I had done something wrong but yes I've the exact same error
-
selsta
syntheticbird: do you know how checkout miniupnpc_2_2_8 tag?
-
m-relay
<syntheticbird:monero.social> no
-
selsta
have you compiled monero before?
-
sech1
p2pool uses miniupnp but it doesn't have this problem with gcc 14. The version in Monero is 4 years old, it's time to update it
-
m-relay
<syntheticbird:monero.social> yes, 8 months ago
-
m-relay
<syntheticbird:monero.social> 4 years old is pretty unfortunate
-
selsta
can you try the following changes first and then compile using these steps? first
paste.debian.net/hidden/9892c4ee then
paste.debian.net/hidden/f74b4854
-
selsta
if it works I'll PR it
-
m-relay
<syntheticbird:monero.social> i'll try
-
selsta
alternatively I can also prepare a branch so that you just have to enter make
-
m-relay
<syntheticbird:monero.social> more I'm trying*
-
m-relay
<syntheticbird:monero.social> selsta posted log in issue
-
selsta
hmmm
-
sech1
actually, what I did for p2pool was turning off a bunch of stuff in miniupnp's CMakeLists:
github.com/miniupnp/miniupnp/compar…/master...SChernykh:miniupnp:master
-
sech1
try to leave only UPNPC_BUILD_STATIC = TRUE and UPNPC_NO_INSTALL = TRUE, everything else = FALSE
-
sech1
minihttptestserver seems to be one of those binaries which aren't needed for building Monero
-
selsta
will add UPNPC_BUILD_TESTS FALSE
-
selsta
syntheticbird: can you try again with the changes to `external/CMakelists.txt`
selsta/monero c4d5047
-
m-relay
<syntheticbird:monero.social> selsta trying right now
-
selsta
ty
-
m-relay
<syntheticbird:monero.social> I forgot to run with -j 8. Wondered why it was so slow
-
m-relay
<syntheticbird:monero.social> selsta Compiled successfully
-
selsta
will PR
-
selsta
seems it fails on older compilers now
-
m-relay
<syntheticbird:monero.social> oh
-
m-relay
<woodser:monero.social> somehow with binaries running on different OS, we're creating a multisig wallet where the participants apparently have different public spend and view keys after completion. was wondering if we can add a check in the multisig creation process to validate that the keys are the same, to prevent creating a broken wallet
-
m-relay
<rbrunner7:monero.social> Doesn't the additional last multisig data exchange round that was added a year ago or so by UkoeHB already test that? Anway, if what you describe is a genuine problem, this seems to be pretty much the worst-case scenario to me.
-
UkoeHB
woodser: do the OS have different endianness, or perhaps different sizes for certain ints?
-
UkoeHB
woodser: have you reproduced the problem yourself? It's odd for the view keys to be different, since the view key derivation is quite simple. It could be a serialization bug, but user error is also possible.
-
m-relay
<woodser:monero.social> probably a mix of linux arm64 and linux, mac, or windows x86, which as far as I know, usually use the same little endian and int sizes
-
m-relay
<woodser:monero.social> I can reproduce being a participant which fails to import multisig hex due to different public keys, by creating a multisig wallet with this participant
-
UkoeHB
woodser: Are binaries are built from the same commit?
-
m-relay
<woodser:monero.social> yes they should be
-
UkoeHB
woodser: Multisig account creation is deterministic from original wallet seeds. If you perform setup ceremonies with multiple combinations of OS using the same set of wallet seeds and compare the multisig kex strings passed between them, can you identify which string diverges?
-
m-relay
<woodser:monero.social> I can look into that but that will take some time
-
UkoeHB
Ok. I looked through the multisig account setup code and didn't see any obvious issues that could be relevant.
-
selsta
size_t and uint64_t are different on mac, not sure if relevant to this issue
monero-project/monero #7321/files
-
sech1
size_t can be 4 or 8 bytes depending on if it's 32- or 64-bit compiler
-
selsta
not sure if it's 32-bit or 64-bit related, mac is on 64bit for ages now
-
sech1
it's 64-bit there, but it's defined differently, so the uint64_t serialization functions are not called
-
sech1
in any case, size_t shouldn't be ever used in serialization code