Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Phab compiling results in a SIGSEGV
Ref. No. QNX.000010145
Category(ies) Development
Issue When compiling a Photon application using Phab, everything works fine when the target is QNX4.  However if the target is Neutrino 2.X, a simple 'make' from the command line results in the following:

$ make
qcc -Vgcc_ntoppcbe -w5 -O -g  -I.  -c ../abmain.c
{standard input}: Assembler messages:
{standard input}:53865: bfd_make_empty_symbol: Memory exhausted

//1/usr/gcc/ntoppc/bin/as terminated (SIGSEGV) at 0007:00055BB9.
cc: /usr/gcc/ntoppc/bin/as caught signal 11
../abmain.c:89: output pipe has been closed
cc: /usr/gcc/lib/gcc-lib/ntoppc/2.8.1/cc1 error 33
make: *** [abmain.o] Error 1

Why is this happening?
Solution The clue here is the error message "Memory exhausted".  The system has run out of free RAM.  To fix this close one or more applications running on the system or upgrade the systems RAM.