-
m-relay<xmrack:monero.social> When I try to compile monero with
-
m-relay<xmrack:monero.social> “make fuzz”
-
m-relay<xmrack:monero.social> I get the following errors
-
m-relay<xmrack:monero.social> pastebin.com/u2gv4xdx
-
m-relay<xmrack:monero.social> Anyone have an idea why?
-
m-relay<0xfffc:monero.social> Boost uuid had a major update in 1.86 and the underlying data structure has been changed from [1] to [2, 3]. I think that is the reason why we get serialization error. Should be quite easy to fix. Will take a look at it.
-
m-relay<0xfffc:monero.social> 1. github.com/boostorg/uuid/blob/beeaa…06/include/boost/uuid/uuid.hpp#L148
-
m-relay<0xfffc:monero.social> 2. github.com/boostorg/uuid/blob/02c82…755/include/boost/uuid/uuid.hpp#L44
-
m-relay<0xfffc:monero.social> 3. github.com/boostorg/uuid/blob/02c82…755/include/boost/uuid/uuid.hpp#L96
-
m-relay<jeffro256:monero.social> Yeah build issues failing on MacOS since apparently UUID is not a POD type anymore
-
m-relay<syntheticbird:monero.social> who the hell decided to break the saint rule of UUID = 128 bit integer = 16 bytes
-
m-relay<syntheticbird:monero.social> Big L from boost on this one
-
selstaty jeffro256 will test if it builds
-
selstajeffro256: seems there are still some compiler errors on macOS github.com/monero-project/monero/ac…10529735156/job/29178145531?pr=9450
-
m-relay<jeffro256:monero.social> okay working on further fixes. I wish I had a Mac to test it on
-
m-relay<jeffro256:monero.social> I guess I could update my system's boost to 1.85 or compile it myself and point monero to it
-
m-relay<jeffro256:monero.social> vtnerd: do the bytes spans NEED to check that there's no padding ?
-
m-relay<jeffro256:monero.social> Especially the unmutable ones
-
m-relay<jeffro256:monero.social> I think it would be fine to simply check trivially_copyable for the mutable spans, and let the applications downstream decide if they actually need types with no padding
-
m-relay<jeffro256:monero.social> Also I caught and removed three times where the private view key would get dumped to the log on point deserialization failure
-
m-relay<0xfffc:monero.social> FYI You don't need mac, you can use guix script to build with whatever version of boost you like.
-
m-relay<jeffro256:monero.social> True
-
m-relay<jeffro256:monero.social> Also I think normal depends does this too
-
m-relay<vtnerd:monero.social> If the spans have padding it could cause platform issues as the padding could differ. Otherwise it shouldn't really matter
-
m-relay<jeffro256:monero.social> During serialization?
-
m-relay<jeffro256:monero.social> Because if so, we should assert it there IMO
-
m-relay<jeffro256:monero.social> span should just guarantee memory safety
-
m-relay<vtnerd:monero.social> Span has a function to reinterpret a class as bytes. It checks for padding as they could cause problems in typical usage