← Back to team overview

kicad-developers team mailing list archive

Re: RTree implementation

 

Am 2018-10-23 15:36, schrieb Wayne Stambaugh:
On 10/23/2018 3:01 PM, Seth Hillbrand wrote:
Am 2018-10-23 14:44, schrieb Wayne Stambaugh:

I attempted to test this and ran into a dead end.  I was running into an
out of memory error attempting to load the pcbnew.kiface with a full
debug build so I had to build with -DBUILD_SMALL_DEBUG_FILES=ON to even run pcbnew.  I followed your steps above and when I attempted to import
the video demo netlist, kicad crashed spectacularly.

Thanks Wayne!  That's the fault I was concerned about.  If you rebuild
with -DCMAKE_CXX_FLAGS="-O2 -ffloat-store" and the same other options,
does the crash resolve?

-S

It doesn't crash with -ffloat-store enabled.  I didn't do any further
testing so I cannot say anything about it's robustness but it seems like
a workable solution.

OK, I've pushed this to both master and 5.0. Let me know if anyone sees any issues as a result.

Simon, I'm not sure what the equivalent flag for MSVC is, or even if this affects the MSVC builds. Any thoughts on this would be appreciated.

Best-
Seth


References