Anssi Saari wrote:
>
> I tried and had the same error on my 3B+. I tried a couple of things to
> pass -Wno-incompatible-pointer-types but didn't get it right but then
> just tried passing -DBRLCAD_ENABLE_COMPILER_WARNINGS=OFF to cmake and
> that made it pass. That option removed at least -pedantic and
> -pedantic-errors from CFLAGS and/or CXXFLAGS and that warning was then
> just a warning.
>
> Tests pass except for two in the regress suite and they fail due to
> timeout. However, mged just crashes when I try to start it.
Using
cmake .. -DBRLCAD_ENABLE_STRICT=OFF -DBRLCAD_ENABLE_COMPILER_WARNINGS=OFF
-DCMAK
E_BUILD_TYPE=Release
and re-running make seems to have let the compile finish, but as you observe
mged won't run:
bob@raspberrypi:~/brlcad-code/build $ mged
BRL-CAD Release 7.32.1 Geometry Editor (MGED)
Mon, 28 Sep 2020 16:16:25 -0700, Compilation 2
bob@raspberrypi
ERROR: alloc size=0 (cnt=0, sz=4) dm name array
ERROR: bu_malloc(0)
ERROR: bu_malloc(0)
Saving stack trace to mged-5459-bomb.log
bu_semaphore_free(): pthread_mutex_destroy() failed on [6] of [10]
At this point I've updated sources and am starting over with
make clean. There were a few updates in libspr, perhaps that'll help.
Then again, maybe it'll make things worse 8-)
Thanks very much for posting!
bob prohaska
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|