Jump to ID:
Core Development Tools

Project Home

Documents

Source Code

Discussions

Wiki

Project Info
Forum Topic - QNX 6.5 Static linking with libsocket crashes debugger: Page 1 of 2 (2 Items)
   
 
 
QNX 6.5 Static linking with libsocket crashes debugger  
Hello,

I have a project that uses a fully static link. The project runs fine on the target, but if I try to launch it with the 
debugger, I get an error: Can't access memory at address 0x8144564.

If I dynamically link, the project launches fine via the debugger.

I need a fully static link for now because some of the targets do not have the newer libraries like libstdc++.so.16 (I'm
 using GCC 4.6) and I don't have control over the targets.

I tried using the official QNX 6.5 setup w/GCC 4.3 and the same problem occurs. I did not try QNX 6.4.1.

I would really like to be able to debug and build with the same configuration.

Thanks in advance,

Dave.