M Starch

Results 271 comments of M Starch

If errors persist, please post them here.

I think the issue is the Pthreads queue implementation. It uses `new` internally, and back-up many of the Os-independent queue solutions we ship. https://github.com/nasa/fprime/blob/0cab90e238cff1b50c20f1e148a44cf8827a5bf8/Os/Pthreads/FIFOBufferQueue.cpp#L36

Anywhere an active component is being used, a queue is allocating new memory. Thus, it requires calling into `new`.

Yes, I agree. Any components using a queue will implicitly call `new` and `delete` in the creation of the queue.

We could build an Os-independent queue that is not dependent on dynamic memory, but it likely will waste memory.

This evening I will write-up my findings on memory constrained platforms.

`-Os` reduces code size. That is important for the size-overflow you are getting. ``` -ffunction-sections -fdata-sections ``` Add sections to allow for striping of unused functions and data. I don't...

``` -MMD ``` Creates dependency files.

I am not seeing that dependency in a Mac OSX build of the Fw::Assert object: ``` > objdump -t ./F-Prime/Fw/Types/CMakeFiles/Fw_Types.dir/Assert.o 0000000000000000 *UND* __ZTVN10__cxxabiv117__class_type_infoE 0000000000000000 *UND* __ZdlPv 0000000000000000 *UND* ___assert_rtn 0000000000000000...

No trace of a delete symbol on ARM either.