-
sarang
useddd: unfortunately I keep getting build errors and am not able to test your CLSAG fuzz test PR
-
moneromooo
Can you build fuzz tests without the patch ?
-
derpy_bridge_
<[keybase] unseddd>: unsure what to tell you sarang. tested on multiple boxes, and it compiles/runs on all of them.
-
moneromooo
unseddd: you should have pinged us about
google/oss-fuzz #2451 :D I've just seen it.
-
moneromooo
Or if you did, sorry, I missed it.
-
sarang
Odd unseddd, I had it fail on separate boxes running master builds with fuzz target :/
-
iDunk
What was the error ?
-
derpy_bridge_
<[keybase] unseddd>: moneromooo: was so stoked when they replied they would accept!! :)
-
derpy_bridge_
<[keybase] unseddd>: sarang: am sure you are having problems, but it is hard for me to help you debug with just "it no run"
-
sarang
I'm running a fresh build on a new git clone to get good error reporting
-
sarang
the current master fuzz target matches the expected compiler flags
-
derpy_bridge_
<[keybase] unseddd>: right on, i can try building with docker, so we are working with a common base
-
sarang
Can you do PMs on IRC with your bridge, somehow?
-
sarang
(I assume not)
-
sarang
Anyway... current master: git submodule init && git submodule update && make -jN fuzz (for N cores available on this buildbox with afl tools installed)
-
derpy_bridge_
<[keybase] unseddd>: hrm, that last make command is probably causing the errors (i did not mess with the main build system). built more manually on my boxes
-
derpy_bridge_
<[keybase] unseddd>: as in: (fresh clone) cd monero && mkdir build && cd build; export CC=afl-gcc CXX=afl-g++; cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=ON; make
-
derpy_bridge_
<[keybase] unseddd>: that was also on master from a couple weeks ago, so...
-
iDunk
So shared and without ASAN.
-
derpy_bridge_
<[keybase] unseddd>: when/if you are ready to merge, i can rebase the work and fix minor bugs with building/api changes
-
derpy_bridge_
<[keybase] unseddd>: iDunk: yeah, did not realize it would not build without ASAN (new to Monero build system)
-
iDunk
You can see how the fuzz target is set up in the Makefile.
-
derpy_bridge_
<[keybase] unseddd>: well, will spend some cycles today getting it to work with "make fuzz" from the root
-
derpy_bridge_
<[keybase] unseddd>: *did not realise it was building without ASAN
-
sarang
I had an earlier "manual make" that failed as well... I'm going to run both and get relevant logs
-
sarang
At any rate, this experience could be useful for updating build instructions for others :)
-
sarang
-
sarang
from fuzz target
-
iDunk
-
sarang
iDunk: running fuzz target once again w/ change
-
sarang
Failed, but made it farther at least :/
-
iDunk
What's the error ?
-
sarang
Pulling logs; one moment